Skip to main content

CURVE448_P

Constant CURVE448_P 

Source
pub const CURVE448_P: [u64; 7];
Expand description

Curve448 / Ed448 field prime: p = 2^448 - 2^224 - 1 (RFC 7748).

A Solinas-like prime where bits 0..223 and 225..447 are set, and bit 224 is cleared. Used by super::x448 (Montgomery ECDH on Curve448) and reserved for the eventual Ed448 implementation in super::eddsa. Like CURVE25519_P, this is a Montgomery / Edwards prime that does not fit the short-Weierstrass Curve trait and is exposed directly to the dedicated X448 / Ed448 modules.