2020-09-07 19:23:34 +01:00
|
|
|
#ifndef HQC_H
|
|
|
|
#define HQC_H
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file hqc.h
|
|
|
|
* @brief Functions of the HQC_PKE IND_CPA scheme
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void PQCLEAN_HQCRMRS256_CLEAN_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
|
|
|
|
|
2020-09-12 14:59:40 +01:00
|
|
|
void PQCLEAN_HQCRMRS256_CLEAN_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint8_t *m, unsigned char *theta, const unsigned char *pk);
|
2020-09-07 19:23:34 +01:00
|
|
|
|
2020-09-12 14:59:40 +01:00
|
|
|
void PQCLEAN_HQCRMRS256_CLEAN_hqc_pke_decrypt(uint8_t *m, const uint64_t *u, const uint64_t *v, const unsigned char *sk);
|
2020-09-07 19:23:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|