summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-10-24 10:04:25 -0700
committerJames M Snell <jasnell@gmail.com>2017-10-26 07:47:16 -0700
commiteeada6ca63d57354aef3e5907097c56a5b9fb347 (patch)
tree4f622499b23e44bedc34ef2fc1366eb167913979 /doc
parent664512678d8d02e2ef413136cf262dcf7debb42d (diff)
downloadandroid-node-v8-eeada6ca63d57354aef3e5907097c56a5b9fb347.tar.gz
android-node-v8-eeada6ca63d57354aef3e5907097c56a5b9fb347.tar.bz2
android-node-v8-eeada6ca63d57354aef3e5907097c56a5b9fb347.zip
crypto: migrate timingSafeEqual to internal/errors
PR-URL: https://github.com/nodejs/node/pull/16448 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/errors.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 804d26ab29..4a20e14306 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -648,6 +648,12 @@ Used when an invalid crypto engine identifier is passed to
Used when an invalid [crypto digest algorithm][] is specified.
+<a id="ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH"></a>
+### ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH
+
+Used when calling [`crypto.timingSafeEqual()`][] with `Buffer`, `TypedArray`,
+or `DataView` arguments of different lengths.
+
<a id="ERR_DNS_SET_SERVERS_FAILED"></a>
### ERR_DNS_SET_SERVERS_FAILED
@@ -1348,6 +1354,7 @@ Used when a given value is out of the accepted range.
Used when an attempt is made to use a `zlib` object after it has already been
closed.
+[`crypto.timingSafeEqual()`]: crypto.html#crypto_crypto_timingsafeequal_a_b
[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE
[`subprocess.kill()`]: child_process.html#child_process_subprocess_kill_signal
[`subprocess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback