1 #include "aes256ctr.h"
2 
PQCLEAN_MCELIECE6960119_AVX_aes256ctr(uint8_t * out,size_t outlen,const uint8_t nonce[AESCTR_NONCEBYTES],const uint8_t key[AES256_KEYBYTES])3 void PQCLEAN_MCELIECE6960119_AVX_aes256ctr(
4     uint8_t *out,
5     size_t outlen,
6     const uint8_t nonce[AESCTR_NONCEBYTES],
7     const uint8_t key[AES256_KEYBYTES]) {
8 
9     aes256ctx state;
10     aes256_ctr_keyexp(&state, key);
11     aes256_ctr(out, outlen, nonce, &state);
12     aes256_ctx_release(&state);
13 }
14