Skip to main content

min_prehash_len

Function min_prehash_len 

Source
pub fn min_prehash_len<C: EcdsaCurve>() -> usize
Expand description

The narrowest digest ECDSA’s verify_prehash accepts on a curve. The narrowest digest verify_prehash accepts on C: as wide as the order, or SHA-512’s 64 bytes where the order is wider (P-521).