Get Size Of XMSS Signature State

Get the XMSS signature state size (bytes).

Syntax

IppStatus ippsXMSSSignatureStateGetSize (Ipp32s* pSize, IppsXMSSAlgo OIDAlgo);

Include Files

ippcp.h

Parameters

pSize

Pointer to the signature state size.

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 signature state that is defined by OIDAlgo. The result is stored to *pSize.

Note

Important

This is a Preview Feature. You need to enable the IPPCP_PREVIEW_XMSS macro to use the feature.

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.

ippStsBadArgErr

OIDAlgo < 1 or OIDAlgo > the maximum value for IppsXMSSAlgo.