Function nrfxlib_sys::ocrypto_aes_ctr_decrypt
source · pub unsafe extern "C" fn ocrypto_aes_ctr_decrypt(
pt: *mut u8,
ct: *const u8,
ct_len: usize,
key: *const u8,
size: usize,
iv: *const u8
)
Expand description
AES-CTR decryption.
pt
- Plaintext.ct
- Ciphertext.ct_len
- Length of *pt
- and *ct
- .key
- AES key.size
- Key size (16, 24, or 32).iv
- Initial vector.
@remark * ct
- may be same as * pt
- .