Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
MLDSA_formatted_message_s Struct Reference

Public Attributes

uint8_t prefix [2U+255U+MLDSA_PREHASH_OID_LEN]
 
size_t prefix_len
 
const uint8_t * payload
 
size_t payload_len
 

Detailed Description

Format structure of M' = 0x01 (1b)|| context_len (1b) || context (255b) || OID || PH_M. (FIPS 204, Section 5.4)

Definition at line 76 of file cx_mldsa.c.

Member Data Documentation

◆ payload

const uint8_t* MLDSA_formatted_message_s::payload

Pre-hash PH_M

Definition at line 80 of file cx_mldsa.c.

◆ payload_len

size_t MLDSA_formatted_message_s::payload_len

< Pre-hash length

Definition at line 81 of file cx_mldsa.c.

◆ prefix

uint8_t MLDSA_formatted_message_s::prefix[2U+255U+MLDSA_PREHASH_OID_LEN]

Prefix = 0x01 (1b)|| context_len (1b) || context (255b) || OID

Definition at line 77 of file cx_mldsa.c.

◆ prefix_len

size_t MLDSA_formatted_message_s::prefix_len

Prefix length

Definition at line 79 of file cx_mldsa.c.


The documentation for this struct was generated from the following file: