nrfxlib API 0.1.0
|
void ocrypto_chacha20_poly1305_final_enc | ( | ocrypto_chacha20_poly1305_ctx * | ctx, |
uint8_t | tag[(16)] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_chacha20_poly1305.h>
ChaCha20-Poly1305 final encoder step.
The generator state ctx
is used to finalize the encryption and generate the tag.
ctx | Generator state. | |
[out] | tag | Generated authentication tag. |