[PATCH 2/2] mpi:ec: Use mpi_new with NBITS, instead of mpi_alloc.
NIIBE Yutaka
gniibe at fsij.org
Sat Feb 14 04:42:54 CET 2026
* mpi/ec.c (ec_get_two_inv_p): Use mpi_new with NBITS.
* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_sign): Likewise.
(_gcry_ecc_ecdsa_verify): Likewise.
* cipher/ecc-gost.c (_gcry_ecc_gost_sign): Likewise.
(_gcry_ecc_gost_verify): Likewise.
--
GnuPG-bug-id: 8094
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
cipher/ecc-ecdsa.c | 16 ++++++++--------
cipher/ecc-gost.c | 24 ++++++++++++------------
mpi/ec.c | 2 +-
3 files changed, 21 insertions(+), 21 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mpi-ec-Use-mpi_new-with-NBITS-instead-of-mpi_alloc.patch
Type: text/x-patch
Size: 2616 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20260214/20792bfc/attachment.bin>
More information about the Gcrypt-devel
mailing list