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

Side by Side Diff: LayoutTests/crypto/subtle/derive-hkdf-keys-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 deriving HKDF keys with deriveKey()
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Derive an HKDF key from ECDH keys
7 PASS hkdfKey.algorithm.name is "HKDF"
8 PASS typeof hkdfKey.extractable is 'boolean'
9 PASS hkdfKey.extractable is true
10 PASS hkdfKey.usages.join(',') is "deriveKey,deriveBits"
11
12 Derive 128 bits from the HKDF key
13 PASS bytesToHexString(derivedBits) is "2afc8b03741413cd32a80dc9a8451be8"
14
15 Try to derive an HKDF key from an HKDF key
16 error is: TypeError: No length was specified for the HKDF Derive Bits operation.
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698