1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-12-04 21:34:01 +00:00
pqcrypto/crypto_kem/hqc-256-1-cca2/leaktime/hqc.h

16 lines
518 B
C
Raw Normal View History

#ifndef PQCLEAN_HQC2561CCA2_LEAKTIME_HQC_H
#define PQCLEAN_HQC2561CCA2_LEAKTIME_HQC_H
/**
* @file hqc.h
* @brief Functions of the HQC_PKE IND_CPA scheme
*/
#include <stdint.h>
void PQCLEAN_HQC2561CCA2_LEAKTIME_hqc_pke_keygen(uint8_t *pk, uint8_t *sk);
void PQCLEAN_HQC2561CCA2_LEAKTIME_hqc_pke_encrypt(uint8_t *u, uint8_t *v, const uint8_t *m, const uint8_t *theta, const uint8_t *pk);
void PQCLEAN_HQC2561CCA2_LEAKTIME_hqc_pke_decrypt(uint8_t *m, const uint8_t *u, const uint8_t *v, const uint8_t *sk);
#endif