![]() |
nrfxlib API 3.3.99
|
| void ocrypto_aes_cbc_pkcs_encrypt | ( | uint8_t * | ct, |
| const uint8_t * | pt, | ||
| size_t | pt_len, | ||
| const uint8_t * | key, | ||
| size_t | size, | ||
| const uint8_t | iv[16] ) |
#include <crypto/nrf_oberon/include/ocrypto_aes_cbc_pkcs.h>
AES-CBC-PKCS7 encryption.
| [out] | ct | Ciphertext. |
| pt | Plaintext. | |
| pt_len | Plaintext length. | |
| key | AES key. | |
| size | Key size (16, 24, or 32). | |
| iv | Initial vector. |
ct may be same as pt. ct is pt_len + 1 rounded up to the next multiple of 16.