2019-06-10 19:42:31 +01:00
|
|
|
#ifndef BF_DECODING_H
|
|
|
|
#define BF_DECODING_H
|
|
|
|
|
|
|
|
#include "gf2x_arith.h"
|
|
|
|
#include "qc_ldpc_parameters.h"
|
|
|
|
|
|
|
|
/* Definitions for DFR level 2^-SL with SL=128 */
|
|
|
|
#define ITERATIONS_MAX (2)
|
|
|
|
#define B0 (64)
|
|
|
|
#define T_BAR (5)
|
|
|
|
|
2019-06-16 16:01:29 +01:00
|
|
|
int PQCLEAN_LEDAKEMLT32_LEAKTIME_bf_decoding(DIGIT err[],
|
2019-06-10 19:42:31 +01:00
|
|
|
const POSITION_T HtrPosOnes[N0][DV],
|
|
|
|
const POSITION_T QtrPosOnes[N0][M],
|
2019-06-14 13:23:58 +01:00
|
|
|
DIGIT privateSyndrome[],
|
|
|
|
uint8_t threshold);
|
2019-06-10 19:42:31 +01:00
|
|
|
|
|
|
|
#endif
|