1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-12-03 12:54:05 +00:00
pqcrypto/crypto_kem/hqc-256/avx2/gf.h

30 lines
496 B
C
Raw Normal View History

2020-09-07 19:23:34 +01:00
#ifndef GF_H
#define GF_H
/**
* @file gf.h
* Header file of gf.c
*/
#include <stddef.h>
#include <stddef.h>
#include <stdint.h>
void PQCLEAN_HQC256_AVX2_gf_generate(uint16_t *exp, uint16_t *log, int16_t m);
uint16_t PQCLEAN_HQC256_AVX2_gf_log(uint16_t elt);
uint16_t PQCLEAN_HQC256_AVX2_gf_mul(uint16_t a, uint16_t b);
uint16_t PQCLEAN_HQC256_AVX2_gf_square(uint16_t a);
uint16_t PQCLEAN_HQC256_AVX2_gf_inverse(uint16_t a);
uint16_t PQCLEAN_HQC256_AVX2_gf_mod(uint16_t i);
#endif