pqc/crypto_kem/kyber768/avx2/ntt.h
2021-03-24 21:02:49 +00:00

25 lines
1.1 KiB
C

#ifndef PQCLEAN_KYBER768_AVX2_NTT_H
#define PQCLEAN_KYBER768_AVX2_NTT_H
#include "consts.h"
#include <stdint.h>
void PQCLEAN_KYBER768_AVX2_ntt_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_invntt_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_nttpack_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_nttunpack_avx(int16_t *r, const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_basemul_avx(int16_t *r,
const int16_t *a,
const int16_t *b,
const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_basemul_acc_avx(int16_t *r,
const int16_t *a,
const int16_t *b,
const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_ntttobytes_avx(uint8_t *r, const int16_t *a, const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_nttfrombytes_avx(int16_t *r, const uint8_t *a, const qdata_t *PQCLEAN_KYBER768_AVX2_qdata);
#endif