pqc/crypto_sign/dilithium/dilithium5/avx2/rounding.h
2021-03-24 21:02:50 +00:00

13 lines
537 B
C

#ifndef PQCLEAN_DILITHIUM5_AVX2_ROUNDING_H
#define PQCLEAN_DILITHIUM5_AVX2_ROUNDING_H
#include "params.h"
#include <immintrin.h>
#include <stdint.h>
void PQCLEAN_DILITHIUM5_AVX2_power2round_avx(__m256i *a1, __m256i *a0, const __m256i *a);
void PQCLEAN_DILITHIUM5_AVX2_decompose_avx(__m256i *a1, __m256i *a0, const __m256i *a);
unsigned int PQCLEAN_DILITHIUM5_AVX2_make_hint_avx(uint8_t hint[N], const __m256i *a0, const __m256i *a1);
void PQCLEAN_DILITHIUM5_AVX2_use_hint_avx(__m256i *b, const __m256i *a, const __m256i *hint);
#endif