1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-23 16:08:59 +00:00
pqcrypto/crypto_kem/ledakemlt52/clean/bf_decoding.h

19 lines
452 B
C
Raw Normal View History

2019-06-10 17:57:26 +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 (88)
#define T_BAR (6)
int PQCLEAN_LEDAKEMLT52_CLEAN_bf_decoding(DIGIT err[],
const POSITION_T HtrPosOnes[N0][DV],
const POSITION_T QtrPosOnes[N0][M],
DIGIT privateSyndrome[],
uint8_t threshold);
2019-06-10 17:57:26 +01:00
#endif