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

Side by Side Diff: LayoutTests/crypto/subtle/aes-ctr/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
(Empty)
1 Tests structured cloning of AES-CTR keys
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS importedKey.extraProperty is "hi"
7 PASS importedKey.type is "secret"
8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is true
10 PASS importedKey.algorithm.name is "AES-CTR"
11 PASS importedKey.algorithm.length is 128
12 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey"
13 PASS importedKey is not clonedKey
14 PASS clonedKey.extraProperty is undefined.
15 PASS clonedKey.type is "secret"
16 PASS typeof clonedKey.extractable is 'boolean'
17 PASS clonedKey.extractable is true
18 PASS clonedKey.algorithm.name is "AES-CTR"
19 PASS clonedKey.algorithm.length is 128
20 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey"
21 Serialized key bytes: 3f004b010b10c1011030112233445566778899aabbccddeeff00
22 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
23
24 PASS importedKey.extraProperty is "hi"
25 PASS importedKey.type is "secret"
26 PASS typeof importedKey.extractable is 'boolean'
27 PASS importedKey.extractable is true
28 PASS importedKey.algorithm.name is "AES-CTR"
29 PASS importedKey.algorithm.length is 256
30 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey"
31 PASS importedKey is not clonedKey
32 PASS clonedKey.extraProperty is undefined.
33 PASS clonedKey.type is "secret"
34 PASS typeof clonedKey.extractable is 'boolean'
35 PASS clonedKey.extractable is true
36 PASS clonedKey.algorithm.name is "AES-CTR"
37 PASS clonedKey.algorithm.length is 256
38 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey"
39 Serialized key bytes: 3f004b010b20c1012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00
40 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
41
42 PASS importedKey.extraProperty is "hi"
43 PASS importedKey.type is "secret"
44 PASS typeof importedKey.extractable is 'boolean'
45 PASS importedKey.extractable is false
46 PASS importedKey.algorithm.name is "AES-CTR"
47 PASS importedKey.algorithm.length is 128
48 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey"
49 PASS importedKey is not clonedKey
50 PASS clonedKey.extraProperty is undefined.
51 PASS clonedKey.type is "secret"
52 PASS typeof clonedKey.extractable is 'boolean'
53 PASS clonedKey.extractable is false
54 PASS clonedKey.algorithm.name is "AES-CTR"
55 PASS clonedKey.algorithm.length is 128
56 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey"
57 Serialized key bytes: 3f004b010b10c0011030112233445566778899aabbccddeeff00
58
59 PASS importedKey.extraProperty is "hi"
60 PASS importedKey.type is "secret"
61 PASS typeof importedKey.extractable is 'boolean'
62 PASS importedKey.extractable is false
63 PASS importedKey.algorithm.name is "AES-CTR"
64 PASS importedKey.algorithm.length is 256
65 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey"
66 PASS importedKey is not clonedKey
67 PASS clonedKey.extraProperty is undefined.
68 PASS clonedKey.type is "secret"
69 PASS typeof clonedKey.extractable is 'boolean'
70 PASS clonedKey.extractable is false
71 PASS clonedKey.algorithm.name is "AES-CTR"
72 PASS clonedKey.algorithm.length is 256
73 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey"
74 Serialized key bytes: 3f004b010b20c0012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00
75
76 PASS successfullyParsed is true
77
78 TEST COMPLETE
79
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/aes-ctr/cloneKey.html ('k') | LayoutTests/crypto/subtle/aes-gcm/cloneKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698