Get Size Of Temporary Buffer#
Get the size for the temporary buffer (bytes).
Syntax#
IppStatus ippsLMSBufferGetSize (Ipp32s* pSize,
Ipp32s maxMessageLength,
const IppsLMSAlgoType OIDAlgo);
IppStatus ippsLMSKeyGenBufferGetSize (Ipp32s* pSize, const IppsLMSAlgoType OIDAlgo);
IppStatus ippsLMSSignBufferGetSize (Ipp32s* pSize,
Ipp32s maxMessageLength,
const IppsLMSAlgoType OIDAlgo);
IppStatus ippsLMSVerifyBufferGetSize (Ipp32s* pSize,
Ipp32s maxMessageLength,
const IppsLMSAlgoType OIDAlgo);
Include Files#
ippcp.h
Parameters#
pSize |
Pointer to the temporary buffer size. |
maxMessageLength |
Maximum length of the message.
It can be the maximum length of all messages that can potentially
be passed to the corresponding function, e.g.
|
OIDAlgo |
LMS Algorithm ID. It defines a set of LMS parameters. See Supported LMS Algorithms for more information. |
Description#
Note
ippsLMSBufferGetSize is deprecated. Please refer to
Deprecated Functions
section for the recommendations for transition.
ippsLMSKeyGenBufferGetSize gets the size of the temporary buffer required for ippsLMSKeyGen.
ippsLMSSignBufferGetSize gets the size of the temporary buffer required for ippsLMSSign.
ippsLMSVerifyBufferGetSize gets the size of the temporary buffer required for ippsLMSVerify.
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 |
|