[][src]Struct psa_crypto_sys::psa_drv_se_asymmetric_t

#[repr(C)]pub struct psa_drv_se_asymmetric_t {
    pub p_sign: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_hash: *const u8, hash_length: usize, p_signature: *mut u8, signature_size: usize, p_signature_length: *mut usize) -> i32>,
    pub p_verify: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_hash: *const u8, hash_length: usize, p_signature: *const u8, signature_length: usize) -> i32>,
    pub p_encrypt: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_input: *const u8, input_length: usize, p_salt: *const u8, salt_length: usize, p_output: *mut u8, output_size: usize, p_output_length: *mut usize) -> i32>,
    pub p_decrypt: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_input: *const u8, input_length: usize, p_salt: *const u8, salt_length: usize, p_output: *mut u8, output_size: usize, p_output_length: *mut usize) -> i32>,
}

Fields

p_sign: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_hash: *const u8, hash_length: usize, p_signature: *mut u8, signature_size: usize, p_signature_length: *mut usize) -> i32>p_verify: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_hash: *const u8, hash_length: usize, p_signature: *const u8, signature_length: usize) -> i32>p_encrypt: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_input: *const u8, input_length: usize, p_salt: *const u8, salt_length: usize, p_output: *mut u8, output_size: usize, p_output_length: *mut usize) -> i32>p_decrypt: Option<unsafe extern "C" fn(drv_context: *mut psa_drv_se_context_t, key_slot: psa_key_slot_number_t, alg: u32, p_input: *const u8, input_length: usize, p_salt: *const u8, salt_length: usize, p_output: *mut u8, output_size: usize, p_output_length: *mut usize) -> i32>

Trait Implementations

impl Clone for psa_drv_se_asymmetric_t[src]

impl Copy for psa_drv_se_asymmetric_t[src]

impl Debug for psa_drv_se_asymmetric_t[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.