Struct openssl_sys::EVP_CIPHER [] [src]

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 fn(*mut EVP_CIPHER_CTX, *mut c_uchar, *const c_uchar, size_t) -> c_int>,
    pub do_cipher: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *mut c_uchar, *const c_uchar, size_t) -> c_int>,
    pub cleanup: Option<unsafe extern fn(*mut EVP_CIPHER_CTX) -> c_int>,
    pub ctx_size: c_int,
    pub set_asn1_parameters: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *mut ASN1_TYPE) -> c_int>,
    pub get_asn1_parameters: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *mut ASN1_TYPE) -> c_int>,
    pub ctrl: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, c_int, c_int, *mut c_void) -> c_int>,
    pub app_data: *mut c_void,
}

Fields

Trait Implementations

impl Copy for EVP_CIPHER
[src]

impl Clone for EVP_CIPHER
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more