Initialize XMSS Signature State#
Syntax#
IppStatus ippsXMSSInitSignature (IppsXMSSAlgo OIDAlgo, IppsXMSSSignatureState* pSign);
Include Files#
ippcp.h
Parameters#
OIDAlgo |
XMSS Algorithm ID. It defines a set of XMSS parameters. See Supported XMSS Algorithms for more information. |
pSign |
Pointer to the |
Description#
This function initializes the XMSS signature state. The scheme of the signature is shown below:
+---------------------------------+
| |
| index idx_sig | 4 bytes
| |
+---------------------------------+
| |
| randomness r | n bytes
| |
+---------------------------------+
| |
| WOTS+ signature sig_ots | len * n bytes
| |
+---------------------------------+
| |
| authorization path | h * n bytes
| |
+---------------------------------+
n
, len
are WOTS+ parameters, h
is the XMSS tree height.
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 |
|
ippStsBadArgErr |
|