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

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: remove duplicate test case 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
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf-unwrapKey.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Unwrap an HKDF key using pkcs8 as the format.
16 error is: NotSupportedError: Unsupported import key format for algorithm
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf-unwrapKey.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698