Struct r_core::r_crypto_plugin_t [−][src]
#[repr(C)]pub struct r_crypto_plugin_t {
pub name: *const c_char,
pub license: *const c_char,
pub get_key_size: Option<unsafe extern "C" fn(cry: *mut RCrypto) -> c_int>,
pub set_iv: Option<unsafe extern "C" fn(cry: *mut RCrypto, iv: *const c_uchar, ivlen: c_int) -> bool>,
pub set_key: Option<unsafe extern "C" fn(cry: *mut RCrypto, key: *const c_uchar, keylen: c_int, mode: c_int, direction: c_int) -> bool>,
pub update: Option<unsafe extern "C" fn(cry: *mut RCrypto, buf: *const c_uchar, len: c_int) -> bool>,
pub final_: Option<unsafe extern "C" fn(cry: *mut RCrypto, buf: *const c_uchar, len: c_int) -> bool>,
pub use_: Option<unsafe extern "C" fn(algo: *const c_char) -> bool>,
pub fini: Option<unsafe extern "C" fn(cry: *mut RCrypto) -> c_int>,
}
Fields
name: *const c_char
license: *const c_char
get_key_size: Option<unsafe extern "C" fn(cry: *mut RCrypto) -> c_int>
set_iv: Option<unsafe extern "C" fn(cry: *mut RCrypto, iv: *const c_uchar, ivlen: c_int) -> bool>
set_key: Option<unsafe extern "C" fn(cry: *mut RCrypto, key: *const c_uchar, keylen: c_int, mode: c_int, direction: c_int) -> bool>
update: Option<unsafe extern "C" fn(cry: *mut RCrypto, buf: *const c_uchar, len: c_int) -> bool>
final_: Option<unsafe extern "C" fn(cry: *mut RCrypto, buf: *const c_uchar, len: c_int) -> bool>
use_: Option<unsafe extern "C" fn(algo: *const c_char) -> bool>
fini: Option<unsafe extern "C" fn(cry: *mut RCrypto) -> c_int>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for r_crypto_plugin_t
impl !Send for r_crypto_plugin_t
impl !Sync for r_crypto_plugin_t
impl Unpin for r_crypto_plugin_t
impl UnwindSafe for r_crypto_plugin_t
Blanket Implementations
Mutably borrows from an owned value. Read more