Visible to Intel only — GUID: GUID-26C638CE-0D62-4D7E-93D1-18980DDDD109
Visible to Intel only — GUID: GUID-26C638CE-0D62-4D7E-93D1-18980DDDD109
Get Size Of Temporary Buffer
Get the size for the temporary buffer that is required for the ippsXMSSVerify function (bytes).
Syntax
IppStatus ippsXMSSBufferGetSize (Ipp32s* pSize,
Ipp32s maxMessageLength,
IppsXMSSAlgo 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 of all messages’ length that can potentially be passed to the verification function. |
OIDAlgo |
XMSS Algorithm ID. It defines a set of XMSS parameters. See Supported XMSS Algorithms for more information. |
Description
This function gets the size of the temporary buffer. The result is stored to *pSize.
Important
You need to enable the IPPCP_PREVIEW_XMSS 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 |
pSize is a NULL pointer. |
ippStsLengthErr |
maxMessageLength < 1 or maxMessageLength < IPP_MAX_32S - (10 + len) * n, where n, len are WOTS+ parameters. |
ippStsBadArgErr |
OIDAlgo < 1 or OIDAlgo > the maximum value for IppsXMSSAlgo. |