XMSS Key Generation#
Performs the XMSS private and public keys generation.
Syntax#
IppStatus ippsXMSSKeyGen (IppsXMSSPrivateKeyState* pPrvKey,
IppsXMSSPublicKeyState* pPubKey,
IppBitSupplier rndFunc,
void* pRndParam,
Ipp8u* pBuffer);
Include Files#
ippcp.h
Parameters#
pPrvKey |
Pointer to the initialized |
pPubKey |
Pointer to the initialized |
rndFunc |
Pointer to the random number generator function that is used for private key generation.
The function should be defined as:
|
pRndParam |
Pointer to the user-defined parameter for the random number generator function. It can be a NULL pointer. |
pBuffer |
Pointer to the temporary buffer. Size is greater or equal to
the value returned by |
Description#
This function generates private and public XMSS keys.
pPrvKey
and pPubKey
are output parameters.
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 |
|