You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
329 B

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