Trait nettle::ecc::Curve

source ·
pub trait Curve {
    // Required method
    unsafe fn get_curve() -> *const ecc_curve;

    // Provided method
    unsafe fn bit_size() -> u32 { ... }
}
Expand description

Elliptic curve for ECDSA.

Required Methods§

source

unsafe fn get_curve() -> *const ecc_curve

Returns a pointer to the Nettle curve structure.

Provided Methods§

source

unsafe fn bit_size() -> u32

Returns the size of the underlying groups prime in bits.

Implementors§