nrfxlib API 0.1.0
|
int ocrypto_aes_cbc_pkcs_final_dec | ( | ocrypto_aes_cbc_pkcs_ctx * | ctx, |
uint8_t * | pt, | ||
size_t * | pt_len | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_aes_cbc_pkcs.h>
AES-CBC-PKCS7 final decryption output.
ctx | Context. | |
[out] | pt | Last part of the plaintext. |
[out] | pt_len | Length of pt . |
0 | If the ciphertext input is properly padded. |
-1 | Otherwise. |
pt
is 15.