Struct nettle_sys::nettle_aead[][src]

#[repr(C)]pub struct nettle_aead {
    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_charcontext_size: c_uintblock_size: c_uintkey_size: c_uintnonce_size: c_uintdigest_size: c_uintset_encrypt_key: nettle_set_key_funcset_decrypt_key: nettle_set_key_funcset_nonce: nettle_set_key_funcupdate: nettle_hash_update_funcencrypt: nettle_crypt_funcdecrypt: nettle_crypt_funcdigest: nettle_hash_digest_func

Trait Implementations

impl Clone for nettle_aead[src]

impl Copy for nettle_aead[src]

impl Debug for nettle_aead[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.