1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 09:51:30 +00:00
pqcrypto/crypto_kem/kyber1024-90s/clean/aes256ctr.h

17 lines
499 B
C
Raw Normal View History

2019-09-17 13:02:01 +01:00
#ifndef AES256CTR_H
#define AES256CTR_H
#include <stddef.h>
#include <stdint.h>
typedef struct {
uint64_t sk_exp[120];
uint32_t ivw[16];
} aes256xof_ctx;
void PQCLEAN_KYBER102490S_CLEAN_aes256_prf(uint8_t *output, size_t outlen, const uint8_t *key, uint8_t nonce);
void PQCLEAN_KYBER102490S_CLEAN_aes256xof_absorb(aes256xof_ctx *s, const uint8_t *key, uint8_t x, uint8_t y);
void PQCLEAN_KYBER102490S_CLEAN_aes256xof_squeezeblocks(uint8_t *out, size_t nblocks, aes256xof_ctx *s);
#endif