29#ifndef PROTOCORE_AES256CTR_H
30#define PROTOCORE_AES256CTR_H
34#if PROTOCORE_ENABLE_AES256CTR
39#define PROTOCORE_AES256CTR_KEY_LEN 32
41#define PROTOCORE_AES256CTR_CTR_LEN 16
60 const uint8_t *counter;
62} Aes256CtrGetLengthArgs;
103 Aes256CtrCryptArgs crypt_args;
104 Aes256CtrGetLengthArgs get_length_args;
110extern Aes256CtrVars Aes256CtrV;
115 void (*
const crypt)(uint8_t *work);
116 void (*
const get_length)(uint8_t *work);
121void protocore_aes256_ctr_crypt(uint8_t *work);
122void protocore_aes256_ctr_get_length(uint8_t *work);
128static const Aes256CtrNs Aes256Ctr __attribute__((unused)) = {
129 .crypt = protocore_aes256_ctr_crypt,
130 .get_length = protocore_aes256_ctr_get_length,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS