[][src]Struct openssl_sys::EVP_CIPHER

#[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, _: *const c_uchar, _: *const c_uchar, _: c_int) -> 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_intblock_size: c_intkey_len: c_intiv_len: c_intflags: c_ulonginit: Option<unsafe extern "C" fn(_: *mut EVP_CIPHER_CTX, _: *const c_uchar, _: *const c_uchar, _: c_int) -> 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_intset_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

Auto Trait Implementations

impl RefUnwindSafe for EVP_CIPHER

impl !Send for EVP_CIPHER

impl !Sync for EVP_CIPHER

impl Unpin for EVP_CIPHER

impl UnwindSafe for EVP_CIPHER

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.