1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-23 07:59:01 +00:00
pqcrypto/crypto_kem/hqc-256/clean/bch.h

24 lines
466 B
C
Raw Normal View History

2020-09-07 19:23:34 +01:00
#ifndef BCH_H
#define BCH_H
/**
* @file bch.h
* Header file of bch.c
*/
#include "parameters.h"
#include "parameters.h"
#include <stddef.h>
#include <stdint.h>
void PQCLEAN_HQC256_CLEAN_bch_code_encode(uint64_t *codeword, const uint64_t *message);
void PQCLEAN_HQC256_CLEAN_bch_code_decode(uint64_t *message, uint64_t *vector);
size_t PQCLEAN_HQC256_CLEAN_compute_bch_poly(uint16_t *bch_poly, size_t *t, const uint16_t *exp, const uint16_t *log);
#endif