-
Notifications
You must be signed in to change notification settings - Fork 26
/
lowmc_255_255_4.h
36 lines (28 loc) · 1.46 KB
/
lowmc_255_255_4.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef LOWMC_255_255_4_H
#define LOWMC_255_255_4_H
#include "lowmc_pars.h"
#define LOWMC_255_255_4_N 255
#define LOWMC_255_255_4_M 85
#define LOWMC_255_255_4_R 4
extern const lowmc_t lowmc_255_255_4;
#define lowmc_parameters_255_255_4 \
{ LOWMC_255_255_4_N, LOWMC_255_255_4_M, LOWMC_255_255_4_R }
#define MASK_255_255_85_A_0 UINT64_C(0x2492492492492492)
#define MASK_255_255_85_A_1 UINT64_C(0x9249249249249249)
#define MASK_255_255_85_A_2 UINT64_C(0x4924924924924924)
#define MASK_255_255_85_A_3 UINT64_C(0x2492492492492492)
#define MASK_255_255_85_B_0 UINT64_C(0x4924924924924924)
#define MASK_255_255_85_B_1 UINT64_C(0x2492492492492492)
#define MASK_255_255_85_B_2 UINT64_C(0x9249249249249249)
#define MASK_255_255_85_B_3 UINT64_C(0x4924924924924924)
#define MASK_255_255_85_C_0 UINT64_C(0x9249249249249248)
#define MASK_255_255_85_C_1 UINT64_C(0x4924924924924924)
#define MASK_255_255_85_C_2 UINT64_C(0x2492492492492492)
#define MASK_255_255_85_C_3 UINT64_C(0x9249249249249249)
static const mzd_local_t mask_255_255_85_a[1] = {
{{MASK_255_255_85_A_0, MASK_255_255_85_A_1, MASK_255_255_85_A_2, MASK_255_255_85_A_3}}};
static const mzd_local_t mask_255_255_85_b[1] = {
{{MASK_255_255_85_B_0, MASK_255_255_85_B_1, MASK_255_255_85_B_2, MASK_255_255_85_B_3}}};
static const mzd_local_t mask_255_255_85_c[1] = {
{{MASK_255_255_85_C_0, MASK_255_255_85_C_1, MASK_255_255_85_C_2, MASK_255_255_85_C_3}}};
#endif