crypto: fix size_t/int regression node_crypto
https://github.com/nodejs/node/pull/31406 introduced a regression in Hash
and Hmac
update operations.
Haven't looked yet, but it's possible that this also affects other Stream-based crypto operations (e.g. sig, verify, etc) Definitely impacted... adding those to the changeset here.
/cc @addaleax @bnoordhuis
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines