1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00
pqcrypto/crypto_kem/hqc-rmrs-256/avx2/hqc.h
2021-03-24 21:02:48 +00:00

20 lines
471 B
C

#ifndef HQC_H
#define HQC_H
/**
* @file hqc.h
* @brief Functions of the HQC_PKE IND_CPA scheme
*/
#include <stdint.h>
void PQCLEAN_HQCRMRS256_AVX2_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
void PQCLEAN_HQCRMRS256_AVX2_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint8_t *m, unsigned char *theta, const unsigned char *pk);
void PQCLEAN_HQCRMRS256_AVX2_hqc_pke_decrypt(uint8_t *m, const uint64_t *u, const uint64_t *v, const unsigned char *sk);
#endif