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(_: *mut c_uchar, _: *const c_uchar, _: c_ulonglong, _: *const c_uchar) -> c_int, pub onetimeauth_verify: extern "C" fn(_: *const c_uchar, _: *const c_uchar, _: c_ulonglong, _: *const c_uchar) -> c_int, pub onetimeauth_init: extern "C" fn(_: *mut crypto_onetimeauth_poly1305_state, _: *const c_uchar) -> c_int, pub onetimeauth_update: extern "C" fn(_: *mut crypto_onetimeauth_poly1305_state, _: *const c_uchar, _: c_ulonglong) -> c_int, pub onetimeauth_final: extern "C" fn(_: *mut crypto_onetimeauth_poly1305_state, _: *mut c_uchar) -> c_int, }
Fields
implementation_name: extern "C" fn() -> *const c_char
onetimeauth: extern "C" fn(_: *mut c_uchar, _: *const c_uchar, _: c_ulonglong, _: *const c_uchar) -> c_int
onetimeauth_verify: extern "C" fn(_: *const c_uchar, _: *const c_uchar, _: c_ulonglong, _: *const c_uchar) -> c_int
onetimeauth_init: extern "C" fn(_: *mut crypto_onetimeauth_poly1305_state, _: *const c_uchar) -> c_int
onetimeauth_update: extern "C" fn(_: *mut crypto_onetimeauth_poly1305_state, _: *const c_uchar, _: c_ulonglong) -> c_int
onetimeauth_final: extern "C" fn(_: *mut crypto_onetimeauth_poly1305_state, _: *mut c_uchar) -> c_int
Trait Implementations
impl Copy for crypto_onetimeauth_poly1305_implementation
[src]
impl Clone for crypto_onetimeauth_poly1305_implementation
[src]
fn clone(&self) -> crypto_onetimeauth_poly1305_implementation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more