pqc/crypto_kem/ntruhps4096821/avx2/owcpa.h

20 lines
515 B
C
Raw Permalink Normal View History

#ifndef OWCPA_H
#define OWCPA_H
#include "params.h"
#include "poly.h"
void PQCLEAN_NTRUHPS4096821_AVX2_owcpa_keypair(unsigned char *pk,
unsigned char *sk,
const unsigned char seed[NTRU_SAMPLE_FG_BYTES]);
void PQCLEAN_NTRUHPS4096821_AVX2_owcpa_enc(unsigned char *c,
const poly *r,
const poly *m,
const unsigned char *pk);
int PQCLEAN_NTRUHPS4096821_AVX2_owcpa_dec(unsigned char *rm,
const unsigned char *ciphertext,
const unsigned char *secretkey);
#endif