Skip to content

crypto: move typechecking for timingSafeEqual into C++

This makes the function more robust against V8 inlining.

Fixes: https://github.com/nodejs/node/issues/34073

@nodejs/crypto

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading