23 #include "crys_chacha.h"
26 #if IS_USED(MODULE_PERIPH_CIPHER_CHACHA20) || DOXYGEN
40 uint8_t buffer[CRYS_CHACHA_BLOCK_SIZE_IN_BYTES];
43 CRYS_CHACHA_EncryptMode_t
mode;
Common macros and compiler attributes/pragmas configuration.
This struct is used to handle the discontinuity between the PSA API and the CRYS ChaCha20 API.
uint8_t buffer_length
Current length of the data in buffer.
CRYS_CHACHAUserContext_t post_setup
Context of the CRYS ChaCha20 operation.
CRYS_CHACHA_EncryptMode_t mode
Mode of the operation.