pub trait Curve { // Required method unsafe fn get_curve() -> *const ecc_curve; // Provided method unsafe fn bit_size() -> u32 { ... } }
Elliptic curve for ECDSA.
Returns a pointer to the Nettle curve structure.
Returns the size of the underlying groups prime in bits.