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

Side by Side Diff: LayoutTests/crypto/subtle/hkdf/deriveBits-failures-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 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 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698