2020-10-27 00:05:07 +00:00
|
|
|
#ifndef PQCLEAN_KYBER76890S_AVX2_REJSAMPLE_H
|
|
|
|
#define PQCLEAN_KYBER76890S_AVX2_REJSAMPLE_H
|
2020-07-31 07:17:42 +01:00
|
|
|
#include "params.h"
|
2020-10-27 13:48:42 +00:00
|
|
|
#include "symmetric.h"
|
2019-09-17 13:02:01 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-10-27 13:48:42 +00:00
|
|
|
#define REJ_UNIFORM_AVX_NBLOCKS ((12*KYBER_N/8*(1 << 12)/KYBER_Q + XOF_BLOCKBYTES)/XOF_BLOCKBYTES)
|
|
|
|
#define REJ_UNIFORM_AVX_BUFLEN (REJ_UNIFORM_AVX_NBLOCKS*XOF_BLOCKBYTES)
|
|
|
|
|
|
|
|
unsigned int PQCLEAN_KYBER76890S_AVX2_rej_uniform_avx(int16_t *r, const uint8_t *buf);
|
2019-09-17 13:02:01 +01:00
|
|
|
|
|
|
|
#endif
|