1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-23 07:59:01 +00:00
pqcrypto/crypto_kem/kyber768-90s/avx2/rejsample.h
John M. Schanck 127e9ec326 Round 3 Kyber
2021-03-24 21:02:49 +00:00

13 lines
421 B
C

#ifndef PQCLEAN_KYBER76890S_AVX2_REJSAMPLE_H
#define PQCLEAN_KYBER76890S_AVX2_REJSAMPLE_H
#include "params.h"
#include "symmetric.h"
#include <stdint.h>
#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);
#endif