nrfxlib API 3.3.99
Loading...
Searching...
No Matches

ML-DSA-44 signature algorithm based on NIST PQC standard. More...

Files

file  ocrypto_ml_dsa44.h
 ML-DSA-44 (FIPS-204 variant of CRYSTALS-Dilithium) API.
 

Macros

#define ocrypto_ml_dsa44_PK_SIZE   (1312)
 
#define ocrypto_ml_dsa44_SK_SIZE   (2560)
 
#define ocrypto_ml_dsa44_SIG_SIZE   (2420)
 

Functions

static int ocrypto_ml_dsa44_key_pair (ocrypto_ml_dsa44_ctx *ctx, uint8_t sk[(2560)], uint8_t pk[(1312)], const uint8_t zeta[32])
 
static int ocrypto_ml_dsa44_sign (ocrypto_ml_dsa44_ctx *ctx, uint8_t sig[(2420)], const uint8_t *m, size_t mlen, const uint8_t *ctx_str, size_t ctx_len, const uint8_t sk[(2560)], const uint8_t rnd[32])
 
static int ocrypto_ml_dsa44_sign_hash (ocrypto_ml_dsa44_ctx *ctx, uint8_t sig[(2420)], const uint8_t *hash, size_t hash_len, const uint8_t oid[11], const uint8_t *ctx_str, size_t ctx_len, const uint8_t sk[(2560)], const uint8_t rnd[32])
 
static int ocrypto_ml_dsa44_verify (ocrypto_ml_dsa44_ctx *ctx, const uint8_t sig[(2420)], const uint8_t *m, size_t mlen, const uint8_t *ctx_str, size_t ctx_len, const uint8_t pk[(1312)])
 
static int ocrypto_ml_dsa44_verify_hash (ocrypto_ml_dsa44_ctx *ctx, const uint8_t sig[(2420)], const uint8_t *hash, size_t hash_len, const uint8_t oid[11], const uint8_t *ctx_str, size_t ctx_len, const uint8_t pk[(1312)])
 

Detailed Description

ML-DSA-44 signature algorithm based on NIST PQC standard.

ML-DSA-44 is a specific implementation of CRYSTALS-Dilithium, a PQC digital signature scheme. It is based on learning with errors (LWE) and is designed to be resistant against quantum attacks.

See also
FIPS - Module-Lattice-Based Digital Signature Standard