forked from sframe-wg/sframe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-vectors.json
234 lines (234 loc) · 9.36 KB
/
test-vectors.json
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
[
{
"cipher_suite": 1,
"base_key": "101112131415161718191a1b1c1d1e1f",
"key": "343d3290f5c0b936415bea9a43c6f5a2",
"salt": "42d662fbad5cd81eb3aad79a",
"plaintext": "46726f6d2068656176656e6c79206861726d6f6e79202f2f205468697320756e6976657273616c206672616d6520626567616e",
"encryptions": [
{
"kid": 7,
"ctr": 0,
"header": "0700",
"nonce": "42d662fbad5cd81eb3aad79a",
"ciphertext": "0700c5095af9dbbbed6a952de114ea7b42768509f1ffc9749abb1e95bf4514d8d82a0eef4b5ecac16fa193977fa1aa1c9fa5c7e730b934669c"
},
{
"kid": 7,
"ctr": 1,
"header": "0701",
"nonce": "42d662fbad5cd81eb3aad79b",
"ciphertext": "0701559e262525382885c6c93be8f61a9064db2dd1e1e96ab1dbd829ca4af4f45f2b97a4889217a3f8a2159fb8201b7d71db01702b9caf8df6"
},
{
"kid": 7,
"ctr": 2,
"header": "0702",
"nonce": "42d662fbad5cd81eb3aad798",
"ciphertext": "07020a8f21e052eaa09e50da0a909d156cc55b9ef2f2abbcca765f7af3cfb1af234e3eac1dbc376631c83cf1ff1f8ab339dbc41044742c668d"
},
{
"kid": 15,
"ctr": 170,
"header": "080faa",
"nonce": "42d662fbad5cd81eb3aad730",
"ciphertext": "080faa9c65aa5b167873f25827f17bc34879a4aaa6b38dd9584472e1849d5da51555f288d08f03166a5f26af01794006255c88b589861e2f8e3e"
},
{
"kid": 511,
"ctr": 170,
"header": "0901ffaa",
"nonce": "42d662fbad5cd81eb3aad730",
"ciphertext": "0901ffaa9c65aa5b167873f25827f17bc34879a4aaa6b38dd9584472e1849d5da51555f288d08f03166a5f26af01794006255c88b58986ca1ead10"
},
{
"kid": 511,
"ctr": 43690,
"header": "1901ffaaaa",
"nonce": "42d662fbad5cd81eb3aa7d30",
"ciphertext": "1901ffaaaa990cbeb4ae2e3a76be8bb954b62591e791d0fa53c0553bc1d1e021d270b1a10688cd89195203b01978925373b04f9c08c3a4e563e2f6b9"
},
{
"kid": 72057594037927935,
"ctr": 72057594037927935,
"header": "6effffffffffffffffffffffffffff",
"nonce": "42d662fbada327e14c552865",
"ciphertext": "6effffffffffffffffffffffffffff412c43c8077c286f7df3dd9988d1bd033f1067493e09421e5bfc363e50a3c803b4da9239514cb924dbcb5f33e33112083e99108de2ecd6"
}
]
},
{
"cipher_suite": 2,
"base_key": "202122232425262728292a2b2c2d2e2f",
"key": "3fce747d505e46ec9b92d9f58ee7a5d4",
"salt": "77fbf5f1d82c73f6d2b353c9",
"plaintext": "46726f6d2068656176656e6c79206861726d6f6e79202f2f205468697320756e6976657273616c206672616d6520626567616e",
"encryptions": [
{
"kid": 7,
"ctr": 0,
"header": "0700",
"nonce": "77fbf5f1d82c73f6d2b353c9",
"ciphertext": "07009d89e5753e06edf3025f1ccd70b095ebaf10c250e11da740f50f57b6ce860d7321dfa49688a2cd6c6d9a71ae9d5c14ad0978efdd719a7f18c48f07"
},
{
"kid": 7,
"ctr": 1,
"header": "0701",
"nonce": "77fbf5f1d82c73f6d2b353c8",
"ciphertext": "0701becd2e9d10e3eed586491b3e0ecedba89407ae2151787c5117b55707d6b8a0754f4dc937e30ebdf7cafbd3769d6585d7991b1a6bd31e8bddb1adec"
},
{
"kid": 7,
"ctr": 2,
"header": "0702",
"nonce": "77fbf5f1d82c73f6d2b353cb",
"ciphertext": "070298508be6b16d034f15b504ced45a86d1bb43ed7cd3a62bf25557d1b082b04e8e6ba6fe76160835dd8953e1be9640c988627ea447127ae4c103eabd"
},
{
"kid": 15,
"ctr": 170,
"header": "080faa",
"nonce": "77fbf5f1d82c73f6d2b35363",
"ciphertext": "080faae7eec4b0556ddfb8068998351cd670ce95f0ce9cd4c6dca2eeee73fb14d20a0d0fd487337ed43fa7f98dad0995b8b870325aa35a105af9b1004b22"
},
{
"kid": 511,
"ctr": 170,
"header": "0901ffaa",
"nonce": "77fbf5f1d82c73f6d2b35363",
"ciphertext": "0901ffaae7eec4b0556ddfb8068998351cd670ce95f0ce9cd4c6dca2eeee73fb14d20a0d0fd487337ed43fa7f98dad0995b8b870325aa3437cce05a6e67ee8"
},
{
"kid": 511,
"ctr": 43690,
"header": "1901ffaaaa",
"nonce": "77fbf5f1d82c73f6d2b3f963",
"ciphertext": "1901ffaaaa8c1789aa0abcd6abc27006aae4df5cba4ba07f8113080e9726baacd16c18539974a6204a36b9dc3dcd36ed9ab48e590d95d4adfb4290f4cb1ba184"
},
{
"kid": 72057594037927935,
"ctr": 72057594037927935,
"header": "6effffffffffffffffffffffffffff",
"nonce": "77fbf5f1d8d38c092d4cac36",
"ciphertext": "6effffffffffffffffffffffffffffa9bc6c7edde0fdfd13255a5b145c5ce84db8f8960858eb998b8ea8f3e770160150813c5806441b64251bdd2be9e8cec1386b6f8e3b1982bcd16c84"
}
]
},
{
"cipher_suite": 3,
"base_key": "303132333435363738393a3b3c3d3e3f",
"key": "2ea2e8163ff56c0613e6fa9f20a213da",
"salt": "a80478b3f6fba19983d540d5",
"plaintext": "46726f6d2068656176656e6c79206861726d6f6e79202f2f205468697320756e6976657273616c206672616d6520626567616e",
"encryptions": [
{
"kid": 7,
"ctr": 0,
"header": "0700",
"nonce": "a80478b3f6fba19983d540d5",
"ciphertext": "07000e426255e47ed70dd7d15d69d759bf459032ca15f5e8b2a91e7d348aa7c186d403f620801c495b1717a35097411aa97cbb1406afd9f4e5215b46e4a39dc40c27fd6bc7"
},
{
"kid": 7,
"ctr": 1,
"header": "0701",
"nonce": "a80478b3f6fba19983d540d4",
"ciphertext": "070103bbafa34ada8a6b9f2066bc34a1959d87384c9f4b1ce34fed58e938bde143393910b1aeb55b48d91d5b0db3ea67e3d0e02b84e4cf8ecf81f8386f86cda48fcd754191"
},
{
"kid": 7,
"ctr": 2,
"header": "0702",
"nonce": "a80478b3f6fba19983d540d7",
"ciphertext": "070258d58adebd8bf6f3cc0c1fcacf34ba4d7a763b2683fe302a57f1be7f2a274bf81b2236995fec1203cadb146cd402e1c52d5e6aceaa5252822d25acd0ce4ba14e31fa24"
},
{
"kid": 15,
"ctr": 170,
"header": "080faa",
"nonce": "a80478b3f6fba19983d5407f",
"ciphertext": "080faad0b1743bf5248f90869c9456366d55724d16bbe08060875815565e90b114f9ccbdba192422b33848a1ae1e3bd266a001b2f5bb64c0f1216bba82ab24b1ebd677c2ca29"
},
{
"kid": 511,
"ctr": 170,
"header": "0901ffaa",
"nonce": "a80478b3f6fba19983d5407f",
"ciphertext": "0901ffaad0b1743bf5248f90869c9456366d55724d16bbe08060875815565e90b114f9ccbdba192422b33848a1ae1e3bd266a001b2f5bb8c718170432b6f922c1f0fb307514a0e"
},
{
"kid": 511,
"ctr": 43690,
"header": "1901ffaaaa",
"nonce": "a80478b3f6fba19983d5ea7f",
"ciphertext": "1901ffaaaa9de65e21e4f1ca2247b87943c03c5cb7b182090e93d508dcfb76e08174c6397356e682d2eaddabc0b3c1018d2c13c3570f61c185789dff3cb4469cf471ca71ceb025a5"
},
{
"kid": 72057594037927935,
"ctr": 72057594037927935,
"header": "6effffffffffffffffffffffffffff",
"nonce": "a80478b3f6045e667c2abf2a",
"ciphertext": "6effffffffffffffffffffffffffff09981bdcdad80e380b6f74cf6afdbce946839bedadd57578bfcd809dbcea535546cc24660613d2761adea852155785011e633522450f95fd9f8ccc96fa3de9a247cfd3"
}
]
},
{
"cipher_suite": 4,
"base_key": "404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f",
"key": "436774b0b5ae45633d96547f8f3cb06c8e6628eff2e4255b5c4d77e721aa3355",
"salt": "31ed26f90a072e6aee646298",
"plaintext": "46726f6d2068656176656e6c79206861726d6f6e79202f2f205468697320756e6976657273616c206672616d6520626567616e",
"encryptions": [
{
"kid": 7,
"ctr": 0,
"header": "0700",
"nonce": "31ed26f90a072e6aee646298",
"ciphertext": "0700f3e297c1e95207710bd31ccc4ba396fbef7b257440bde638ff0f3c8911540136df61b26220249d6c432c245ae8d55ef45bfccf3afe18dd36d64d8e341653e1a0f10be2"
},
{
"kid": 7,
"ctr": 1,
"header": "0701",
"nonce": "31ed26f90a072e6aee646299",
"ciphertext": "070193268b0bf030071bff443bb6b4471bdfb1cc81bc9625f4697b0336ff4665d15f152f02169448d8a967fb06359a87d2145398de044ee92acfcc27b7a98f38712b60c28c"
},
{
"kid": 7,
"ctr": 2,
"header": "0702",
"nonce": "31ed26f90a072e6aee64629a",
"ciphertext": "0702649691ba27c4c01a41280fba4657c03fa7fe21c8f5c862e9094227c3ca3ec0d9468b1a2cb060ff0978f25a24e6b106f5a6e10534b69d975605f31534caea88b33b455a"
},
{
"kid": 15,
"ctr": 170,
"header": "080faa",
"nonce": "31ed26f90a072e6aee646232",
"ciphertext": "080faa2858c10b5ddd231c1f26819490521678603a050448d563c503b1fd890d02ead01d754f074ecb6f32da9b2f3859f380b4f47d4ed539d6103e61580a82c014b28eb48b4a"
},
{
"kid": 511,
"ctr": 170,
"header": "0901ffaa",
"nonce": "31ed26f90a072e6aee646232",
"ciphertext": "0901ffaa2858c10b5ddd231c1f26819490521678603a050448d563c503b1fd890d02ead01d754f074ecb6f32da9b2f3859f380b4f47d4e32c565b3b3fa20fc7ecff21a1cee3eec"
},
{
"kid": 511,
"ctr": 43690,
"header": "1901ffaaaa",
"nonce": "31ed26f90a072e6aee64c832",
"ciphertext": "1901ffaaaad9bc6a258a07d210a814d545eca70321c0e87498ada6e5c708b7ead162ffcf4fbaba1eb82650590a87122b4d95fe36bd88b278994922fe5c09f14c728521333297f84f"
},
{
"kid": 72057594037927935,
"ctr": 72057594037927935,
"header": "6effffffffffffffffffffffffffff",
"nonce": "31ed26f90af8d195119b9d67",
"ciphertext": "6effffffffffffffffffffffffffffaf480d4779ce0c02b5137ee6a61e026c04ac999cb0c97319feceeb258d58df23bce14979e5c67a431777b34498062e72f939ca4acb471bad80259bb44f78a152487e67"
}
]
}
]