Get Size Of Temporary Buffer
Get the size of the temporary buffer that is required for
the ippsLMSVerify
function (bytes).
Syntax
IppStatus ippsLMSBufferGetSize (Ipp32s* pSize,
Ipp32s maxMessageLength,
const IppsLMSAlgoType OIDAlgo);
Include Files
ippcp.h
Parameters
pSize |
Pointer to the signature state size. |
maxMessageLength |
Maximum length of the message that needs to be verified. It can be the maximum length of all messages that can potentially be passed to the verification function. |
OIDAlgo |
LMS Algorithm ID. It defines a set of LMS parameters. See Supported LMS Algorithms for more information. |
Description
This function gets the size of the temporary buffer.
The result is stored to *pSize
.
Note
Important
You need to enable the IPPCP_PREVIEW_LMS
macro to use the feature.
For more information, see Preview Features.
Return Values
ippStsNoErr |
Indicates no error. All single operations executed without errors. Any other value indicates an error or warning. |
ippStsNullPtrErr |
|
ippStsLengthErr |
|
ippStsBadArgErr |
|