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

\brief Identifier for the curve used by this key.

\brief Private key (integer, unsigned big-endian encoding).

\brief Private key length (in bytes).

Trait Implementations

impl Debug for br_ec_private_key
[src]

[src]

Formats the value using the given formatter.

impl Copy for br_ec_private_key
[src]

impl Clone for br_ec_private_key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more