24 lines
466 B
C
24 lines
466 B
C
#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
|