diff options
author | Levente Kurusa <lkurusa@kernelstuff.org> | 2023-04-27 18:31:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 18:31:35 +0200 |
commit | c3d670dbc992ffaff02cd8df82335ee41e88596e (patch) | |
tree | c25719c6d367052aa61b77df18b0fd293ae84934 /ext/node/lib.rs | |
parent | 3fbb31c3c1f85011db9cc616dab0ef113342d7dd (diff) |
feat(node/crypto): Elliptic Curve Diffie-Hellman (ECDH) support (#18832)
- ECDH class
- crypto.createECDH()
- Supported curves:
- secp256k1
- prime256v1 / secp256r1
- secp384r1
- secp224r1
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index cef92328d..b5db83297 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -240,6 +240,9 @@ deno_core::extension!(deno_node, ops::crypto::op_node_random_int, ops::crypto::op_node_scrypt_sync, ops::crypto::op_node_scrypt_async, + ops::crypto::op_node_ecdh_generate_keys, + ops::crypto::op_node_ecdh_compute_secret, + ops::crypto::op_node_ecdh_compute_public_key, ops::crypto::x509::op_node_x509_parse, ops::crypto::x509::op_node_x509_ca, ops::crypto::x509::op_node_x509_check_email, @@ -267,7 +270,6 @@ deno_core::extension!(deno_node, ops::zlib::op_zlib_init, ops::zlib::op_zlib_reset, op_node_build_os, - ops::require::op_require_init_paths, ops::require::op_require_node_module_paths<Env>, ops::require::op_require_proxy_path, |