@@ -6037,6 +6037,9 @@ Throws an error if FIPS mode is not available.
60376037<!-- YAML
60386038added: v12.0.0
60396039changes:
6040+ - version: REPLACEME
6041+ pr-url: https://github.com/nodejs/node/pull/62474
6042+ description: Add support for Ed25519 context parameter.
60406043 - version: v24.8.0
60416044 pr-url: https://github.com/nodejs/node/pull/59570
60426045 description: Add support for ML-DSA, Ed448, and SLH-DSA context parameter.
@@ -6100,9 +6103,10 @@ additional properties can be passed:
61006103 ` crypto.constants.RSA_PSS_SALTLEN_DIGEST ` sets the salt length to the digest
61016104 size, ` crypto.constants.RSA_PSS_SALTLEN_MAX_SIGN ` (default) sets it to the
61026105 maximum permissible value.
6103- * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed448, ML-DSA, and SLH-DSA,
6104- this option specifies the optional context to differentiate signatures generated
6105- for different purposes with the same key.
6106+ * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed25519[ ^ openssl32 ]
6107+ (using Ed25519ctx from [ RFC 8032] [ ] ), Ed448, ML-DSA, and SLH-DSA,
6108+ this option specifies the optional context to differentiate signatures
6109+ generated for different purposes with the same key.
61066110
61076111If the ` callback ` function is provided this function uses libuv's threadpool.
61086112
@@ -6162,6 +6166,9 @@ not introduce timing vulnerabilities.
61626166<!-- YAML
61636167added: v12.0.0
61646168changes:
6169+ - version: REPLACEME
6170+ pr-url: https://github.com/nodejs/node/pull/62474
6171+ description: Add support for Ed25519 context parameter.
61656172 - version: v24.8.0
61666173 pr-url: https://github.com/nodejs/node/pull/59570
61676174 description: Add support for ML-DSA, Ed448, and SLH-DSA context parameter.
@@ -6231,9 +6238,10 @@ additional properties can be passed:
62316238 ` crypto.constants.RSA_PSS_SALTLEN_DIGEST ` sets the salt length to the digest
62326239 size, ` crypto.constants.RSA_PSS_SALTLEN_MAX_SIGN ` (default) sets it to the
62336240 maximum permissible value.
6234- * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed448, ML-DSA, and SLH-DSA,
6235- this option specifies the optional context to differentiate signatures generated
6236- for different purposes with the same key.
6241+ * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed25519[ ^ openssl32 ]
6242+ (using Ed25519ctx from [ RFC 8032] [ ] ), Ed448, ML-DSA, and SLH-DSA,
6243+ this option specifies the optional context to differentiate signatures
6244+ generated for different purposes with the same key.
62376245
62386246The ` signature ` argument is the previously calculated signature for the ` data ` .
62396247
@@ -6832,6 +6840,7 @@ See the [list of SSL OP Flags][] for details.
68326840[ RFC 5208 ] : https://www.rfc-editor.org/rfc/rfc5208.txt
68336841[ RFC 5280 ] : https://www.rfc-editor.org/rfc/rfc5280.txt
68346842[ RFC 7517 ] : https://www.rfc-editor.org/rfc/rfc7517.txt
6843+ [ RFC 8032 ] : https://www.rfc-editor.org/rfc/rfc8032.txt
68356844[ Web Crypto API documentation ] : webcrypto.md
68366845[ `BN_is_prime_ex` ] : https://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
68376846[ `Buffer` ] : buffer.md
0 commit comments