Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Macros | Typedefs | Enumerations
Pre-hash identifiers for HashML-DSA (FIPS 204, Section 5.4)

Macros

#define MLDSA_PREHASH_OID_LEN   11U
 

Typedefs

typedef enum MLDSA_prehash_e MLDSA_prehash_t
 Hash algorithm selector for HashML-DSA pre-hash signatures.
 

Enumerations

enum  MLDSA_prehash_e {
  MLDSA_PREHASH_SHA256 = 0 , MLDSA_PREHASH_SHA512 , MLDSA_PREHASH_SHA3_256 , MLDSA_PREHASH_SHA3_512 ,
  MLDSA_PREHASH_SHAKE128 , MLDSA_PREHASH_SHAKE256 , MLDSA_NUM_PREHASH_ALGS
}
 Hash algorithm selector for HashML-DSA pre-hash signatures. More...
 

Detailed Description

Macro Definition Documentation

◆ MLDSA_PREHASH_OID_LEN

#define MLDSA_PREHASH_OID_LEN   11U

Length of a pre-hash algorithm OID (DER-encoded, bytes).

Definition at line 275 of file lcx_mldsa.h.

Typedef Documentation

◆ MLDSA_prehash_t

Hash algorithm selector for HashML-DSA pre-hash signatures.

Enumeration Type Documentation

◆ MLDSA_prehash_e

Hash algorithm selector for HashML-DSA pre-hash signatures.

Enumerator
MLDSA_PREHASH_SHA256 

SHA-256 (32-byte output).

MLDSA_PREHASH_SHA512 

SHA-512 (64-byte output).

MLDSA_PREHASH_SHA3_256 

SHA3-256 (32-byte output).

MLDSA_PREHASH_SHA3_512 

SHA3-512 (64-byte output).

MLDSA_PREHASH_SHAKE128 

SHAKE128 (32-byte output).

MLDSA_PREHASH_SHAKE256 

SHAKE256 (64-byte output).

MLDSA_NUM_PREHASH_ALGS 

Number of supported algorithms.

Definition at line 280 of file lcx_mldsa.h.