Skip to main content

pack_two

Function pack_two 

Source
pub fn pack_two(base: &[i8; 64], key: &[i8; 64]) -> [b6; 128]
Expand description

Host-side helper: base-point digits in slots 0..54 and key digits in slots 64..118.

Panics if either scalar has nonzero digits at or above DIGITS. Each slot is |d| in bits 4..0 with bit 5 set for negative d.