Skip to content

crypto: increase maxmem range from 32 to 53 bits

This implements @bnoordhuis' suggestion in order to support larger parameters. The new limit is roughly 8 petabytes, which should be sufficient for the next couple of releases.

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

cc @nodejs/crypto @michaelsbradleyjr

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

Merge request reports

Loading