Visible to Intel only — GUID: GUID-CD14D438-316C-477E-9BC0-D05BB7E63A84
Visible to Intel only — GUID: GUID-CD14D438-316C-477E-9BC0-D05BB7E63A84
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. |