mirror of
https://github.com/henrydcase/pqc.git
synced 2024-12-04 21:34:01 +00:00
22 lines
482 B
C
22 lines
482 B
C
|
#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_HQC256_AVX2_hqc_pke_keygen(unsigned char *pk, unsigned char *sk);
|
||
|
|
||
|
void PQCLEAN_HQC256_AVX2_hqc_pke_encrypt(uint64_t *u, uint64_t *v, uint64_t *m, unsigned char *theta, const unsigned char *pk);
|
||
|
|
||
|
void PQCLEAN_HQC256_AVX2_hqc_pke_decrypt(uint64_t *m, const uint64_t *u, const uint64_t *v, const unsigned char *sk);
|
||
|
|
||
|
|
||
|
#endif
|