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

Side by Side Diff: LayoutTests/crypto/subtle/hkdf/deriveKey-expected.txt

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 10 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 Test that keys can be derived from an HKDF key 1 Test that keys can be derived from an HKDF key
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 derivedKey.type is "secret" 6 PASS derivedKey.type is "secret"
7 PASS typeof derivedKey.extractable is 'boolean' 7 PASS typeof derivedKey.extractable is 'boolean'
8 PASS derivedKey.extractable is true 8 PASS derivedKey.extractable is true
9 PASS derivedKey.algorithm.name is "AES-GCM" 9 PASS derivedKey.algorithm.name is "AES-GCM"
10 PASS derivedKey.usages.join(',') is "encrypt" 10 PASS derivedKey.usages.join(',') is "encrypt"
11 11
12 Try to derive an HKDF key... 12 Try to derive an HKDF key...
13 error is: TypeError: No length was specified for the HKDF Derive Bits operation. 13 error is: TypeError: No length was specified for the HKDF Derive Bits operation.
14 PASS emptyKey.type is "secret" 14 PASS emptyKey.type is "secret"
15 PASS typeof emptyKey.extractable is 'boolean' 15 PASS typeof emptyKey.extractable is 'boolean'
16 PASS emptyKey.extractable is true 16 PASS emptyKey.extractable is true
17 PASS emptyKey.algorithm.name is "HKDF" 17 PASS emptyKey.algorithm.name is "HKDF"
18 PASS emptyKey.usages.join(',') is "deriveKey" 18 PASS emptyKey.usages.join(',') is "deriveKey"
19 PASS derivedKey.type is "secret" 19 PASS derivedKey.type is "secret"
20 PASS typeof derivedKey.extractable is 'boolean' 20 PASS typeof derivedKey.extractable is 'boolean'
21 PASS derivedKey.extractable is true 21 PASS derivedKey.extractable is true
22 PASS derivedKey.algorithm.name is "AES-GCM" 22 PASS derivedKey.algorithm.name is "AES-GCM"
23 PASS derivedKey.usages.join(',') is "encrypt" 23 PASS derivedKey.usages.join(',') is "encrypt"
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf/deriveKey.html ('k') | LayoutTests/crypto/subtle/hkdf/exportKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698