OLD | NEW |
1 Tests bad inputs to ECDH's deriveBits() | 1 Tests bad inputs to ECDH's 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() without algorithm name or public key... | 7 deriveBits() without algorithm name or public key... |
8 error is: TypeError: Algorithm: name: Missing or not a string | 8 error is: TypeError: Algorithm: name: Missing or not a string |
9 | 9 |
10 deriveBits() without public key... | 10 deriveBits() without public key... |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 deriveBits() with a private key as the 'public' parameter | 31 deriveBits() with a private key as the 'public' parameter |
32 error is: InvalidAccessError: The public parameter for ECDH key derivation is no
t a public EC key | 32 error is: InvalidAccessError: The public parameter for ECDH key derivation is no
t a public EC key |
33 | 33 |
34 deriveBits() with public key that is for ECDSA... | 34 deriveBits() with public key that is for ECDSA... |
35 error is: InvalidAccessError: The public parameter for ECDH key derivation must
be for ECDH | 35 error is: InvalidAccessError: The public parameter for ECDH key derivation must
be for ECDH |
36 PASS successfullyParsed is true | 36 PASS successfullyParsed is true |
37 | 37 |
38 TEST COMPLETE | 38 TEST COMPLETE |
39 | 39 |
OLD | NEW |