Files
node/doc/api
Jose M. Palacios Diaz 845633a7c6 crypto: better docs for cases where peer's public key is invalid
changes in c++ are in the computeSecret function, but the thrown
exception that was moved to JS land was in BufferToPoint
function, here i let the allocation error be thrown so the only value
returned is the nullptr that i use later to catch the error in
computeSecret, to then construct the exception in JS land.

an ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY error was added to errors.js
and with that, subsequent changes to docs and tests were made.

PR-URL: https://github.com/nodejs/node/pull/16849
Refs: https://www.iacr.org/archive/pkc2003/25670211/25670211.pdf
Fixes: https://github.com/nodejs/node/issues/16625
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2017-12-01 21:18:11 +01:00
..
2017-11-27 19:17:14 -05:00
2017-11-07 15:35:31 -05:00
2017-11-18 14:11:41 +02:00
2017-11-23 14:59:12 +01:00
2017-11-16 15:30:33 -05:00
2017-11-11 13:35:23 -08:00
2017-11-28 02:36:34 +01:00
2017-10-31 12:59:12 -07:00
2017-10-31 12:59:12 -07:00
2017-11-28 16:13:33 -05:00
2017-11-18 22:25:05 +01:00
2017-12-01 20:44:52 +01:00
2017-11-07 10:08:16 +00:00
2017-12-01 21:00:33 +01:00