pqc/crypto_kem/kyber768/avx2/ntt.h

22 lines
994 B
C
Raw Normal View History

#ifndef PQCLEAN_KYBER768_AVX2_NTT_H
#define PQCLEAN_KYBER768_AVX2_NTT_H
2020-10-27 13:48:42 +00:00
#include <immintrin.h>
#include <stdint.h>
2020-10-27 13:48:42 +00:00
void PQCLEAN_KYBER768_AVX2_ntt_avx(__m256i *r, const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_invntt_avx(__m256i *r, const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
2020-10-27 13:48:42 +00:00
void PQCLEAN_KYBER768_AVX2_nttpack_avx(__m256i *r, const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_nttunpack_avx(__m256i *r, const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
2020-10-27 13:48:42 +00:00
void PQCLEAN_KYBER768_AVX2_basemul_avx(__m256i *r,
const __m256i *a,
const __m256i *b,
const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
2020-10-27 13:48:42 +00:00
void PQCLEAN_KYBER768_AVX2_ntttobytes_avx(uint8_t *r, const __m256i *a, const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
void PQCLEAN_KYBER768_AVX2_nttfrombytes_avx(__m256i *r, const uint8_t *a, const __m256i *PQCLEAN_KYBER768_AVX2_qdata);
#endif