[][src]Trait nettle::ecc::Curve

pub trait Curve {
    unsafe fn get_curve() -> *const ecc_curve;

    unsafe fn bit_size() -> u32 { ... }
}

Elliptic curve for ECDSA.

Required methods

unsafe fn get_curve() -> *const ecc_curve

Returns a pointer to the Nettle curve structure.

Loading content...

Provided methods

unsafe fn bit_size() -> u32

Returns the size of the underlying groups prime in bits.

Loading content...

Implementors

impl Curve for Secp192r1[src]

impl Curve for Secp224r1[src]

impl Curve for Secp256r1[src]

impl Curve for Secp384r1[src]

impl Curve for Secp521r1[src]

Loading content...