diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-09-05 22:31:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 11:01:50 +0530 |
commit | 9befa566ec3ef4594fd7ffb2cbdf5b34d9705e16 (patch) | |
tree | b70936cb5bb1e1f73a84ccf3dc9f5edfe085f7a3 /cli/tests/integration/node_unit_tests.rs | |
parent | a0af53fea134f712408fa2d2d20078dd8ca7d0e6 (diff) |
fix(ext/node): implement AES GCM cipher (#20368)
Adds support for AES-GCM 128/256 bit keys in `node:crypto` and
`setAAD()`, `setAuthTag()` and `getAuthTag()`
Uses https://github.com/littledivy/aead-gcm-stream
Fixes https://github.com/denoland/deno/issues/19836
https://github.com/denoland/deno/issues/20353
Diffstat (limited to 'cli/tests/integration/node_unit_tests.rs')
-rw-r--r-- | cli/tests/integration/node_unit_tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/integration/node_unit_tests.rs b/cli/tests/integration/node_unit_tests.rs index 6f1f6fea9..05aa4c45a 100644 --- a/cli/tests/integration/node_unit_tests.rs +++ b/cli/tests/integration/node_unit_tests.rs @@ -54,6 +54,7 @@ util::unit_test_factory!( buffer_test, child_process_test, crypto_cipher_test = crypto / crypto_cipher_test, + crypto_cipher_gcm_test = crypto / crypto_cipher_gcm_test, crypto_hash_test = crypto / crypto_hash_test, crypto_key_test = crypto / crypto_key_test, crypto_sign_test = crypto / crypto_sign_test, |