Skip to main content

scalable_sign_kernel

Function scalable_sign_kernel 

Source
pub fn scalable_sign_kernel<const NFB: usize, const NSHA: usize, const NSC: usize, const NCP: usize, const CB: usize, const SH: usize>(
    _cr: ClockReset,
    i: ScalableSignIn,
    q: Q<NFB, NSHA, NSC, NCP, CB, SH>,
) -> (ScalableSignOut, D<NFB, NSHA, NSC, NCP, CB, SH>)
where W<CB>: BitWidth,
Expand description

State transition for ScalableSignCore.

One pass per cycle through every step, in the order below. Later steps read the r (current) registers and so see the state before this cycle’s earlier steps, except where they explicitly use n or a local such as credits, free_count or the *_free flags, which carry this cycle’s earlier decisions forward.