summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-04-27 19:40:59 +0530
committerGitHub <noreply@github.com>2023-04-27 19:40:59 +0530
commitb0264bea7de1901c1b3ed764454290d10613d14b (patch)
treecacf71dca64df1f6f1dde3b44c70b89ce72d9a03 /ext/node/lib.rs
parent742cc3111ccb7c3c12c1b05904be052094657481 (diff)
fix(ext/node): prime generation (#18861)
Towards https://github.com/denoland/deno/issues/18455 `safe`, `add` and `rem` options are not implemented because there is no rust crate that provides this functionality (except rust-openssl maybe) and its just not clear if this API is used widely.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 53b4f5c08..cef92328d 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -213,6 +213,8 @@ deno_core::extension!(deno_node,
ops::crypto::op_node_check_prime_async,
ops::crypto::op_node_check_prime_bytes,
ops::crypto::op_node_check_prime_bytes_async,
+ ops::crypto::op_node_gen_prime,
+ ops::crypto::op_node_gen_prime_async,
ops::crypto::op_node_pbkdf2,
ops::crypto::op_node_pbkdf2_async,
ops::crypto::op_node_hkdf,