LibAscon 1.2.1
Lightweight Authenticated Encryption & Hashing, also with Init-Update-Final paradigm.
|
Cipher context for authenticated encryption and validated decryption. More...
#include <ascon.h>
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... | |
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).
ascon_bufstate_t ascon_aead_ctx::bufstate |
Cipher buffered sponge state.
uint64_t ascon_aead_ctx::k0 |
Copy of the secret key, to be used in the final step, first part.
uint64_t ascon_aead_ctx::k1 |
Copy of the secret key, to be used in the final step, second part.
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.