Home GnuPG

mpi/ec: remove VLA usage

Description

mpi/ec: remove VLA usage

* mpi/ec-nist.c (_gcry_mpi_ec_nist192_mod, _gcry_mpi_ec_nist224_mod)
(_gcry_mpi_ec_nist256_mod, _gcry_mpi_ec_nist384_mod)
(_gcry_mpi_ec_nist521_mod): Avoid VLA for arrays.
* mpi/ec.c (ec_secp256k1_mod): Avoid VLA for arrays.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Sep 28 2022, 7:22 PM
Parents
rC0cb29a5736cf: tests/hashtest: add hugeblock & disable-hwf options and 6 gig test vectors
Branches
Unknown
Tags
Unknown