1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 01:41:40 +00:00
pqcrypto/crypto_kem/ledakemlt12/clean/gf2x_limbs.h

19 lines
314 B
C
Raw Normal View History

2019-05-24 17:38:54 +01:00
#ifndef GF2X_LIMBS_H
#define GF2X_LIMBS_H
#include "qc_ldpc_parameters.h"
#include <inttypes.h>
#include <limits.h>
#include <stddef.h>
2019-05-24 17:38:54 +01:00
typedef uint64_t DIGIT;
#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-24 17:38:54 +01:00
#define POSITION_T uint32_t
2019-05-24 17:38:54 +01:00
#endif