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

Side by Side Diff: LayoutTests/crypto/subtle/clone-hkdfKey-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 HKDF 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 false
10 PASS importedKey.algorithm.name is "HKDF"
11 PASS importedKey.usages.join(',') is "deriveBits"
12 PASS importedKey is not clonedKey
13 PASS clonedKey.extraProperty is undefined.
14 PASS clonedKey.type is "secret"
15 PASS typeof clonedKey.extractable is 'boolean'
16 PASS clonedKey.extractable is false
17 PASS clonedKey.algorithm.name is "HKDF"
18 PASS clonedKey.usages.join(',') is "deriveBits"
19 Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff
20
21 PASS importedKey.extraProperty is "hi"
22 PASS importedKey.type is "secret"
23 PASS typeof importedKey.extractable is 'boolean'
24 PASS importedKey.extractable is false
25 PASS importedKey.algorithm.name is "HKDF"
26 PASS importedKey.usages.join(',') is "deriveBits"
27 PASS importedKey is not clonedKey
28 PASS clonedKey.extraProperty is undefined.
29 PASS clonedKey.type is "secret"
30 PASS typeof clonedKey.extractable is 'boolean'
31 PASS clonedKey.extractable is false
32 PASS clonedKey.algorithm.name is "HKDF"
33 PASS clonedKey.usages.join(',') is "deriveBits"
34 Serialized key bytes: 3f004b061080022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
35
36 PASS importedKey.extraProperty is "hi"
37 PASS importedKey.type is "secret"
38 PASS typeof importedKey.extractable is 'boolean'
39 PASS importedKey.extractable is false
40 PASS importedKey.algorithm.name is "HKDF"
41 PASS importedKey.usages.join(',') is "deriveKey"
42 PASS importedKey is not clonedKey
43 PASS clonedKey.extraProperty is undefined.
44 PASS clonedKey.type is "secret"
45 PASS typeof clonedKey.extractable is 'boolean'
46 PASS clonedKey.extractable is false
47 PASS clonedKey.algorithm.name is "HKDF"
48 PASS clonedKey.usages.join(',') is "deriveKey"
49 Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00
50
51 PASS importedKey.extraProperty is "hi"
52 PASS importedKey.type is "secret"
53 PASS typeof importedKey.extractable is 'boolean'
54 PASS importedKey.extractable is false
55 PASS importedKey.algorithm.name is "HKDF"
56 PASS importedKey.usages.join(',') is "deriveKey"
57 PASS importedKey is not clonedKey
58 PASS clonedKey.extraProperty is undefined.
59 PASS clonedKey.type is "secret"
60 PASS typeof clonedKey.extractable is 'boolean'
61 PASS clonedKey.extractable is false
62 PASS clonedKey.algorithm.name is "HKDF"
63 PASS clonedKey.usages.join(',') is "deriveKey"
64 Serialized key bytes: 3f004b0610202000112233445546778899aabbccddeeff000102030405 060708090a0b0c0d0e0f00
65
66 PASS importedKey.extraProperty is "hi"
67 PASS importedKey.type is "secret"
68 PASS typeof importedKey.extractable is 'boolean'
69 PASS importedKey.extractable is false
70 PASS importedKey.algorithm.name is "HKDF"
71 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
72 PASS importedKey is not clonedKey
73 PASS clonedKey.extraProperty is undefined.
74 PASS clonedKey.type is "secret"
75 PASS typeof clonedKey.extractable is 'boolean'
76 PASS clonedKey.extractable is false
77 PASS clonedKey.algorithm.name is "HKDF"
78 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
79 Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff
80
81 PASS importedKey.extraProperty is "hi"
82 PASS importedKey.type is "secret"
83 PASS typeof importedKey.extractable is 'boolean'
84 PASS importedKey.extractable is false
85 PASS importedKey.algorithm.name is "HKDF"
86 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
87 PASS importedKey is not clonedKey
88 PASS clonedKey.extraProperty is undefined.
89 PASS clonedKey.type is "secret"
90 PASS typeof clonedKey.extractable is 'boolean'
91 PASS clonedKey.extractable is false
92 PASS clonedKey.algorithm.name is "HKDF"
93 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
94 Serialized key bytes: 3f004b0610a0022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
95
96 PASS importedKey.extraProperty is "hi"
97 PASS importedKey.type is "secret"
98 PASS typeof importedKey.extractable is 'boolean'
99 PASS importedKey.extractable is false
100 PASS importedKey.algorithm.name is "HKDF"
101 PASS importedKey.usages.join(',') is "deriveBits"
102 PASS importedKey is not clonedKey
103 PASS clonedKey.extraProperty is undefined.
104 PASS clonedKey.type is "secret"
105 PASS typeof clonedKey.extractable is 'boolean'
106 PASS clonedKey.extractable is false
107 PASS clonedKey.algorithm.name is "HKDF"
108 PASS clonedKey.usages.join(',') is "deriveBits"
109 Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff
110
111 PASS importedKey.extraProperty is "hi"
112 PASS importedKey.type is "secret"
113 PASS typeof importedKey.extractable is 'boolean'
114 PASS importedKey.extractable is false
115 PASS importedKey.algorithm.name is "HKDF"
116 PASS importedKey.usages.join(',') is "deriveBits"
117 PASS importedKey is not clonedKey
118 PASS clonedKey.extraProperty is undefined.
119 PASS clonedKey.type is "secret"
120 PASS typeof clonedKey.extractable is 'boolean'
121 PASS clonedKey.extractable is false
122 PASS clonedKey.algorithm.name is "HKDF"
123 PASS clonedKey.usages.join(',') is "deriveBits"
124 Serialized key bytes: 3f004b061080022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
125
126 PASS importedKey.extraProperty is "hi"
127 PASS importedKey.type is "secret"
128 PASS typeof importedKey.extractable is 'boolean'
129 PASS importedKey.extractable is false
130 PASS importedKey.algorithm.name is "HKDF"
131 PASS importedKey.usages.join(',') is "deriveKey"
132 PASS importedKey is not clonedKey
133 PASS clonedKey.extraProperty is undefined.
134 PASS clonedKey.type is "secret"
135 PASS typeof clonedKey.extractable is 'boolean'
136 PASS clonedKey.extractable is false
137 PASS clonedKey.algorithm.name is "HKDF"
138 PASS clonedKey.usages.join(',') is "deriveKey"
139 Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00
140
141 PASS importedKey.extraProperty is "hi"
142 PASS importedKey.type is "secret"
143 PASS typeof importedKey.extractable is 'boolean'
144 PASS importedKey.extractable is false
145 PASS importedKey.algorithm.name is "HKDF"
146 PASS importedKey.usages.join(',') is "deriveKey"
147 PASS importedKey is not clonedKey
148 PASS clonedKey.extraProperty is undefined.
149 PASS clonedKey.type is "secret"
150 PASS typeof clonedKey.extractable is 'boolean'
151 PASS clonedKey.extractable is false
152 PASS clonedKey.algorithm.name is "HKDF"
153 PASS clonedKey.usages.join(',') is "deriveKey"
154 Serialized key bytes: 3f004b0610202000112233445546778899aabbccddeeff000102030405 060708090a0b0c0d0e0f00
155
156 PASS importedKey.extraProperty is "hi"
157 PASS importedKey.type is "secret"
158 PASS typeof importedKey.extractable is 'boolean'
159 PASS importedKey.extractable is false
160 PASS importedKey.algorithm.name is "HKDF"
161 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
162 PASS importedKey is not clonedKey
163 PASS clonedKey.extraProperty is undefined.
164 PASS clonedKey.type is "secret"
165 PASS typeof clonedKey.extractable is 'boolean'
166 PASS clonedKey.extractable is false
167 PASS clonedKey.algorithm.name is "HKDF"
168 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
169 Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff
170
171 PASS importedKey.extraProperty is "hi"
172 PASS importedKey.type is "secret"
173 PASS typeof importedKey.extractable is 'boolean'
174 PASS importedKey.extractable is false
175 PASS importedKey.algorithm.name is "HKDF"
176 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
177 PASS importedKey is not clonedKey
178 PASS clonedKey.extraProperty is undefined.
179 PASS clonedKey.type is "secret"
180 PASS typeof clonedKey.extractable is 'boolean'
181 PASS clonedKey.extractable is false
182 PASS clonedKey.algorithm.name is "HKDF"
183 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
184 Serialized key bytes: 3f004b0610a0022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
185
186 PASS importedKey.extraProperty is "hi"
187 PASS importedKey.type is "secret"
188 PASS typeof importedKey.extractable is 'boolean'
189 PASS importedKey.extractable is false
190 PASS importedKey.algorithm.name is "HKDF"
191 PASS importedKey.usages.join(',') is "deriveBits"
192 PASS importedKey is not clonedKey
193 PASS clonedKey.extraProperty is undefined.
194 PASS clonedKey.type is "secret"
195 PASS typeof clonedKey.extractable is 'boolean'
196 PASS clonedKey.extractable is false
197 PASS clonedKey.algorithm.name is "HKDF"
198 PASS clonedKey.usages.join(',') is "deriveBits"
199 Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff
200
201 PASS importedKey.extraProperty is "hi"
202 PASS importedKey.type is "secret"
203 PASS typeof importedKey.extractable is 'boolean'
204 PASS importedKey.extractable is false
205 PASS importedKey.algorithm.name is "HKDF"
206 PASS importedKey.usages.join(',') is "deriveBits"
207 PASS importedKey is not clonedKey
208 PASS clonedKey.extraProperty is undefined.
209 PASS clonedKey.type is "secret"
210 PASS typeof clonedKey.extractable is 'boolean'
211 PASS clonedKey.extractable is false
212 PASS clonedKey.algorithm.name is "HKDF"
213 PASS clonedKey.usages.join(',') is "deriveBits"
214 Serialized key bytes: 3f004b061080022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
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 false
220 PASS importedKey.algorithm.name is "HKDF"
221 PASS importedKey.usages.join(',') is "deriveKey"
222 PASS importedKey is not clonedKey
223 PASS clonedKey.extraProperty is undefined.
224 PASS clonedKey.type is "secret"
225 PASS typeof clonedKey.extractable is 'boolean'
226 PASS clonedKey.extractable is false
227 PASS clonedKey.algorithm.name is "HKDF"
228 PASS clonedKey.usages.join(',') is "deriveKey"
229 Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00
230
231 PASS importedKey.extraProperty is "hi"
232 PASS importedKey.type is "secret"
233 PASS typeof importedKey.extractable is 'boolean'
234 PASS importedKey.extractable is false
235 PASS importedKey.algorithm.name is "HKDF"
236 PASS importedKey.usages.join(',') is "deriveKey"
237 PASS importedKey is not clonedKey
238 PASS clonedKey.extraProperty is undefined.
239 PASS clonedKey.type is "secret"
240 PASS typeof clonedKey.extractable is 'boolean'
241 PASS clonedKey.extractable is false
242 PASS clonedKey.algorithm.name is "HKDF"
243 PASS clonedKey.usages.join(',') is "deriveKey"
244 Serialized key bytes: 3f004b0610202000112233445546778899aabbccddeeff000102030405 060708090a0b0c0d0e0f00
245
246 PASS importedKey.extraProperty is "hi"
247 PASS importedKey.type is "secret"
248 PASS typeof importedKey.extractable is 'boolean'
249 PASS importedKey.extractable is false
250 PASS importedKey.algorithm.name is "HKDF"
251 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
252 PASS importedKey is not clonedKey
253 PASS clonedKey.extraProperty is undefined.
254 PASS clonedKey.type is "secret"
255 PASS typeof clonedKey.extractable is 'boolean'
256 PASS clonedKey.extractable is false
257 PASS clonedKey.algorithm.name is "HKDF"
258 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
259 Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff
260
261 PASS importedKey.extraProperty is "hi"
262 PASS importedKey.type is "secret"
263 PASS typeof importedKey.extractable is 'boolean'
264 PASS importedKey.extractable is false
265 PASS importedKey.algorithm.name is "HKDF"
266 PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
267 PASS importedKey is not clonedKey
268 PASS clonedKey.extraProperty is undefined.
269 PASS clonedKey.type is "secret"
270 PASS typeof clonedKey.extractable is 'boolean'
271 PASS clonedKey.extractable is false
272 PASS clonedKey.algorithm.name is "HKDF"
273 PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
274 Serialized key bytes: 3f004b0610a0022000112233445546778899aabbccddeeff0001020304 05060708090a0b0c0d0e0f
275
276 PASS successfullyParsed is true
277
278 TEST COMPLETE
279
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/clone-hkdfKey.html ('k') | LayoutTests/crypto/subtle/clone-hmacKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698