2020-10-27 00:05:07 +00:00
|
|
|
#ifndef PQCLEAN_KYBER76890S_AVX2_NTT_H
|
|
|
|
#define PQCLEAN_KYBER76890S_AVX2_NTT_H
|
2019-09-17 13:02:01 +01:00
|
|
|
#include "consts.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-07-31 07:17:42 +01:00
|
|
|
void PQCLEAN_KYBER76890S_AVX2_ntt_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
|
|
|
void PQCLEAN_KYBER76890S_AVX2_invntt_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
|
|
|
|
2020-10-27 00:05:07 +00:00
|
|
|
void PQCLEAN_KYBER76890S_AVX2_nttpack_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
2020-07-31 07:17:42 +01:00
|
|
|
void PQCLEAN_KYBER76890S_AVX2_nttunpack_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
|
|
|
|
2020-10-27 00:05:07 +00:00
|
|
|
void PQCLEAN_KYBER76890S_AVX2_basemul_avx(int16_t *r,
|
|
|
|
const int16_t *a,
|
|
|
|
const int16_t *b,
|
|
|
|
const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
|
|
|
void PQCLEAN_KYBER76890S_AVX2_basemul_acc_avx(int16_t *r,
|
|
|
|
const int16_t *a,
|
|
|
|
const int16_t *b,
|
|
|
|
const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
2020-07-31 07:17:42 +01:00
|
|
|
|
|
|
|
void PQCLEAN_KYBER76890S_AVX2_ntttobytes_avx(uint8_t *r, const int16_t *a, const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
|
|
|
void PQCLEAN_KYBER76890S_AVX2_nttfrombytes_avx(int16_t *r, const uint8_t *a, const qdata_t *PQCLEAN_KYBER76890S_AVX2_qdata);
|
2019-09-17 13:02:01 +01:00
|
|
|
|
|
|
|
#endif
|