pqc/crypto_sign/dilithium3aes/avx2/ntt.h
John Schanck 4f86c39515
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-02-01 13:32:40 +08:00

15 lines
675 B
C

#ifndef PQCLEAN_DILITHIUM3AES_AVX2_NTT_H
#define PQCLEAN_DILITHIUM3AES_AVX2_NTT_H
#include <immintrin.h>
void PQCLEAN_DILITHIUM3AES_AVX2_ntt_avx(__m256i *a, const __m256i *PQCLEAN_DILITHIUM3AES_AVX2_qdata);
void PQCLEAN_DILITHIUM3AES_AVX2_invntt_avx(__m256i *a, const __m256i *PQCLEAN_DILITHIUM3AES_AVX2_qdata);
void PQCLEAN_DILITHIUM3AES_AVX2_nttunpack_avx(__m256i *a);
void PQCLEAN_DILITHIUM3AES_AVX2_pointwise_avx(__m256i *c, const __m256i *a, const __m256i *b, const __m256i *PQCLEAN_DILITHIUM3AES_AVX2_qdata);
void PQCLEAN_DILITHIUM3AES_AVX2_pointwise_acc_avx(__m256i *c, const __m256i *a, const __m256i *b, const __m256i *PQCLEAN_DILITHIUM3AES_AVX2_qdata);
#endif