nettle_cipher_func

Type Alias nettle_cipher_func 

Source
pub type nettle_cipher_func = Option<unsafe extern "C" fn(ctx: *const c_void, length: usize, dst: *mut u8, src: *const u8)>;

Aliased Type§

pub enum nettle_cipher_func {
    None,
    Some(unsafe extern "C" fn(*const c_void, usize, *mut u8, *const u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, usize, *mut u8, *const u8))

Some value of type T.