ippsMLKEM_Init#

Initializes IppsMLKEMState for the further ML-KEM computations.

Syntax#

IppStatus ippsMLKEM_Init(IppsMLKEMState* pMLKEMCtx, IppsMLKEMParamSet schemeType);

Include Files#

ippcp.h

Parameters#

pMLKEMCtx

Pointer to the ML-KEM state.

schemeType

Parameter specifying the scheme type. See Supported ML-KEM parameters for more information.

Description#

The function initializes IppsMLKEMState for the further ML-KEM computations.

Note

Important

The API family is supported in experimental mode. To use the functions, users need to define the IPPCP_PREVIEW_ML_KEM macro before including the ippcp.h header file. See Preview Features for more details.

Return Values#

ippStsNoErr

Indicates no error. Any other value indicates an error or warning.

ippStsNullPtrErr

pMLKEMCtx is a NULL pointer.

ippStsBadArgErr

schemeType is not supported.