Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: LayoutTests/crypto/subtle/aes-cbc/cloneKey-expected.txt

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests structured cloning of AES keys 1 Tests structured cloning of AES-CBC keys
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS importedKey.extraProperty is "hi" 6 PASS importedKey.extraProperty is "hi"
7 PASS importedKey.type is "secret" 7 PASS importedKey.type is "secret"
8 PASS typeof importedKey.extractable is 'boolean' 8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is true 9 PASS importedKey.extractable is true
10 PASS importedKey.algorithm.name is "AES-CBC" 10 PASS importedKey.algorithm.name is "AES-CBC"
11 PASS importedKey.algorithm.length is 128 11 PASS importedKey.algorithm.length is 128
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 PASS importedKey is not clonedKey 206 PASS importedKey is not clonedKey
207 PASS clonedKey.extraProperty is undefined. 207 PASS clonedKey.extraProperty is undefined.
208 PASS clonedKey.type is "secret" 208 PASS clonedKey.type is "secret"
209 PASS typeof clonedKey.extractable is 'boolean' 209 PASS typeof clonedKey.extractable is 'boolean'
210 PASS clonedKey.extractable is false 210 PASS clonedKey.extractable is false
211 PASS clonedKey.algorithm.name is "AES-CBC" 211 PASS clonedKey.algorithm.name is "AES-CBC"
212 PASS clonedKey.algorithm.length is 256 212 PASS clonedKey.algorithm.length is 256
213 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 213 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
214 Serialized key bytes: 3f004b010120c2012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00 214 Serialized key bytes: 3f004b010120c2012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00
215 215
216 PASS importedKey.extraProperty is "hi"
217 PASS importedKey.type is "secret"
218 PASS typeof importedKey.extractable is 'boolean'
219 PASS importedKey.extractable is true
220 PASS importedKey.algorithm.name is "AES-GCM"
221 PASS importedKey.algorithm.length is 128
222 PASS importedKey.usages.join(',') is "encrypt"
223 PASS importedKey is not clonedKey
224 PASS clonedKey.extraProperty is undefined.
225 PASS clonedKey.type is "secret"
226 PASS typeof clonedKey.extractable is 'boolean'
227 PASS clonedKey.extractable is true
228 PASS clonedKey.algorithm.name is "AES-GCM"
229 PASS clonedKey.algorithm.length is 128
230 PASS clonedKey.usages.join(',') is "encrypt"
231 Serialized key bytes: 3f004b010910031030112233445566778899aabbccddeeff
232 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
233
234 PASS importedKey.extraProperty is "hi"
235 PASS importedKey.type is "secret"
236 PASS typeof importedKey.extractable is 'boolean'
237 PASS importedKey.extractable is true
238 PASS importedKey.algorithm.name is "AES-GCM"
239 PASS importedKey.algorithm.length is 256
240 PASS importedKey.usages.join(',') is "encrypt"
241 PASS importedKey is not clonedKey
242 PASS clonedKey.extraProperty is undefined.
243 PASS clonedKey.type is "secret"
244 PASS typeof clonedKey.extractable is 'boolean'
245 PASS clonedKey.extractable is true
246 PASS clonedKey.algorithm.name is "AES-GCM"
247 PASS clonedKey.algorithm.length is 256
248 PASS clonedKey.usages.join(',') is "encrypt"
249 Serialized key bytes: 3f004b010920032000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
250 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
251
252 PASS importedKey.extraProperty is "hi"
253 PASS importedKey.type is "secret"
254 PASS typeof importedKey.extractable is 'boolean'
255 PASS importedKey.extractable is true
256 PASS importedKey.algorithm.name is "AES-GCM"
257 PASS importedKey.algorithm.length is 128
258 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
259 PASS importedKey is not clonedKey
260 PASS clonedKey.extraProperty is undefined.
261 PASS clonedKey.type is "secret"
262 PASS typeof clonedKey.extractable is 'boolean'
263 PASS clonedKey.extractable is true
264 PASS clonedKey.algorithm.name is "AES-GCM"
265 PASS clonedKey.algorithm.length is 128
266 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
267 Serialized key bytes: 3f004b010910451030112233445566778899aabbccddeeff
268 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
269
270 PASS importedKey.extraProperty is "hi"
271 PASS importedKey.type is "secret"
272 PASS typeof importedKey.extractable is 'boolean'
273 PASS importedKey.extractable is true
274 PASS importedKey.algorithm.name is "AES-GCM"
275 PASS importedKey.algorithm.length is 256
276 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
277 PASS importedKey is not clonedKey
278 PASS clonedKey.extraProperty is undefined.
279 PASS clonedKey.type is "secret"
280 PASS typeof clonedKey.extractable is 'boolean'
281 PASS clonedKey.extractable is true
282 PASS clonedKey.algorithm.name is "AES-GCM"
283 PASS clonedKey.algorithm.length is 256
284 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
285 Serialized key bytes: 3f004b010920452000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
286 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
287
288 PASS importedKey.extraProperty is "hi"
289 PASS importedKey.type is "secret"
290 PASS typeof importedKey.extractable is 'boolean'
291 PASS importedKey.extractable is true
292 PASS importedKey.algorithm.name is "AES-GCM"
293 PASS importedKey.algorithm.length is 128
294 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
295 PASS importedKey is not clonedKey
296 PASS clonedKey.extraProperty is undefined.
297 PASS clonedKey.type is "secret"
298 PASS typeof clonedKey.extractable is 'boolean'
299 PASS clonedKey.extractable is true
300 PASS clonedKey.algorithm.name is "AES-GCM"
301 PASS clonedKey.algorithm.length is 128
302 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
303 Serialized key bytes: 3f004b010910c3011030112233445566778899aabbccddeeff00
304 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
305
306 PASS importedKey.extraProperty is "hi"
307 PASS importedKey.type is "secret"
308 PASS typeof importedKey.extractable is 'boolean'
309 PASS importedKey.extractable is true
310 PASS importedKey.algorithm.name is "AES-GCM"
311 PASS importedKey.algorithm.length is 256
312 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
313 PASS importedKey is not clonedKey
314 PASS clonedKey.extraProperty is undefined.
315 PASS clonedKey.type is "secret"
316 PASS typeof clonedKey.extractable is 'boolean'
317 PASS clonedKey.extractable is true
318 PASS clonedKey.algorithm.name is "AES-GCM"
319 PASS clonedKey.algorithm.length is 256
320 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
321 Serialized key bytes: 3f004b010920c3012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00
322 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
323
324 PASS importedKey.extraProperty is "hi"
325 PASS importedKey.type is "secret"
326 PASS typeof importedKey.extractable is 'boolean'
327 PASS importedKey.extractable is false
328 PASS importedKey.algorithm.name is "AES-GCM"
329 PASS importedKey.algorithm.length is 128
330 PASS importedKey.usages.join(',') is "encrypt"
331 PASS importedKey is not clonedKey
332 PASS clonedKey.extraProperty is undefined.
333 PASS clonedKey.type is "secret"
334 PASS typeof clonedKey.extractable is 'boolean'
335 PASS clonedKey.extractable is false
336 PASS clonedKey.algorithm.name is "AES-GCM"
337 PASS clonedKey.algorithm.length is 128
338 PASS clonedKey.usages.join(',') is "encrypt"
339 Serialized key bytes: 3f004b010910021030112233445566778899aabbccddeeff
340
341 PASS importedKey.extraProperty is "hi"
342 PASS importedKey.type is "secret"
343 PASS typeof importedKey.extractable is 'boolean'
344 PASS importedKey.extractable is false
345 PASS importedKey.algorithm.name is "AES-GCM"
346 PASS importedKey.algorithm.length is 256
347 PASS importedKey.usages.join(',') is "encrypt"
348 PASS importedKey is not clonedKey
349 PASS clonedKey.extraProperty is undefined.
350 PASS clonedKey.type is "secret"
351 PASS typeof clonedKey.extractable is 'boolean'
352 PASS clonedKey.extractable is false
353 PASS clonedKey.algorithm.name is "AES-GCM"
354 PASS clonedKey.algorithm.length is 256
355 PASS clonedKey.usages.join(',') is "encrypt"
356 Serialized key bytes: 3f004b010920022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
357
358 PASS importedKey.extraProperty is "hi"
359 PASS importedKey.type is "secret"
360 PASS typeof importedKey.extractable is 'boolean'
361 PASS importedKey.extractable is false
362 PASS importedKey.algorithm.name is "AES-GCM"
363 PASS importedKey.algorithm.length is 128
364 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
365 PASS importedKey is not clonedKey
366 PASS clonedKey.extraProperty is undefined.
367 PASS clonedKey.type is "secret"
368 PASS typeof clonedKey.extractable is 'boolean'
369 PASS clonedKey.extractable is false
370 PASS clonedKey.algorithm.name is "AES-GCM"
371 PASS clonedKey.algorithm.length is 128
372 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
373 Serialized key bytes: 3f004b010910441030112233445566778899aabbccddeeff
374
375 PASS importedKey.extraProperty is "hi"
376 PASS importedKey.type is "secret"
377 PASS typeof importedKey.extractable is 'boolean'
378 PASS importedKey.extractable is false
379 PASS importedKey.algorithm.name is "AES-GCM"
380 PASS importedKey.algorithm.length is 256
381 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
382 PASS importedKey is not clonedKey
383 PASS clonedKey.extraProperty is undefined.
384 PASS clonedKey.type is "secret"
385 PASS typeof clonedKey.extractable is 'boolean'
386 PASS clonedKey.extractable is false
387 PASS clonedKey.algorithm.name is "AES-GCM"
388 PASS clonedKey.algorithm.length is 256
389 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
390 Serialized key bytes: 3f004b010920442000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
391
392 PASS importedKey.extraProperty is "hi"
393 PASS importedKey.type is "secret"
394 PASS typeof importedKey.extractable is 'boolean'
395 PASS importedKey.extractable is false
396 PASS importedKey.algorithm.name is "AES-GCM"
397 PASS importedKey.algorithm.length is 128
398 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
399 PASS importedKey is not clonedKey
400 PASS clonedKey.extraProperty is undefined.
401 PASS clonedKey.type is "secret"
402 PASS typeof clonedKey.extractable is 'boolean'
403 PASS clonedKey.extractable is false
404 PASS clonedKey.algorithm.name is "AES-GCM"
405 PASS clonedKey.algorithm.length is 128
406 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
407 Serialized key bytes: 3f004b010910c2011030112233445566778899aabbccddeeff00
408
409 PASS importedKey.extraProperty is "hi"
410 PASS importedKey.type is "secret"
411 PASS typeof importedKey.extractable is 'boolean'
412 PASS importedKey.extractable is false
413 PASS importedKey.algorithm.name is "AES-GCM"
414 PASS importedKey.algorithm.length is 256
415 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
416 PASS importedKey is not clonedKey
417 PASS clonedKey.extraProperty is undefined.
418 PASS clonedKey.type is "secret"
419 PASS typeof clonedKey.extractable is 'boolean'
420 PASS clonedKey.extractable is false
421 PASS clonedKey.algorithm.name is "AES-GCM"
422 PASS clonedKey.algorithm.length is 256
423 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
424 Serialized key bytes: 3f004b010920c2012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00
425
426 PASS successfullyParsed is true 216 PASS successfullyParsed is true
427 217
428 TEST COMPLETE 218 TEST COMPLETE
429 219
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/aes-cbc/cloneKey.html ('k') | LayoutTests/crypto/subtle/aes-ctr/cloneKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698