INNER CODE UNIT · Rust

COMMITMENT_HASH_LEN

orion-rs/orion · src/hazardous/dsa/ml_dsa/internal/mod.rs:95

    const COMMITMENT_HASH_LEN: usize = Self::LAMBDA / 4;
    /// 32 * c, where c = 1 + bitlen (γ1 − 1)
    const CLEN: usize;

    /// Barret M for constant-time Decompose().
    const DECOMPOSE_BARRETT_M: u32;
    /// Barret shift for constant-time Decompose().
    const DECOMPOSE_BARRETT_SHIFT: u32 = 24; // fits all three paramsets
    /// Constant-time Decompose().
    const DECOMPOSE_W1_MAX: u32;

    /// bytes used to encode polynomial as byte signature
    const Z_BITPACK_SIZE: usize;

    /// Size of private signing key in bytes.
    const PRIVATE_KEY_SIZE: usize;
    /// Size of public verification key in bytes.
    const PUBLIC_KEY_SIZE: usize;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…