![]() |
nrfxlib API 3.3.99
|
| void ocrypto_ascon_aead128_init | ( | ocrypto_ascon_aead_ctx * | ctx, |
| const uint8_t | key[16], | ||
| const uint8_t | nonce[16] ) |
#include <crypto/nrf_oberon/include/ocrypto_ascon_aead.h>
Ascon-AEAD128 initialization.
The context ctx is initialized using the given key key and nonce nonce.
| [out] | ctx | Context. |
| key | Ascon-AEAD128 key. May be NULL. | |
| nonce | Nonce. May be NULL. |
key is NULL only nonce is set. If nonce is NULL only key is set. key must be set before nonce. Both key and nonce must be set before update is called.