INNER CODE UNIT · Rust

b

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

            let b = z[4 * i + 1].bitpack_gamma1_offset::<Self>();
            let c = z[4 * i + 2].bitpack_gamma1_offset::<Self>();
            let d = z[4 * i + 3].bitpack_gamma1_offset::<Self>();

            o[0] = a as u8;
            o[1] = (a >> 8) as u8;
            o[2] = ((a >> 16) | (b << 2)) as u8;
            o[3] = (b >> 6) as u8;
            o[4] = ((b >> 14) | (c << 4)) as u8;
            o[5] = (c >> 4) as u8;
            o[6] = ((c >> 12) | (d << 6)) as u8;
            o[7] = (d >> 2) as u8;
            o[8] = (d >> 10) as u8;
        }
    }
}

#[derive(Debug, PartialEq, Clone)]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…