Struct bearssl::br_sslrec_in_chapol_class_
[−]
[src]
#[repr(C)]pub struct br_sslrec_in_chapol_class_ { pub inner: br_sslrec_in_class, pub init: Option<unsafe extern "C" fn(_: *mut *const br_sslrec_in_chapol_class, _: br_chacha20_run, _: br_poly1305_run, _: *const c_void, _: *const c_void)>, }
Fields
inner: br_sslrec_in_class
\brief Superclass, as first vtable field.
init: Option<unsafe extern "C" fn(_: *mut *const br_sslrec_in_chapol_class, _: br_chacha20_run, _: br_poly1305_run, _: *const c_void, _: *const c_void)>
\brief Engine initialisation method.
This method sets the vtable field in the context.
\param ctx context to initialise. \param ichacha ChaCha20 implementation. \param ipoly Poly1305 implementation. \param key secret key (32 bytes). \param iv static IV (12 bytes).
Trait Implementations
impl Debug for br_sslrec_in_chapol_class_
[src]
impl Copy for br_sslrec_in_chapol_class_
[src]
impl Clone for br_sslrec_in_chapol_class_
[src]
fn clone(&self) -> br_sslrec_in_chapol_class_
[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