Visible to Intel only — GUID: GUID-AF33C12F-4119-4B05-91A6-48FF0DF65207
Visible to Intel only — GUID: GUID-AF33C12F-4119-4B05-91A6-48FF0DF65207
Get Size Of LMS Public Key
Get the LMS public key state size (bytes).
Syntax
IppStatus ippsLMSSPublicKeyStateGetSize (Ipp32s* pSize, const IppsLMSAlgoType OIDAlgo);
Include Files
ippcp.h
Parameters
pSize |
Pointer to the public key state size. |
OIDAlgo |
LMS Algorithm ID. It defines a set of LMS parameters. See Supported LMS Algorithms for more information. |
Description
This function gets the size of the public key state that is defined by OIDAlgo. The result is stored to *pSize.
Important
This is a Preview Feature. You need to enable the IPPCP_PREVIEW_LMS 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.lmotsOIDAlgo < the minimum value for IppsLMOTSAlgo, OIDAlgo.lmotsOIDAlgo > the maximum value for IppsLMOTSAlgo, OIDAlgo.prmLmsAlg < the minimum value for IppsLMSAlgo or OIDAlgo.prmLmsAlg > the maximum value for IppsLMSAlgo. |