Struct tomcrypt_sys::ecc_key [] [src]

#[repr(C)]
pub struct ecc_key { pub type_: c_int, pub idx: c_int, pub dp: *const ltc_ecc_set_type, pub pubkey: ecc_point, pub k: *mut c_void, }

An ECC key

Fields

Type of key, PK_PRIVATE or PK_PUBLIC

Index into the ltc_ecc_sets[] for the parameters of this curve; if -1, then this key is using user supplied curve in dp

pointer to domain parameters; either points to NIST curves (identified by idx >= 0) or user supplied curve

The public key

The private key

Trait Implementations

impl Debug for ecc_key
[src]

[src]

Formats the value using the given formatter.

impl Copy for ecc_key
[src]

impl Clone for ecc_key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more