Skip to main content

mlkem_sample_a

Function mlkem_sample_a 

Source
pub fn mlkem_sample_a(
    seed: &[i64],
    idx_i: i64,
    idx_j: i64,
) -> Result<LogosSeq<i64>, String>
Expand description

The compiled form of LOGOS sampleA(seed, i, j) — expand matrix entry Â[i][j] from the 32-byte seed ρ via SHAKE128, with the XOF and rejection handled in one verified step.