| OLD | NEW |
| (Empty) |
| 1 Tests bad inputs to ECDH's deriveBits() | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 error is: TypeError: Algorithm: name: Missing or not a string | |
| 7 error is: TypeError: EcdhKeyDeriveParams: public: Missing required property | |
| 8 error is: TypeError: Algorithm: Not an object | |
| 9 error is: NotSupportedError: Algorithm: Unrecognized name | |
| 10 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey | |
| 11 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey | |
| 12 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey | |
| 13 error is: InvalidAccessError: The public parameter for ECDH key derivation is fo
r a different named curve | |
| 14 error is: InvalidAccessError: The public parameter for ECDH key derivation is no
t a public EC key | |
| 15 error is: InvalidAccessError: The public parameter for ECDH key derivation must
be for ECDH | |
| 16 PASS successfullyParsed is true | |
| 17 | |
| 18 TEST COMPLETE | |
| 19 | |
| OLD | NEW |