![]() |
nrfxlib API 3.3.99
|
| void ocrypto_aes_ccm_update_enc | ( | ocrypto_aes_ccm_ctx * | ctx, |
| uint8_t * | ct, | ||
| const uint8_t * | pt, | ||
| size_t | pt_len ) |
#include <crypto/nrf_oberon/include/ocrypto_aes_ccm.h>
AES-CCM incremental encryption.
The plaintext pt is encrypted to the ciphertext ct using the context ctx.
This function can be called repeatedly until the whole message is processed.
| ctx | Context. | |
| [out] | ct | Ciphertext. |
| pt | Plaintext. | |
| pt_len | Length of pt and ct. |
ct may be same as pt. ctx through ocrypto_aes_ccm_init is required before this function can be called.