Expand description
Minimal scalar representation and primitives used by the fast backend.
This module deliberately contains only the operations required by the fixed-64 reducer and recoder. Keeping them here makes the hardware backend a self-contained crate without pulling in the older serial scalar engine.
Structs§
- Scalar
Words - A scalar represented as four little-endian 64-bit words.
Functions§
- scalar_
ge_ kernel - Compare two four-word unsigned values.
- scalar_
l_ kernel - Return the Ed25519 group order
lin synthesizable code. - scalar_
shift_ in_ kernel - Shift a four-word value left and insert one least-significant bit.
- scalar_
sub_ kernel - Subtract two four-word values with propagated borrow.
- scalar_
zero_ kernel - Return scalar zero in synthesizable code.