1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00
pqcrypto/crypto_sign/dilithium3aes/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_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