From 1e8a6b94b1dcf98a2ae4de97b3e98e7b3e4e8f7f Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 24 Jun 2024 11:47:12 +0200 Subject: fix(ext/node): rewrite crypto.Hash (#24302) Changes in this PR: - Added new fixed size hash algorithms (blake2b512, blake2s256, sha512-224, sha512-256, sha3-224, sha3-256, sha3-384, sha3-512, sm3) - Added variable size hash algorithms (the concept), with the algorithms shake128 and shake256 - Use cppgc instead of resources for the hasher - Enable Node's crypto.Hash tests and fix found bugs --- tests/node_compat/config.jsonc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/node_compat/config.jsonc') diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 0a661c0a9..83d91eac1 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -132,16 +132,17 @@ "tmpdir.js" ], "fixtures": [ - "GH-1899-output.js", "a.js", - "child-process-spawn-node.js", "child_process_should_emit_error.js", + "child-process-spawn-node.js", "echo.js", "elipses.txt", "empty.txt", "exit.js", + "GH-1899-output.js", "loop.js", "print-chars.js", + "sample.png", "x.txt" ], "fixtures/keys": ["agent1-cert.pem", "agent1-key.pem", "ca1-cert.pem"], @@ -253,6 +254,7 @@ "test-console-tty-colors.js", "test-crypto-dh-shared.js", "test-crypto-dh.js", + "test-crypto-hash.js", "test-crypto-hkdf.js", "test-crypto-hmac.js", "test-crypto-prime.js", @@ -701,8 +703,8 @@ "test-zlib-zero-windowBits.js" ], "pseudo-tty": [ - "console-dumb-tty.js", "console_colors.js", + "console-dumb-tty.js", "no_dropped_stdio.js", "no_interleaved_stdio.js", "test-tty-color-support-warning-2.js", -- cgit v1.2.3