node/benchmark/crypto
Tobias Nießen 08609b5222
crypto: make timingSafeEqual faster for Uint8Array
Add a fast API that V8 can use if the user supplies Uint8Arrays
(including Buffers) to timingSafeEqual.

PR-URL: https://github.com/nodejs/node/pull/52341
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2024-04-08 11:36:53 +00:00
..
aes-gcm-throughput.js benchmark: update iterations in benchmark/crypto/aes-gcm-throughput.js 2023-12-09 18:25:14 +00:00
create-hash.js benchmark: add create-hash benchmark 2023-12-05 22:59:31 +00:00
create-keyobject.js benchmark: add crypto.create*Key 2023-06-05 16:45:47 +00:00
get-ciphers.js benchmark: update iterations in benchmark/crypto/get-ciphers.js 2023-12-02 03:04:25 +00:00
hash-stream-creation.js benchmark: add trailing commas in `benchmark/crypto` 2023-02-10 00:54:53 +00:00
hash-stream-throughput.js benchmark: add trailing commas in `benchmark/crypto` 2023-02-10 00:54:53 +00:00
hkdf.js benchmark: update iterations in benchmark/crypto/hkdf.js 2023-12-03 06:31:41 +00:00
keygen.js benchmark: add trailing commas in `benchmark/crypto` 2023-02-10 00:54:53 +00:00
oneshot-hash.js crypto: implement crypto.hash() 2024-02-27 13:27:19 +01:00
oneshot-sign.js benchmark: refactor crypto oneshot 2023-06-05 19:00:41 +00:00
oneshot-verify.js benchmark: refactor crypto oneshot 2023-06-05 19:00:41 +00:00
randomBytes.js benchmark: update iteration and size in benchmark/crypto/randomBytes.js 2023-12-09 18:25:04 +00:00
randomInt.js benchmark: add trailing commas in `benchmark/crypto` 2023-02-10 00:54:53 +00:00
randomUUID.js crypto: implement randomuuid 2021-01-07 12:44:36 -08:00
rsa-encrypt-decrypt-throughput.js benchmark: add trailing commas in `benchmark/crypto` 2023-02-10 00:54:53 +00:00
rsa-sign-verify-throughput.js benchmark: add trailing commas in `benchmark/crypto` 2023-02-10 00:54:53 +00:00
timingSafeEqual.js crypto: make timingSafeEqual faster for Uint8Array 2024-04-08 11:36:53 +00:00
webcrypto-digest.js benchmark: increase the iteration number to an appropriate value 2023-11-19 06:33:59 +00:00