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