-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLicensesGen.cpp
More file actions
75 lines (68 loc) · 4.86 KB
/
Copy pathLicensesGen.cpp
File metadata and controls
75 lines (68 loc) · 4.86 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/* generated by licenses/gen_licenses_c.py — 手編集禁止。
licenses/manifest.json + licenses/texts/ を編集して再生成する。 */
#include "tp_stub.h"
/* License API 非対応バージョンの tp_stub / 本体ヘッダと組み合わせた
ビルドでは登録をまるごとスキップして空関数になる (互換ガード)。 */
#ifdef TVP_HAS_LICENSE_API
/* LibTomCrypt (719 -> 409 bytes) */
static const unsigned char lic_00[] = {
120,218,165,146,65,111,155,64,16,133,239,252,138,39,245,210,74,17,117,173,30,171,170,4,
112,141,234,64,100,160,145,21,245,176,192,216,108,197,238,186,187,75,34,254,125,7,146,40,
245,165,151,236,5,102,120,111,222,234,27,118,178,169,140,138,237,116,246,144,14,131,108,73,
59,234,48,234,142,44,146,58,218,61,247,164,62,193,147,85,46,12,130,184,55,198,17,132,
102,29,63,125,79,47,70,152,35,38,51,90,104,162,110,150,222,239,178,56,205,203,20,239,
62,253,10,130,221,101,218,121,108,216,135,206,40,33,117,8,68,14,174,55,227,208,65,12,
3,254,140,98,144,126,130,51,71,255,40,44,161,33,30,200,126,148,30,9,105,233,120,252,
199,139,249,175,105,107,174,240,207,73,10,220,109,163,10,213,54,197,166,142,127,224,80,212,
184,139,114,238,20,184,173,175,217,136,103,243,133,239,229,252,36,235,164,209,88,95,113,116,
75,170,97,58,235,213,234,51,167,196,230,60,89,121,234,61,222,199,31,150,38,74,161,176,
53,45,61,8,139,47,78,168,111,253,83,17,106,242,95,217,146,62,144,157,140,166,5,2,
67,149,222,51,115,111,208,242,172,133,107,39,157,183,178,25,61,129,181,141,240,82,193,88,
40,211,201,163,164,46,152,149,146,220,204,219,247,175,139,99,150,237,168,72,251,171,101,74,
219,11,125,154,55,39,23,222,76,213,60,114,144,96,189,209,167,96,126,153,151,167,133,90,
174,178,200,169,11,223,132,174,74,247,55,37,162,60,65,92,228,73,86,101,69,94,98,83,
236,185,188,61,100,249,119,6,152,149,213,62,187,174,231,79,139,240,166,72,178,77,22,71,
115,99,206,94,133,56,152,17,191,71,231,255,155,30,226,226,15,224,157,255,5,185,89,214,
27,
};
/* LibTomMath (1257 -> 711 bytes) */
static const unsigned char lic_01[] = {
120,218,117,84,223,111,211,48,16,126,247,95,113,218,115,216,222,17,66,242,90,151,90,164,
73,229,184,148,61,186,137,179,26,18,187,216,14,83,249,235,185,75,187,141,33,168,34,53,
118,238,251,113,159,47,1,248,223,79,31,45,148,238,160,195,8,131,107,173,79,150,49,125,
116,9,240,234,163,181,96,124,7,147,183,190,157,198,131,141,182,131,20,250,252,100,162,133,
104,7,107,18,238,56,159,3,100,36,58,77,7,36,129,46,140,198,249,91,198,184,63,7,
111,95,168,176,170,13,167,115,1,99,232,92,143,255,115,125,58,22,48,37,91,224,179,241,
228,6,188,73,118,24,10,8,145,117,46,229,232,14,83,70,44,121,122,150,46,192,58,212,
139,168,140,123,83,108,45,130,59,11,125,136,35,226,192,36,48,207,116,29,59,56,111,34,
170,245,244,196,159,81,53,158,194,85,112,180,177,117,102,32,144,15,254,221,235,78,49,55,
126,56,19,130,141,214,248,132,253,72,15,223,166,232,82,231,218,236,130,79,232,202,100,204,
161,13,143,222,253,178,115,119,209,61,30,51,12,230,41,21,115,38,102,202,71,100,39,237,
249,46,177,208,191,237,6,58,139,132,38,219,217,29,201,154,97,248,131,11,227,197,224,19,
221,16,35,123,193,253,51,117,216,91,24,205,247,107,98,87,106,52,59,183,79,229,7,235,
109,239,242,197,198,11,218,144,231,248,120,57,239,43,113,103,49,253,209,250,12,88,139,49,
195,209,186,152,168,130,165,169,109,109,74,216,206,44,72,22,9,247,151,36,242,28,136,17,
194,79,27,51,152,150,152,24,206,141,243,63,38,60,248,153,27,187,58,217,120,178,121,114,
249,76,74,212,253,9,27,166,135,228,166,159,242,68,227,70,97,164,139,55,151,94,83,152,
124,135,147,240,38,122,60,42,189,22,208,212,43,189,231,74,128,108,96,171,234,47,114,41,
150,112,195,27,92,223,20,176,151,122,93,239,52,96,133,226,149,126,128,122,5,188,122,128,
207,178,90,22,76,124,221,42,209,52,80,43,144,155,109,41,197,178,0,89,45,202,221,82,
86,159,224,30,113,85,173,161,148,27,169,145,84,215,64,130,87,42,41,16,183,98,27,161,
22,107,92,242,123,89,74,253,80,192,74,234,138,56,87,72,202,97,203,149,150,139,93,201,
21,108,119,106,91,55,2,229,151,72,91,201,106,165,80,69,108,68,165,111,153,172,112,15,
196,23,92,64,179,230,101,57,75,241,29,186,87,13,220,11,52,193,239,75,113,97,69,255,
139,146,203,77,1,75,190,225,159,200,136,98,53,2,212,92,118,53,178,95,139,121,11,169,
57,94,11,45,235,138,218,95,212,149,86,184,44,176,33,165,169,247,25,186,151,141,40,24,
87,178,161,222,87,170,70,122,74,14,17,245,76,130,184,74,92,88,40,85,120,19,62,150,
208,122,215,136,87,47,75,193,75,228,106,8,252,103,49,30,220,10,199,116,12,145,102,138,
94,231,121,144,240,75,49,127,106,240,85,235,241,172,113,4,62,28,115,62,189,191,187,155,
252,245,171,117,27,226,227,221,71,246,27,176,237,148,186,
};
void RegisterSigCheckLicenses()
{
TVPRegisterLicense(TJS_W("LibTomCrypt"), TJS_W("plugin:sigcheck"), lic_00, 409, 719);
TVPRegisterLicense(TJS_W("LibTomMath"), TJS_W("plugin:sigcheck"), lic_01, 711, 1257);
}
#else /* !TVP_HAS_LICENSE_API */
void RegisterSigCheckLicenses() {}
#endif /* TVP_HAS_LICENSE_API */