Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Test bad inputs to HKDF deriveBits() | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
| 4 | |
| 5 | |
| 6 | |
| 7 deriveBits() with an unsupported hash... | |
| 8 error is: NotSupportedError: HkdfParams: hash: HMAC: Unsupported operation: dige st | |
| 9 | |
| 10 deriveBits() with a key that doesn't match the algorithm... | |
|
eroman
2015/01/07 01:18:43
would be better to say here "with an ECDH key" or
nharper
2015/01/09 22:41:46
Done.
| |
| 11 error is: InvalidAccessError: key.algorithm does not match that of operation | |
| 12 | |
| 13 deriveBits() with requested length too long... | |
| 14 error is: OperationError: The length provided for HKDF is too large. | |
| 15 PASS successfullyParsed is true | |
| 16 | |
| 17 TEST COMPLETE | |
| 18 | |
| OLD | NEW |