Ascon-AEAD is an authenticated encription algorithm designed for small devices.
More...
|
| file | ocrypto_ascon_aead.h |
| | Ascon-AEAD is an authenticated encription algorithm designed for small devices.
|
| |
|
| void | ocrypto_ascon_aead128_encrypt (uint8_t *ct, uint8_t tag[16], const uint8_t *pt, size_t pt_len, const uint8_t key[16], const uint8_t nonce[16], const uint8_t *aa, size_t aa_len) |
| |
| int | ocrypto_ascon_aead128_decrypt (uint8_t *pt, const uint8_t tag[16], const uint8_t *ct, size_t ct_len, const uint8_t key[16], const uint8_t nonce[16], const uint8_t *aa, size_t aa_len) |
| |
|
This group of functions can be used to incrementally compute the Ascon-AEAD128 encryption/decryption for a given message.
|
| void | ocrypto_ascon_aead128_init (ocrypto_ascon_aead_ctx *ctx, const uint8_t key[16], const uint8_t nonce[16]) |
| |
| void | ocrypto_ascon_aead128_update_aad (ocrypto_ascon_aead_ctx *ctx, const uint8_t *aa, size_t aa_len) |
| |
| void | ocrypto_ascon_aead128_update_enc (ocrypto_ascon_aead_ctx *ctx, uint8_t *ct, const uint8_t *pt, size_t pt_len) |
| |
| void | ocrypto_ascon_aead128_update_dec (ocrypto_ascon_aead_ctx *ctx, uint8_t *pt, const uint8_t *ct, size_t ct_len) |
| |
| void | ocrypto_ascon_aead128_final_enc (ocrypto_ascon_aead_ctx *ctx, uint8_t tag[16]) |
| |
| int | ocrypto_ascon_aead128_final_dec (ocrypto_ascon_aead_ctx *ctx, const uint8_t tag[16]) |
| |
Ascon-AEAD is an authenticated encription algorithm designed for small devices.
- See also
- NIST SP 800-232