Struct bearssl::br_ec_private_key
[−]
[src]
#[repr(C)]pub struct br_ec_private_key { pub curve: c_int, pub x: *mut c_uchar, pub xlen: usize, }
\brief Structure for an EC private key.
The private key is an integer modulo the curve subgroup order. The encoding below tolerates extra leading zeros. In general, it is recommended that the private key has the same length as the curve subgroup order.
Fields
curve: c_int
\brief Identifier for the curve used by this key.
x: *mut c_uchar
\brief Private key (integer, unsigned big-endian encoding).
xlen: usize
\brief Private key length (in bytes).
Trait Implementations
impl Debug for br_ec_private_key
[src]
impl Copy for br_ec_private_key
[src]
impl Clone for br_ec_private_key
[src]
fn clone(&self) -> br_ec_private_key
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more