2020-07-31 07:17:42 +01:00
|
|
|
#ifndef PQCLEAN_KYBER51290S_AVX2_CONSTS_H
|
|
|
|
#define PQCLEAN_KYBER51290S_AVX2_CONSTS_H
|
2020-10-27 00:05:07 +00:00
|
|
|
#include "cdecl.h"
|
2020-07-31 07:17:42 +01:00
|
|
|
#include "params.h"
|
2019-09-17 13:02:01 +01:00
|
|
|
#include <immintrin.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-10-27 00:05:07 +00:00
|
|
|
|
2020-07-31 07:17:42 +01:00
|
|
|
#define ALIGNED_UINT16_T(N) \
|
|
|
|
union { \
|
|
|
|
__m256i as_vec; \
|
|
|
|
uint16_t as_arr[(N)]; \
|
|
|
|
}
|
2019-09-17 13:02:01 +01:00
|
|
|
|
2020-07-31 07:17:42 +01:00
|
|
|
typedef ALIGNED_UINT16_T(928) qdata_t;
|
2019-09-17 13:02:01 +01:00
|
|
|
|
2020-07-31 07:17:42 +01:00
|
|
|
extern const qdata_t PQCLEAN_KYBER51290S_AVX2_qdata;
|
2019-09-17 13:02:01 +01:00
|
|
|
|
|
|
|
#endif
|