Struct openssl_sys::EVP_CIPHER [−][src]
#[repr(C)]pub struct EVP_CIPHER { pub nid: c_int, pub block_size: c_int, pub key_len: c_int, pub iv_len: c_int, pub flags: c_ulong, pub init: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut c_uchar, _: *const c_uchar, _: size_t) -> c_int>, pub do_cipher: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut c_uchar, _: *const c_uchar, _: size_t) -> c_int>, pub cleanup: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX) -> c_int>, pub ctx_size: c_int, pub set_asn1_parameters: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut ASN1_TYPE) -> c_int>, pub get_asn1_parameters: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut ASN1_TYPE) -> c_int>, pub ctrl: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: c_int, _: c_int, _: *mut c_void) -> c_int>, pub app_data: *mut c_void, }
Fields
nid: c_int
block_size: c_int
key_len: c_int
iv_len: c_int
flags: c_ulong
init: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut c_uchar, _: *const c_uchar, _: size_t) -> c_int>
do_cipher: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut c_uchar, _: *const c_uchar, _: size_t) -> c_int>
cleanup: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX) -> c_int>
ctx_size: c_int
set_asn1_parameters: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut ASN1_TYPE) -> c_int>
get_asn1_parameters: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *mut ASN1_TYPE) -> c_int>
ctrl: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: c_int, _: c_int, _: *mut c_void) -> c_int>
app_data: *mut c_void
Trait Implementations
impl Copy for EVP_CIPHER
[src]
impl Copy for EVP_CIPHER
impl Clone for EVP_CIPHER
[src]
impl Clone for EVP_CIPHER
fn clone(&self) -> EVP_CIPHER
[src]
fn clone(&self) -> EVP_CIPHER
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
Auto Trait Implementations
impl !Send for EVP_CIPHER
impl !Send for EVP_CIPHER
impl !Sync for EVP_CIPHER
impl !Sync for EVP_CIPHER