Struct nettle_sys::chacha_poly1305_ctx
source · #[repr(C)]pub struct chacha_poly1305_ctx {
pub chacha: chacha_ctx,
pub poly1305: poly1305_ctx,
pub s: nettle_block16,
pub auth_size: u64,
pub data_size: u64,
pub block: [u8; 16],
pub index: c_uint,
}
Fields§
§chacha: chacha_ctx
§poly1305: poly1305_ctx
§s: nettle_block16
§auth_size: u64
§data_size: u64
§block: [u8; 16]
§index: c_uint
Trait Implementations§
source§impl Clone for chacha_poly1305_ctx
impl Clone for chacha_poly1305_ctx
source§fn clone(&self) -> chacha_poly1305_ctx
fn clone(&self) -> chacha_poly1305_ctx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more