@@ -6060,6 +6060,9 @@ Throws an error if FIPS mode is not available.
60606060<!-- YAML
60616061added: v12.0.0
60626062changes:
6063+ - version: REPLACEME
6064+ pr-url: https://github.com/nodejs/node/pull/62474
6065+ description: Add support for Ed25519 context parameter.
60636066 - version: v24.8.0
60646067 pr-url: https://github.com/nodejs/node/pull/59570
60656068 description: Add support for ML-DSA, Ed448, and SLH-DSA context parameter.
@@ -6123,9 +6126,10 @@ additional properties can be passed:
61236126 ` crypto.constants.RSA_PSS_SALTLEN_DIGEST ` sets the salt length to the digest
61246127 size, ` crypto.constants.RSA_PSS_SALTLEN_MAX_SIGN ` (default) sets it to the
61256128 maximum permissible value.
6126- * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed448, ML-DSA, and SLH-DSA,
6127- this option specifies the optional context to differentiate signatures generated
6128- for different purposes with the same key.
6129+ * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed25519[ ^ openssl32 ]
6130+ (using Ed25519ctx from [ RFC 8032] [ ] ), Ed448, ML-DSA, and SLH-DSA,
6131+ this option specifies the optional context to differentiate signatures
6132+ generated for different purposes with the same key.
61296133
61306134If the ` callback ` function is provided this function uses libuv's threadpool.
61316135
@@ -6185,6 +6189,9 @@ not introduce timing vulnerabilities.
61856189<!-- YAML
61866190added: v12.0.0
61876191changes:
6192+ - version: REPLACEME
6193+ pr-url: https://github.com/nodejs/node/pull/62474
6194+ description: Add support for Ed25519 context parameter.
61886195 - version: v24.8.0
61896196 pr-url: https://github.com/nodejs/node/pull/59570
61906197 description: Add support for ML-DSA, Ed448, and SLH-DSA context parameter.
@@ -6254,9 +6261,10 @@ additional properties can be passed:
62546261 ` crypto.constants.RSA_PSS_SALTLEN_DIGEST ` sets the salt length to the digest
62556262 size, ` crypto.constants.RSA_PSS_SALTLEN_MAX_SIGN ` (default) sets it to the
62566263 maximum permissible value.
6257- * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed448, ML-DSA, and SLH-DSA,
6258- this option specifies the optional context to differentiate signatures generated
6259- for different purposes with the same key.
6264+ * ` context ` {ArrayBuffer|Buffer|TypedArray|DataView} For Ed25519[ ^ openssl32 ]
6265+ (using Ed25519ctx from [ RFC 8032] [ ] ), Ed448, ML-DSA, and SLH-DSA,
6266+ this option specifies the optional context to differentiate signatures
6267+ generated for different purposes with the same key.
62606268
62616269The ` signature ` argument is the previously calculated signature for the ` data ` .
62626270
@@ -6855,6 +6863,7 @@ See the [list of SSL OP Flags][] for details.
68556863[ RFC 5208 ] : https://www.rfc-editor.org/rfc/rfc5208.txt
68566864[ RFC 5280 ] : https://www.rfc-editor.org/rfc/rfc5280.txt
68576865[ RFC 7517 ] : https://www.rfc-editor.org/rfc/rfc7517.txt
6866+ [ RFC 8032 ] : https://www.rfc-editor.org/rfc/rfc8032.txt
68586867[ Web Crypto API documentation ] : webcrypto.md
68596868[ `BN_is_prime_ex` ] : https://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
68606869[ `Buffer` ] : buffer.md
0 commit comments