2019-12-06 15:16:41 +00:00
|
|
|
#ifndef PQCLEAN_DILITHIUM2_AVX2_NTTCONSTS_H
|
|
|
|
#define PQCLEAN_DILITHIUM2_AVX2_NTTCONSTS_H
|
|
|
|
|
|
|
|
#include <immintrin.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "alignment.h"
|
|
|
|
#include "params.h"
|
|
|
|
|
|
|
|
typedef ALIGNED_UINT32(8) aligned_uint32x8_t;
|
|
|
|
|
|
|
|
typedef ALIGNED_UINT32(N) aligned_uint32xN_t;
|
|
|
|
|
|
|
|
|
2020-10-08 14:56:15 +01:00
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_8xqinv;
|
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_8xq;
|
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_8x2q;
|
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_8x256q;
|
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_mask;
|
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_8x23ones;
|
|
|
|
extern const aligned_uint32x8_t PQCLEAN_DILITHIUM2_AVX2_8xdiv;
|
2019-12-06 15:16:41 +00:00
|
|
|
|
|
|
|
extern const aligned_uint32xN_t PQCLEAN_DILITHIUM2_AVX2_zetas;
|
|
|
|
extern const aligned_uint32xN_t PQCLEAN_DILITHIUM2_AVX2_zetas_inv;
|
|
|
|
|
|
|
|
#endif //PQCLEAN_DILITHIUM2_AVX2_NTTCONSTS_H
|
|
|
|
|