Skip to main content

lookup_ct

Function lookup_ct 

Source
pub fn lookup_ct(win: &[AffinePoint], k: i32) -> AffinePoint
Expand description

Constant-time window lookup. Same semantics as lookup but every per-entry assignment and the final u negation route through Fp5::ct_select, so neither the table walk nor the sign branch leaks the secret digit. Used by Point::scalar_mul_ct.