pqc/crypto_kem/ledakemlt12/leaktime/bf_decoding.h

19 lines
461 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-06-16 16:01:29 +01:00
int PQCLEAN_LEDAKEMLT12_LEAKTIME_bf_decoding(DIGIT err[],
2019-05-24 17:38:54 +01:00
const POSITION_T HtrPosOnes[N0][DV],
2019-06-07 12:40:02 +01:00
const POSITION_T QtrPosOnes[N0][M],
DIGIT privateSyndrome[],
uint8_t threshold); // B2
#endif