forked from TeamMolecule/sceutils
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkeys_proto.py
128 lines (116 loc) · 3 KB
/
keys_proto.py
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
from scetypes import *
ENC_KEY = binascii.a2b_hex('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
ENC_IV = binascii.a2b_hex('AF5F2CB04AC1751ABF51CEF1C8096210')
XXX_KEY = binascii.a2b_hex('992EF70868DE1B219EC3618FA79DAEC39067FE5638116C29FC0FF7E2A58FBD9E')
XXX_IV = binascii.a2b_hex('00000000000000000000000000000000')
SCE_KEYS = KeyStore()
SCE_KEYS.register(
KeyType.METADATA,
SceType.SPKG,
0,
'FA88E5B5CBB49603DF689F139045E7C3C9C7E33B5923DF54E4C5FE5298B4FD32',
'5EAA69AB35E737EC22C721A916E00263',
0x00000000000,
0xFFF00000000,
SelfType.NONE
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
1,
'B982589B568CDD4055433747DF19644A8D1B479B17CA44ECE5E82694550FEC74',
'BECEDF96543939032CC4DD7D95E47720',
0x00000000000,
0xFFF00000000,
SelfType.SECURE
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
1,
'9EE16CA4AADD77F53BEE0F4AE3D45326D009806D2DE9942CE0836E43DC5DD1CE',
'CFBA84A87EE29C9A521CA20691485E45',
0x00000000000,
0xFFF00000000,
SelfType.BOOT
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SRVK,
0,
'A603AA68753CEE3E186C81900A862DCDB13505D39FC59C62BBFAD94C526B8A06',
'352F596CFB513A148B95F9D78E57E755',
0x00000000000,
0xFFF00000000,
SelfType.NONE
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
1,
'61E7E786BB6F67570A71FC92E73885439CD16B96BC7C37C200EF11D3446FCF69',
'99E8B68EE784FDAFC3294B8E55F0C529',
0x00000000000,
0xFFF00000000,
SelfType.KERNEL
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
0,
'DA3BE69B77B3A857EA4F6CDC73C0AB0590C0A95E145B8D55D2D3A6447C247F46',
'A0385383AB31497E3AFB7CCDDB30CA5A',
0x00000000000,
0xFFF00000000,
SelfType.USER
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
1,
'8D355E70736EF7AA508D640D8D382B19D9C8747C4A8273A6D5707F227F49592E',
'BEB4819878915F3025978538693B3EBB',
0x00000000000,
0xFFF00000000,
SelfType.USER
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
0,
'AAA508FA5E85EAEE597ED2B27804D22287CFADF1DF32EDC7A7C58E8C9AA8BB36',
'CD1BD3A59200CC67A3B804808DC2AE73',
0x00000000000,
0x16920000000,
SelfType.APP
)
SCE_KEYS.register(
KeyType.METADATA,
SceType.SELF,
1,
'4181B2DF5F5D94D3C80B7D86EACF1928533A49BA58EDE2B43CDEE7E572568BD4',
'B1678C0543B6C1997B63A6F4F3C8FD33',
0x00000000000,
0xFFFFFFFFFFFFFFFFFFFFFF,
SelfType.APP
)
SCE_KEYS.register(
KeyType.NPDRM,
SceType.SELF,
0,
'C10368BF3D2943BC6E5BD05E46A9A7B6',
'00000000000000000000000000000000',
0x00000000000,
0xFFFFFFFFFFFFFFFFFFFFFF,
SelfType.APP
)
SCE_KEYS.register(
KeyType.NPDRM,
SceType.SELF,
1,
'00000000000000000000000000000000',
'00000000000000000000000000000000',
0x00000000000,
0xFFFFFFFFFFFFFFFFFFFFFF,
SelfType.APP
)