INNER CODE UNIT · Rust

DECOMPOSE_BARRETT_SHIFT

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

    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;
    /// Size of public signature in bytes.
    const SIGNATURE_SIZE: usize;

    /// FIPS-204, Algorithm 17.
    fn bitpack_ring_element_eta(w: &RingElement, out: &mut [u8]);

    /// FIPS-204, Algorithm 19.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…