Skip to main content

mlkem_noise_batch_from_int

Function mlkem_noise_batch_from_int 

Source
pub fn mlkem_noise_batch_from_int(
    seed: &[i64],
    base: i64,
    count: i64,
) -> LogosSeq<Word16>
Expand description

mlkemNoiseBatch(seed, base, count)count·256 raw CBD_2 Word16 coefficients (nonces base..base+count, no NTT), the flat concatenation of count noise polynomials. The fast primitive the Logos mlkem768Keygen/mlkemEncrypt call once instead of count scalar mlkemPrfNoises — one 4-way SHAKE256 permutation covers four PRF streams (see [noise_batch_raw]).