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 moreimpl Copy for chacha_poly1305_ctx
Auto Trait Implementations§
impl RefUnwindSafe for chacha_poly1305_ctx
impl Send for chacha_poly1305_ctx
impl Sync for chacha_poly1305_ctx
impl Unpin for chacha_poly1305_ctx
impl UnwindSafe for chacha_poly1305_ctx
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more