xilsecure
Vitis Drivers API Documentation
XSecure_LmsDataDigestFixedFields_ Union Reference

Temporary buffer, used to send prefix fields to calculate digest for data to be authenticate. More...

Detailed Description

Temporary buffer, used to send prefix fields to calculate digest for data to be authenticate.

Size = I (16) + q (4) + D_MESG (2) + C (32) = 54 Bytes

Field Documentation

u8 XSecure_LmsDataDigestFixedFields_::C[XSECURE_LMS_C_FIELD_SIZE]

C - Randomizer per data Size - 32 Byte, 22 to 53 bytes.

Referenced by XSecure_HssInit().

u8 XSecure_LmsDataDigestFixedFields_::D_MESG[XSECURE_LMS_D_MESG_FIELD_SIZE]

D_MESG - XSECURE_D_MESG Size - 2 Bytes, 20 to 21 bytes.

Referenced by XSecure_LmsHashMessage().

u8 XSecure_LmsDataDigestFixedFields_::I[XSECURE_LMS_I_FIELD_SIZE]

I - Merkle Tree's unique identifier (uniformly random 16-byte string) Size - 16 bytes, 0 to 15 bytes.

Referenced by XSecure_HssInit(), and XSecure_LmsSignatureVerification().

u32 XSecure_LmsDataDigestFixedFields_::q

q - The leaf number q, goes from 0 on left most leaf to right most (2^h -1), in a single tree Size - 4 bytes, 16 to 19 bytes

Referenced by XSecure_HssInit(), and XSecure_LmsSignatureVerification().