diff options
author | James M Snell <jasnell@gmail.com> | 2021-01-10 18:53:01 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2021-01-18 19:12:08 +0300 |
commit | bd899bc6562137ef7f9196e3380961b177a9fd7e (patch) | |
tree | 7b526ac3f3f8ddeb24e68a439e2ee264e8c1ee72 /src/env.h | |
parent | 51e77b3ee8f1f360aebd6501d703ee1a3caecb16 (diff) |
crypto: experimental (Ed/X)25519/(Ed/X)448 support
Implements initial experimental support for Curve25519 and
Curve448 support for both ECDH and sign/verify in Web Crypto.
Introduced as a Node.js-specific extension to Web Crypto.
Signed-off-by: James M Snell <jasnell@gmail.com>
Fixes: https://github.com/nodejs/node/issues/36076
PR-URL: https://github.com/nodejs/node/pull/36879
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h index bd5aecd4529..7915297514f 100644 --- a/src/env.h +++ b/src/env.h @@ -280,6 +280,7 @@ constexpr size_t kFsStatsBufferLength = V(isclosing_string, "isClosing") \ V(issuer_string, "issuer") \ V(issuercert_string, "issuerCertificate") \ + V(jwk_crv_string, "crv") \ V(jwk_d_string, "d") \ V(jwk_dp_string, "dp") \ V(jwk_dq_string, "dq") \ @@ -294,6 +295,7 @@ constexpr size_t kFsStatsBufferLength = V(jwk_kty_string, "kty") \ V(jwk_n_string, "n") \ V(jwk_oct_string, "oct") \ + V(jwk_okp_string, "OKP") \ V(jwk_rsa_string, "RSA") \ V(jwk_x_string, "x") \ V(jwk_y_string, "y") \ |