mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
845633a7c6
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> |
||
---|---|---|
.. | ||
cluster | ||
crypto | ||
http2 | ||
loader | ||
process | ||
repl | ||
streams | ||
test | ||
util | ||
async_hooks.js | ||
bootstrap_node.js | ||
buffer.js | ||
child_process.js | ||
encoding.js | ||
errors.js | ||
freelist.js | ||
fs.js | ||
http.js | ||
inspector_async_hook.js | ||
linkedlist.js | ||
module.js | ||
net.js | ||
os.js | ||
process.js | ||
querystring.js | ||
readline.js | ||
readme.md | ||
repl.js | ||
safe_globals.js | ||
socket_list.js | ||
tls.js | ||
trace_events_async_hooks.js | ||
url.js | ||
util.js | ||
v8_prof_polyfill.js | ||
v8_prof_processor.js | ||
v8.js | ||
wrap_js_stream.js |
Internal Modules
The modules in lib/internal
are intended for internal use in Node.js core
only, and are not accessible with require()
from user modules. These are
subject to change at any time. Reliance on these modules outside of core
is not supported in any way.