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

Side by Side Diff: third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits-failures-expected.txt

Issue 2837383002: Raise an error when calling WebCrypto's deriveBits() for HKDF with (Closed)
Patch Set: checkpoint Created 3 years, 8 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 | « third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits-failures.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
1 Test bad inputs to HKDF deriveBits() 1 Test bad inputs to HKDF deriveBits()
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 6
7 deriveBits() with an unsupported hash... 7 deriveBits() with an unsupported hash...
8 error is: NotSupportedError: HkdfParams: hash: HMAC: Unsupported operation: dige st 8 error is: NotSupportedError: HkdfParams: hash: HMAC: Unsupported operation: dige st
9 9
10 deriveBits() with an ECDH key... 10 deriveBits() with an ECDH key...
11 error is: InvalidAccessError: key.algorithm does not match that of operation 11 error is: InvalidAccessError: key.algorithm does not match that of operation
12 12
13 deriveBits() with length of 65281... 13 deriveBits() with length of 65281...
14 error is: OperationError: The length provided for HKDF is too large. 14 error is: OperationError: The length provided for HKDF is too large.
15
16 deriveBits() with length of 15...
17 error is: OperationError: The length provided for HKDF is not a multiple of 8 bi ts.
15 PASS successfullyParsed is true 18 PASS successfullyParsed is true
16 19
17 TEST COMPLETE 20 TEST COMPLETE
18 21
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/hkdf/deriveBits-failures.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698