Function psa_crypto_sys::psa_aead_encrypt
source · pub unsafe extern "C" fn psa_aead_encrypt(
key: u32,
alg: u32,
nonce: *const u8,
nonce_length: usize,
additional_data: *const u8,
additional_data_length: usize,
plaintext: *const u8,
plaintext_length: usize,
ciphertext: *mut u8,
ciphertext_size: usize,
ciphertext_length: *mut usize
) -> i32