pqc/crypto_kem/ledakemlt12/clean/bf_decoding.h

18 lines
425 B
C
Raw Normal View History

2019-05-24 17:38:54 +01:00
#ifndef BF_DECODING_H
#define BF_DECODING_H
2019-06-07 12:40:02 +01:00
#include "gf2x_arith.h"
#include "qc_ldpc_parameters.h"
2019-05-24 17:38:54 +01:00
/* Definitions for DFR level 2^-SL with SL=128 */
#define ITERATIONS_MAX (2)
#define B0 (43)
#define T_BAR (4)
2019-05-24 17:38:54 +01:00
int PQCLEAN_LEDAKEMLT12_CLEAN_bf_decoding(DIGIT err[],
const POSITION_T HtrPosOnes[N0][DV],
2019-06-07 12:40:02 +01:00
const POSITION_T QtrPosOnes[N0][M],
2019-05-24 17:38:54 +01:00
DIGIT privateSyndrome[]);
#endif