xilsecure
Vitis Drivers API Documentation
xsecure_lms.c File Reference

Overview

This file contains definitions and interface used in LMS.

MODIFICATION HISTORY:
Ver   Who  Date        Changes
----- ---- -------- ----------------------------------------------------------
5.4   kal  07/24/24  Initial release
Note

Functions

int XSecure_LmsLookupParamSet (XSecure_LmsType Type, XSecure_LmsParam **Parameters)
 This function returns the parameters for the type of LMS type. More...
 

Function Documentation

int XSecure_LmsLookupParamSet ( XSecure_LmsType  Type,
XSecure_LmsParam **  Parameters 
)

This function returns the parameters for the type of LMS type.

Parameters
TypeXSecure_LmsType, type of OTS algorithm selected
ParametersPointer to array location where all predefined parameter values are present XSecure_LmsParam
Returns
  • XST_SUCCESS - Valid type is passed, and parameters are assigned
  • XST_FAILURE - If not a valid type is passed

160U

320U

480U

640U

160U

320U

480U

640U

References XSECURE_LMS_NOT_SUPPORTED, XSECURE_LMS_SHA256_M32_H10, XSECURE_LMS_SHA256_M32_H15, XSECURE_LMS_SHA256_M32_H20, XSECURE_LMS_SHAKE_M32_H10, XSECURE_LMS_SHAKE_M32_H15, XSECURE_LMS_SHAKE_M32_H20, XSECURE_LMS_SHAKE_M32_H5, XSECURE_LMS_TYPE_LOOKUP_GLITCH_ERROR, XSECURE_LMS_TYPE_MAX_SUPPORTED, XSECURE_LMS_TYPE_UNSUPPORTED_ERROR, XSECURE_SHA2_256_HASH_LEN, XSECURE_SHAKE_256, and XSECURE_SHAKE_256_HASH_LEN.

Referenced by XSecure_GetLmsHashAlgo(), XSecure_HssFinish(), XSecure_HssInit(), and XSecure_LmsSignatureVerification().