pqc/crypto_sign/dilithium5aes/avx2/ntt.h
John Schanck 32c613e8ec Round 3 update for Dilithium (from github source) (#369)
* Update Dilithium

* Alternative montgomery reduce to avoid i386 functest errors

* Explicit casts for msvc

* More casts; bump upstream version; fix metadata

* another cast
2021-03-24 21:02:50 +00:00

15 lines
675 B
C

#ifndef PQCLEAN_DILITHIUM5AES_AVX2_NTT_H
#define PQCLEAN_DILITHIUM5AES_AVX2_NTT_H
#include <immintrin.h>
void PQCLEAN_DILITHIUM5AES_AVX2_ntt_avx(__m256i *a, const __m256i *PQCLEAN_DILITHIUM5AES_AVX2_qdata);
void PQCLEAN_DILITHIUM5AES_AVX2_invntt_avx(__m256i *a, const __m256i *PQCLEAN_DILITHIUM5AES_AVX2_qdata);
void PQCLEAN_DILITHIUM5AES_AVX2_nttunpack_avx(__m256i *a);
void PQCLEAN_DILITHIUM5AES_AVX2_pointwise_avx(__m256i *c, const __m256i *a, const __m256i *b, const __m256i *PQCLEAN_DILITHIUM5AES_AVX2_qdata);
void PQCLEAN_DILITHIUM5AES_AVX2_pointwise_acc_avx(__m256i *c, const __m256i *a, const __m256i *b, const __m256i *PQCLEAN_DILITHIUM5AES_AVX2_qdata);
#endif