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

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

Issue 822083003: Webcrypto: add layout tests for HKDF algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 Test unwrapping an HKDF key
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS wrappingKey.algorithm.name is "AES-GCM"
7 PASS typeof wrappingKey.extractable is 'boolean'
8 PASS wrappingKey.extractable is false
9 PASS wrappingKey.usages.join(',') is "encrypt,unwrapKey"
10 PASS unwrappedHkdfKey.algorithm.name is "HKDF"
11 PASS typeof unwrappedHkdfKey.extractable is 'boolean'
12 PASS unwrappedHkdfKey.extractable is false
13 PASS unwrappedHkdfKey.usages.join(',') is "deriveBits"
14
15 Unwrapping an HKDF key from a format other than raw should fail.
eroman 2015/01/12 22:35:23 Please describe the action being done, not the exp
nharper 2015/01/13 00:11:16 Done.
16 error is: NotSupportedError: Unsupported import key format for algorithm
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698