Struct libsodium_ffi::crypto_onetimeauth_poly1305_implementation [−][src]
#[repr(C)]pub struct crypto_onetimeauth_poly1305_implementation { pub implementation_name: extern "C" fn() -> *const c_char, pub onetimeauth: extern "C" fn(out: *mut c_uchar, in_: *const c_uchar, inlen: c_ulonglong, k: *const c_uchar) -> c_int, pub onetimeauth_verify: extern "C" fn(h: *const c_uchar, in_: *const c_uchar, inlen: c_ulonglong, k: *const c_uchar) -> c_int, pub onetimeauth_init: extern "C" fn(state: *mut crypto_onetimeauth_poly1305_state, key: *const c_uchar) -> c_int, pub onetimeauth_update: extern "C" fn(state: *mut crypto_onetimeauth_poly1305_state, in_: *const c_uchar, inlen: c_ulonglong) -> c_int, pub onetimeauth_final: extern "C" fn(state: *mut crypto_onetimeauth_poly1305_state, out: *mut c_uchar) -> c_int, }
Fields
implementation_name: extern "C" fn() -> *const c_char
onetimeauth: extern "C" fn(out: *mut c_uchar, in_: *const c_uchar, inlen: c_ulonglong, k: *const c_uchar) -> c_int
onetimeauth_verify: extern "C" fn(h: *const c_uchar, in_: *const c_uchar, inlen: c_ulonglong, k: *const c_uchar) -> c_int
onetimeauth_init: extern "C" fn(state: *mut crypto_onetimeauth_poly1305_state, key: *const c_uchar) -> c_int
onetimeauth_update: extern "C" fn(state: *mut crypto_onetimeauth_poly1305_state, in_: *const c_uchar, inlen: c_ulonglong) -> c_int
onetimeauth_final: extern "C" fn(state: *mut crypto_onetimeauth_poly1305_state, out: *mut c_uchar) -> c_int
Trait Implementations
impl Copy for crypto_onetimeauth_poly1305_implementation
[src]
impl Copy for crypto_onetimeauth_poly1305_implementation
impl Clone for crypto_onetimeauth_poly1305_implementation
[src]
impl Clone for crypto_onetimeauth_poly1305_implementation
fn clone(&self) -> crypto_onetimeauth_poly1305_implementation
[src]
fn clone(&self) -> crypto_onetimeauth_poly1305_implementation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more