2020-09-07 19:23:34 +01:00
|
|
|
#ifndef PARSING_H
|
|
|
|
#define PARSING_H
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file parsing.h
|
|
|
|
* @brief Header file for parsing.c
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-09-10 22:00:45 +01:00
|
|
|
void PQCLEAN_HQC192_CLEAN_store8(unsigned char *out, uint64_t in);
|
|
|
|
|
|
|
|
uint64_t PQCLEAN_HQC192_CLEAN_load8(const unsigned char *in);
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_load8_arr(uint64_t *out64, size_t outlen, const uint8_t *in8, size_t inlen);
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_store8_arr(uint8_t *out8, size_t outlen, const uint64_t *in64, size_t inlen);
|
|
|
|
|
|
|
|
|
2020-09-07 19:23:34 +01:00
|
|
|
void PQCLEAN_HQC192_CLEAN_hqc_secret_key_to_string(uint8_t *sk, const uint8_t *sk_seed, const uint8_t *pk);
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_hqc_secret_key_from_string(uint64_t *x, uint32_t *y, uint8_t *pk, const uint8_t *sk);
|
|
|
|
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_hqc_public_key_to_string(uint8_t *pk, const uint8_t *pk_seed, const uint64_t *s);
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_hqc_public_key_from_string(uint64_t *h, uint64_t *s, const uint8_t *pk);
|
|
|
|
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_hqc_ciphertext_to_string(uint8_t *ct, const uint64_t *u, const uint64_t *v, const uint8_t *d);
|
|
|
|
|
|
|
|
void PQCLEAN_HQC192_CLEAN_hqc_ciphertext_from_string(uint64_t *u, uint64_t *v, uint8_t *d, const uint8_t *ct);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|