LibAscon 1.2.1
Lightweight Authenticated Encryption & Hashing, also with Init-Update-Final paradigm.
Data Fields
ascon_aead_ctx Struct Reference

Cipher context for authenticated encryption and validated decryption. More...

#include <ascon.h>

Collaboration diagram for ascon_aead_ctx:
Collaboration graph
[legend]

Data Fields

ascon_bufstate_t bufstate
 Cipher buffered sponge state. More...
 
uint64_t k0
 Copy of the secret key, to be used in the final step, first part. More...
 
uint64_t k1
 Copy of the secret key, to be used in the final step, second part. More...
 
uint64_t k2
 Copy of the secret key, to be used in the final step, third part, used only in the Ascon80pq cipher. More...
 

Detailed Description

Cipher context for authenticated encryption and validated decryption.

Half of this context's size is the cipher's sponge state, the remaining part is holding the key and the buffering of online data (and some padding).

Field Documentation

◆ bufstate

ascon_bufstate_t ascon_aead_ctx::bufstate

Cipher buffered sponge state.

◆ k0

uint64_t ascon_aead_ctx::k0

Copy of the secret key, to be used in the final step, first part.

◆ k1

uint64_t ascon_aead_ctx::k1

Copy of the secret key, to be used in the final step, second part.

◆ k2

uint64_t ascon_aead_ctx::k2

Copy of the secret key, to be used in the final step, third part, used only in the Ascon80pq cipher.


The documentation for this struct was generated from the following file: