Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Macros
ML-DSA-65 Parameters (k=6, l=5, eta=4)

Macros

#define MLDSA65_K   6U
 
#define MLDSA65_L   5U
 
#define MLDSA65_ETA   4U
 
#define MLDSA65_TAU   49U
 
#define MLDSA65_BETA   196U
 
#define MLDSA65_GAMMA1   (1 << 19)
 
#define MLDSA65_GAMMA2   ((MLDSA_Q - 1) / 32)
 
#define MLDSA65_OMEGA   55U
 
#define MLDSA65_CTILDEBYTES   48U
 
#define MLDSA65_POLYETA_PACKEDBYTES   128U
 
#define MLDSA65_POLYZ_PACKEDBYTES   640U
 
#define MLDSA65_POLYW1_PACKEDBYTES   128U
 
#define MLDSA65_POLYVECH_PACKEDBYTES   (MLDSA65_OMEGA + MLDSA65_K)
 
#define MLDSA65_PUBLICKEYBYTES    (MLDSA_SEEDBYTES + MLDSA65_K * MLDSA_POLYT1_PACKEDBYTES)
 
#define MLDSA65_SECRETKEYBYTES
 
#define MLDSA65_SIGBYTES
 

Detailed Description

Macro Definition Documentation

◆ MLDSA65_BETA

#define MLDSA65_BETA   196U

tau * eta.

Definition at line 92 of file lcx_mldsa.h.

◆ MLDSA65_CTILDEBYTES

#define MLDSA65_CTILDEBYTES   48U

Challenge hash size (bytes).

Definition at line 97 of file lcx_mldsa.h.

◆ MLDSA65_ETA

#define MLDSA65_ETA   4U

Secret key range parameter.

Definition at line 90 of file lcx_mldsa.h.

◆ MLDSA65_GAMMA1

#define MLDSA65_GAMMA1   (1 << 19)

y coefficient range.

Definition at line 93 of file lcx_mldsa.h.

◆ MLDSA65_GAMMA2

#define MLDSA65_GAMMA2   ((MLDSA_Q - 1) / 32)

Low-order rounding range.

Definition at line 94 of file lcx_mldsa.h.

◆ MLDSA65_K

#define MLDSA65_K   6U

Module dimension k.

Definition at line 88 of file lcx_mldsa.h.

◆ MLDSA65_L

#define MLDSA65_L   5U

Module dimension l.

Definition at line 89 of file lcx_mldsa.h.

◆ MLDSA65_OMEGA

#define MLDSA65_OMEGA   55U

Max number of ones in hint.

Definition at line 95 of file lcx_mldsa.h.

◆ MLDSA65_POLYETA_PACKEDBYTES

#define MLDSA65_POLYETA_PACKEDBYTES   128U

Packed eta polynomial (bytes).

Definition at line 98 of file lcx_mldsa.h.

◆ MLDSA65_POLYVECH_PACKEDBYTES

#define MLDSA65_POLYVECH_PACKEDBYTES   (MLDSA65_OMEGA + MLDSA65_K)

61 bytes.

Definition at line 102 of file lcx_mldsa.h.

◆ MLDSA65_POLYW1_PACKEDBYTES

#define MLDSA65_POLYW1_PACKEDBYTES   128U

Packed w1 polynomial (bytes).

Definition at line 100 of file lcx_mldsa.h.

◆ MLDSA65_POLYZ_PACKEDBYTES

#define MLDSA65_POLYZ_PACKEDBYTES   640U

Packed z polynomial (bytes).

Definition at line 99 of file lcx_mldsa.h.

◆ MLDSA65_PUBLICKEYBYTES

#define MLDSA65_PUBLICKEYBYTES    (MLDSA_SEEDBYTES + MLDSA65_K * MLDSA_POLYT1_PACKEDBYTES)

1952 bytes.

Definition at line 105 of file lcx_mldsa.h.

◆ MLDSA65_SECRETKEYBYTES

#define MLDSA65_SECRETKEYBYTES
Value:
#define MLDSA65_L
Definition lcx_mldsa.h:89
#define MLDSA65_POLYETA_PACKEDBYTES
Definition lcx_mldsa.h:98
#define MLDSA65_K
Definition lcx_mldsa.h:88
#define MLDSA_TRBYTES
Definition lcx_mldsa.h:42
#define MLDSA_POLYT0_PACKEDBYTES
Definition lcx_mldsa.h:46
#define MLDSA_SEEDBYTES
Definition lcx_mldsa.h:40

4032 bytes.

Definition at line 110 of file lcx_mldsa.h.

◆ MLDSA65_SIGBYTES

#define MLDSA65_SIGBYTES
Value:
#define MLDSA65_CTILDEBYTES
Definition lcx_mldsa.h:97
#define MLDSA65_POLYVECH_PACKEDBYTES
Definition lcx_mldsa.h:102
#define MLDSA65_POLYZ_PACKEDBYTES
Definition lcx_mldsa.h:99

3309 bytes.

Definition at line 114 of file lcx_mldsa.h.

◆ MLDSA65_TAU

#define MLDSA65_TAU   49U

Challenge weight.

Definition at line 91 of file lcx_mldsa.h.