Skip to main content

ed25519_sign_kernel

Function ed25519_sign_kernel 

Source
pub fn ed25519_sign_kernel<const NFB: usize, const NSHA: usize, const NSC: usize, const NCP: usize>(
    _cr: ClockReset,
    i: CachedSignIn,
    q: Ed25519SignCoreQ<NFB, NSHA, NSC, NCP>,
) -> (CachedSignOut, Ed25519SignCoreD<NFB, NSHA, NSC, NCP>)
Expand description

Port adapter for Ed25519SignCore.

Purely combinational: inputs go to the controller unchanged, outputs come back with in_flight saturated to 8 bits. The controller’s shared-SHA input is tied idle because it is built with SH = 0 and ignores it.