![]() |
nrfxlib API 3.3.99
|
| void ocrypto_ascon_aead128_update_dec | ( | ocrypto_ascon_aead_ctx * | ctx, |
| uint8_t * | pt, | ||
| const uint8_t * | ct, | ||
| size_t | ct_len ) |
#include <crypto/nrf_oberon/include/ocrypto_ascon_aead.h>
Ascon-AEAD128 incremental decryption.
The ciphertext ct is decrypted to the plaintext pt using the context ctx.
This function can be called repeatedly until the whole message is processed.
| ctx | Context. | |
| [out] | pt | Plaintext. |
| ct | Ciphertext. | |
| ct_len | Length of ct and pt. |
ct may be same as pt. ctx through ocrypto_ascon_aead128_init is required before this function can be called.