2020-09-07 19:23:34 +01:00
|
|
|
#ifndef GF2X_H
|
|
|
|
#define GF2X_H
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file gf2x.h
|
|
|
|
* @brief Header file for gf2x.c
|
|
|
|
*/
|
2020-10-26 02:17:30 +00:00
|
|
|
#include "parameters.h"
|
|
|
|
#include <immintrin.h>
|
2020-09-07 19:23:34 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-10-26 02:17:30 +00:00
|
|
|
typedef union {
|
|
|
|
uint64_t arr64[VEC_N_256_SIZE_64];
|
|
|
|
__m256i dummy;
|
|
|
|
} aligned_vec_t;
|
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS256_AVX2_vect_mul(uint64_t *o, const aligned_vec_t *a1, const aligned_vec_t *a2);
|
2020-09-07 19:23:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|