-
Notifications
You must be signed in to change notification settings - Fork 0
/
plaintext_cyphertext_pairs.h
40 lines (32 loc) · 1.02 KB
/
plaintext_cyphertext_pairs.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
37
38
39
40
#pragma once
#include <cstdint>
// deltax and f_of_deltax defintions for convenience
extern std::uint32_t deltax;
extern std::uint32_t f_of_deltax;
// arrays for chosen plaintext ciphertext pairs for k4
extern std::uint32_t pl1[6];
extern std::uint32_t pr1[6];
extern std::uint32_t pl2[6];
extern std::uint32_t pr2[6];
extern std::uint32_t cl1[6];
extern std::uint32_t cr1[6];
extern std::uint32_t cl2[6];
extern std::uint32_t cr2[6];
// arrays for chosen plaintext ciphertext pairs for k3
extern std::uint32_t pl1k3[6];
extern std::uint32_t pr1k3[6];
extern std::uint32_t pl2k3[6];
extern std::uint32_t pr2k3[6];
extern std::uint32_t cl1k3[6];
extern std::uint32_t cr1k3[6];
extern std::uint32_t cl2k3[6];
extern std::uint32_t cr2k3[6];
// arrays for chosen plaintext ciphertext pairs for k2
extern std::uint32_t pl1k2[6];
extern std::uint32_t pr1k2[6];
extern std::uint32_t pl2k2[6];
extern std::uint32_t pr2k2[6];
extern std::uint32_t cl1k2[6];
extern std::uint32_t cr1k2[6];
extern std::uint32_t cl2k2[6];
extern std::uint32_t cr2k2[6];