You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
812 B

  1. #ifndef CONSTS_H
  2. #define CONSTS_H
  3. #include <immintrin.h>
  4. #include <stdint.h>
  5. typedef union {
  6. uint16_t as_arr[16];
  7. __m256i as_vec;
  8. } aligned_uint16_t;
  9. extern const uint16_t PQCLEAN_KYBER76890S_AVX2_zetas_exp[396];
  10. extern const uint16_t PQCLEAN_KYBER76890S_AVX2_zetas_inv_exp[396];
  11. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xq;
  12. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xqinv;
  13. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xv;
  14. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xflo;
  15. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xfhi;
  16. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xmontsqlo;
  17. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xmontsqhi;
  18. extern const aligned_uint16_t PQCLEAN_KYBER76890S_AVX2_16xmask;
  19. #endif