Skip to main content

fold_keys

Function fold_keys 

Source
pub(crate) const fn fold_keys(bits: u64) -> [u64; 2]
Expand description

The constants that fold a 128-bit accumulator forward by bits bits with two carry-less multiplies: (x^(bits + 32), x^(bits - 32)) modulo p(x), reflected, as 33-bit values (the K1..K4 of specialized/pclmulqdq.rs, which a test checks).