1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 09:51:30 +00:00
pqcrypto/crypto_kem/kyber512/clean/ntt.h
Thom Wiggers c0f56ccdc2 Update Kyber from upstream
Makes Kyber-AVX run on MacOS (#251)
2021-03-24 21:02:49 +00:00

23 lines
455 B
C

#ifndef PQCLEAN_KYBER512_CLEAN_NTT_H
#define PQCLEAN_KYBER512_CLEAN_NTT_H
#include "params.h"
#include <stdint.h>
extern const int16_t PQCLEAN_KYBER512_CLEAN_zetas[128];
extern const int16_t PQCLEAN_KYBER512_CLEAN_zetas_inv[128];
void PQCLEAN_KYBER512_CLEAN_ntt(int16_t r[256]);
void PQCLEAN_KYBER512_CLEAN_invntt(int16_t r[256]);
void PQCLEAN_KYBER512_CLEAN_basemul(int16_t r[2], const int16_t a[2], const int16_t b[2], int16_t zeta);
#endif