pub unsafe extern "C" fn furi_hal_crypto_ctr(
key: *const u8,
iv: *const u8,
input: *const u8,
output: *mut u8,
length: usize,
) -> boolExpand description
Encrypt the input using AES-CTR
Decryption can be performed by supplying the ciphertext as input. Inits and deinits the AES engine internally.
§Arguments
key(direction in) - pointer to 32 bytes key dataiv(direction in) - pointer to 12 bytes Initialization Vector datainput(direction in) - pointer to input dataoutput(direction out) - pointer to output datalength- length of the input and output in bytes
§Returns
true on success