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

Macros

#define MLDSA44_K   4U
 
#define MLDSA44_L   4U
 
#define MLDSA44_ETA   2U
 
#define MLDSA44_TAU   39U
 
#define MLDSA44_BETA   78U
 
#define MLDSA44_GAMMA1   (1 << 17)
 
#define MLDSA44_GAMMA2   ((MLDSA_Q - 1) / 88)
 
#define MLDSA44_OMEGA   80U
 
#define MLDSA44_CTILDEBYTES   32U
 
#define MLDSA44_POLYETA_PACKEDBYTES   96U
 
#define MLDSA44_POLYZ_PACKEDBYTES   576U
 
#define MLDSA44_POLYW1_PACKEDBYTES   192U
 
#define MLDSA44_POLYVECH_PACKEDBYTES   (MLDSA44_OMEGA + MLDSA44_K)
 
#define MLDSA44_PUBLICKEYBYTES    (MLDSA_SEEDBYTES + MLDSA44_K * MLDSA_POLYT1_PACKEDBYTES)
 
#define MLDSA44_SECRETKEYBYTES
 
#define MLDSA44_SIGBYTES
 

Detailed Description

Macro Definition Documentation

◆ MLDSA44_BETA

#define MLDSA44_BETA   78U

tau * eta.

Definition at line 58 of file lcx_mldsa.h.

◆ MLDSA44_CTILDEBYTES

#define MLDSA44_CTILDEBYTES   32U

Challenge hash size (bytes).

Definition at line 63 of file lcx_mldsa.h.

◆ MLDSA44_ETA

#define MLDSA44_ETA   2U

Secret key range parameter.

Definition at line 56 of file lcx_mldsa.h.

◆ MLDSA44_GAMMA1

#define MLDSA44_GAMMA1   (1 << 17)

y coefficient range.

Definition at line 59 of file lcx_mldsa.h.

◆ MLDSA44_GAMMA2

#define MLDSA44_GAMMA2   ((MLDSA_Q - 1) / 88)

Low-order rounding range.

Definition at line 60 of file lcx_mldsa.h.

◆ MLDSA44_K

#define MLDSA44_K   4U

Module dimension k.

Definition at line 54 of file lcx_mldsa.h.

◆ MLDSA44_L

#define MLDSA44_L   4U

Module dimension l.

Definition at line 55 of file lcx_mldsa.h.

◆ MLDSA44_OMEGA

#define MLDSA44_OMEGA   80U

Max number of ones in hint.

Definition at line 61 of file lcx_mldsa.h.

◆ MLDSA44_POLYETA_PACKEDBYTES

#define MLDSA44_POLYETA_PACKEDBYTES   96U

Packed eta polynomial (bytes).

Definition at line 64 of file lcx_mldsa.h.

◆ MLDSA44_POLYVECH_PACKEDBYTES

#define MLDSA44_POLYVECH_PACKEDBYTES   (MLDSA44_OMEGA + MLDSA44_K)

84 bytes.

Definition at line 68 of file lcx_mldsa.h.

◆ MLDSA44_POLYW1_PACKEDBYTES

#define MLDSA44_POLYW1_PACKEDBYTES   192U

Packed w1 polynomial (bytes).

Definition at line 66 of file lcx_mldsa.h.

◆ MLDSA44_POLYZ_PACKEDBYTES

#define MLDSA44_POLYZ_PACKEDBYTES   576U

Packed z polynomial (bytes).

Definition at line 65 of file lcx_mldsa.h.

◆ MLDSA44_PUBLICKEYBYTES

#define MLDSA44_PUBLICKEYBYTES    (MLDSA_SEEDBYTES + MLDSA44_K * MLDSA_POLYT1_PACKEDBYTES)

1312 bytes.

Definition at line 71 of file lcx_mldsa.h.

◆ MLDSA44_SECRETKEYBYTES

#define MLDSA44_SECRETKEYBYTES
Value:
#define MLDSA44_L
Definition lcx_mldsa.h:55
#define MLDSA44_POLYETA_PACKEDBYTES
Definition lcx_mldsa.h:64
#define MLDSA44_K
Definition lcx_mldsa.h:54
#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

2560 bytes.

Definition at line 76 of file lcx_mldsa.h.

◆ MLDSA44_SIGBYTES

#define MLDSA44_SIGBYTES
Value:
#define MLDSA44_CTILDEBYTES
Definition lcx_mldsa.h:63
#define MLDSA44_POLYVECH_PACKEDBYTES
Definition lcx_mldsa.h:68
#define MLDSA44_POLYZ_PACKEDBYTES
Definition lcx_mldsa.h:65

2420 bytes.

Definition at line 80 of file lcx_mldsa.h.

◆ MLDSA44_TAU

#define MLDSA44_TAU   39U

Challenge weight.

Definition at line 57 of file lcx_mldsa.h.