-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeys-gcrypt.c
56 lines (51 loc) · 1.93 KB
/
keys-gcrypt.c
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#include <stdint.h>
static const uint8_t e_0[3] = {
0x01, 0x00, 0x01,
};
#include <stdint.h>
static const uint8_t n_0[257] = {
0x00, 0x8e, 0xf1, 0x1a, 0x38, 0x44, 0x3f, 0x4e,
0xf1, 0xce, 0x77, 0x81, 0xcc, 0xcb, 0x32, 0xe1,
0x6f, 0x47, 0x78, 0x82, 0x14, 0xbf, 0xfd, 0x50,
0x58, 0xc4, 0x2f, 0xae, 0x24, 0x71, 0x58, 0xe1,
0x78, 0x12, 0x77, 0x95, 0x7a, 0xc9, 0x95, 0xe3,
0x18, 0xf2, 0xbf, 0x8e, 0x3d, 0xff, 0x0d, 0x0a,
0x78, 0x30, 0xe9, 0x3c, 0x99, 0xc8, 0x47, 0xe2,
0x1d, 0xc8, 0xf3, 0x36, 0xbc, 0x26, 0x4a, 0xb9,
0xf9, 0xf6, 0x7e, 0xbb, 0xe5, 0x9d, 0x13, 0xe6,
0xc2, 0x14, 0x9e, 0xec, 0xfb, 0xcc, 0x6f, 0x3b,
0x26, 0x13, 0xba, 0x71, 0x84, 0x5d, 0x79, 0x45,
0xf1, 0xbe, 0x16, 0xf4, 0x63, 0xa7, 0x95, 0xdb,
0x9c, 0xf5, 0xf4, 0x11, 0x84, 0x87, 0xdd, 0x3b,
0xdf, 0x64, 0x56, 0x95, 0xac, 0xf9, 0xdb, 0xa6,
0x65, 0xbb, 0xdf, 0x95, 0x0c, 0x90, 0xdc, 0x5d,
0x07, 0xd9, 0x47, 0x52, 0x08, 0x3e, 0x71, 0x2a,
0x4f, 0xe4, 0x2a, 0x49, 0xed, 0x9d, 0x39, 0x39,
0xca, 0xad, 0xcb, 0x4e, 0x21, 0x02, 0x19, 0x82,
0x5c, 0x9d, 0x5c, 0x2a, 0x30, 0x45, 0xd1, 0xd8,
0xe6, 0xbc, 0xc6, 0x7f, 0x30, 0x42, 0xe1, 0x4c,
0x9c, 0x9b, 0xb5, 0xd8, 0x32, 0xce, 0x96, 0x17,
0x12, 0xb8, 0x00, 0xc9, 0xfb, 0x32, 0x43, 0xb7,
0x10, 0x1a, 0xb3, 0x33, 0x17, 0x51, 0xaf, 0xe8,
0xdb, 0xb8, 0x53, 0x3c, 0x0b, 0x36, 0x2b, 0x85,
0x70, 0xc7, 0x9a, 0x79, 0x27, 0x11, 0x13, 0x30,
0x62, 0x2d, 0x93, 0x2f, 0x09, 0x23, 0x39, 0xd6,
0x26, 0x58, 0xaa, 0x30, 0x24, 0xc8, 0x6a, 0xf0,
0x4e, 0x3d, 0x68, 0x90, 0x89, 0xd3, 0xc3, 0x53,
0x3e, 0x37, 0x57, 0xaa, 0x4a, 0x34, 0x25, 0xa8,
0x75, 0x90, 0x10, 0x75, 0x17, 0xa8, 0x68, 0x7c,
0xd6, 0xd4, 0x29, 0x38, 0xf2, 0xc4, 0xf0, 0x1a,
0x5b, 0x96, 0x59, 0xc9, 0x6b, 0x71, 0x08, 0x65,
0x7f,
};
struct key_params {
const uint8_t *e, *n;
uint32_t len_e, len_n;
};
#define KEYS(_e, _n) { \
.e = _e, .len_e = sizeof(_e), \
.n = _n, .len_n = sizeof(_n), \
}
static const struct key_params keys[] = {
KEYS(e_0, n_0),
};