2019-05-24 17:38:54 +01:00
|
|
|
#ifndef GF2X_LIMBS_H
|
|
|
|
#define GF2X_LIMBS_H
|
2019-05-19 18:14:46 +01:00
|
|
|
|
2019-05-27 19:17:53 +01:00
|
|
|
#include "qc_ldpc_parameters.h"
|
|
|
|
|
2019-05-19 18:14:46 +01:00
|
|
|
#include <inttypes.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2019-05-24 17:38:54 +01:00
|
|
|
typedef uint64_t DIGIT;
|
2019-05-19 18:14:46 +01:00
|
|
|
#define DIGIT_IS_UINT64
|
2019-05-24 17:38:54 +01:00
|
|
|
#define DIGIT_IS_ULLONG
|
|
|
|
#define DIGIT_SIZE_B (8)
|
|
|
|
#define DIGIT_SIZE_b (DIGIT_SIZE_B << 3)
|
2019-05-19 18:14:46 +01:00
|
|
|
|
2019-05-24 17:38:54 +01:00
|
|
|
#define POSITION_T uint32_t
|
2019-05-19 18:14:46 +01:00
|
|
|
|
2019-05-24 17:38:54 +01:00
|
|
|
#endif
|