Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

MLDSA65

ML-DSA-65 (Module-Lattice-Based Digital Signature Algorithm, 65 parameter set) as specified in NIST FIPS 204.

This is a post-quantum signature scheme providing NIST security category 3, which is roughly equivalent to the security of SHA-384 or AES-192.

Key sizes:

This parameter set offers higher security than ML-DSA-44 at the cost of larger keys and signatures.

ml_dsa.MLDSA65
pub const MLDSA65 = MLDSAImpl(.

File

lib/std/crypto/ml_dsa.zig:74

Code

pub const MLDSA65 = MLDSAImpl(.{
    .name = "ML-DSA-65",
    .k = 6,
    .l = 5,
    .eta = 4,
    .omega = 55,
    .tau = 49,
    .gamma1_bits = 19,
    .gamma2 = 261888, // (Q-1)/32
    .tr_size = 64,
    .ctilde_size = 48,
})