Struct nettle_sys::nettle_aead
source · #[repr(C)]pub struct nettle_aead {Show 13 fields
pub name: *const c_char,
pub context_size: c_uint,
pub block_size: c_uint,
pub key_size: c_uint,
pub nonce_size: c_uint,
pub digest_size: c_uint,
pub set_encrypt_key: nettle_set_key_func,
pub set_decrypt_key: nettle_set_key_func,
pub set_nonce: nettle_set_key_func,
pub update: nettle_hash_update_func,
pub encrypt: nettle_crypt_func,
pub decrypt: nettle_crypt_func,
pub digest: nettle_hash_digest_func,
}
Fields§
§name: *const c_char
§context_size: c_uint
§block_size: c_uint
§key_size: c_uint
§nonce_size: c_uint
§digest_size: c_uint
§set_encrypt_key: nettle_set_key_func
§set_decrypt_key: nettle_set_key_func
§set_nonce: nettle_set_key_func
§update: nettle_hash_update_func
§encrypt: nettle_crypt_func
§decrypt: nettle_crypt_func
§digest: nettle_hash_digest_func
Trait Implementations§
source§impl Clone for nettle_aead
impl Clone for nettle_aead
source§fn clone(&self) -> nettle_aead
fn clone(&self) -> nettle_aead
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 moresource§impl Debug for nettle_aead
impl Debug for nettle_aead
impl Copy for nettle_aead
Auto Trait Implementations§
impl RefUnwindSafe for nettle_aead
impl !Send for nettle_aead
impl !Sync for nettle_aead
impl Unpin for nettle_aead
impl UnwindSafe for nettle_aead
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