Struct ntrumls::ffi::PQParamSet
[−]
[src]
#[repr(C)]pub struct PQParamSet { pub id: PQParamSetID, pub name: *mut c_char, pub oid: [uint8_t; 3], pub n_bits: uint8_t, pub q_bits: uint8_t, pub n: uint16_t, pub p: int8_t, pub q: int64_t, pub b_s: int64_t, pub b_t: int64_t, pub norm_bound_s: int64_t, pub norm_bound_t: int64_t, pub d1: uint8_t, pub d2: uint8_t, pub d3: uint8_t, pub padded_n: uint16_t, }
Fields
id: PQParamSetID
name: *mut c_char
oid: [uint8_t; 3]
n_bits: uint8_t
q_bits: uint8_t
n: uint16_t
p: int8_t
q: int64_t
b_s: int64_t
b_t: int64_t
norm_bound_s: int64_t
norm_bound_t: int64_t
d1: uint8_t
d2: uint8_t
d3: uint8_t
padded_n: uint16_t
Trait Implementations
impl Clone for PQParamSet[src]
fn clone(&self) -> PQParamSet[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