mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-27 09:51:30 +00:00
19 lines
461 B
C
19 lines
461 B
C
#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 (43)
|
|
#define T_BAR (4)
|
|
|
|
int PQCLEAN_LEDAKEMLT12_LEAKTIME_bf_decoding(DIGIT err[],
|
|
const POSITION_T HtrPosOnes[N0][DV],
|
|
const POSITION_T QtrPosOnes[N0][M],
|
|
DIGIT privateSyndrome[],
|
|
uint8_t threshold); // B2
|
|
|
|
#endif
|