aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/ntt.h
blob: 13e976f7d0863cc7f55b7fe0350ac8f3c011a2af (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);
void PQCLEAN_KYBER512_CLEAN_invntt(int16_t *poly);
void PQCLEAN_KYBER512_CLEAN_basemul(int16_t r[2], const int16_t a[2], const int16_t b[2], int16_t zeta);

#endif