Struct bearssl::br_sslrec_chapol_context [] [src]

#[repr(C)]
pub struct br_sslrec_chapol_context { pub vtable: br_sslrec_chapol_context__bindgen_ty_1, pub seq: u64, pub key: [c_uchar; 32], pub iv: [c_uchar; 12], pub ichacha: br_chacha20_run, pub ipoly: br_poly1305_run, }

\brief Context structure for processing records with ChaCha20+Poly1305.

The same context structure is used for encrypting and decrypting.

The first field points to the vtable. The other fields are opaque and shall not be accessed directly.

Fields

Trait Implementations

impl Copy for br_sslrec_chapol_context
[src]

impl Clone for br_sslrec_chapol_context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more