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, *const c_uchar, *const c_uchar, c_int) -> 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

nid: c_int block_size: c_int key_len: c_int iv_len: c_int flags: c_ulong init: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *const c_uchar, *const c_uchar, c_int) -> c_int> do_cipher: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *mut c_uchar, *const c_uchar, size_t) -> c_int> cleanup: Option<unsafe extern fn(*mut EVP_CIPHER_CTX) -> c_int> ctx_size: c_int set_asn1_parameters: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *mut ASN1_TYPE) -> c_int> get_asn1_parameters: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, *mut ASN1_TYPE) -> c_int> ctrl: Option<unsafe extern fn(*mut EVP_CIPHER_CTX, c_int, c_int, *mut c_void) -> c_int> app_data: *mut c_void