nrfxlib API 2.8.99
|
size_t ocrypto_aes_cbc_pkcs_output_size | ( | ocrypto_aes_cbc_pkcs_ctx * | ctx, |
size_t | pt_len ) |
#include <crypto/nrf_oberon/include/ocrypto_aes_cbc_pkcs.h>
AES-CBC output size calculation.
Calculates the length of the output written to out
in a call to ocrypto_aes_cbc_pkcs_update
.
ctx | Context. |
pt_len | Length of data to be added. |
ocrypto_aes_cbc_pkcs_output_size
must be called before ocrypto_aes_cbc_pkcs_update
. ctx
through ocrypto_aes_ctr_init
is required before this function can be called.