aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/ntt.h
blob: 7885e7cdc6a165f275509a515384c15cfa4985ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef NTT_H
#define NTT_H

#include <stdint.h>

extern const int16_t PQCLEAN_KYBER512_CLEAN_zetas[128];
extern const int16_t PQCLEAN_KYBER512_CLEAN_zetasinv[128];

void PQCLEAN_KYBER512_CLEAN_ntt(int16_t poly[256]);
void PQCLEAN_KYBER512_CLEAN_invntt(int16_t poly[256]);
void PQCLEAN_KYBER512_CLEAN_basemul(int16_t r[2], const int16_t a[2], const int16_t b[2], int16_t zeta);

#endif