Home GnuPG

cipher:ecc: Fix Weierstrass curve with PUBKEY_FLAG_PARAM.

Description

cipher:ecc: Fix Weierstrass curve with PUBKEY_FLAG_PARAM.

* cipher/ecc-curves.c (point_from_keyparam): Handle the case where
EC==NULL.
* cipher/ecc-misc.c (_gcry_ecc_sec_decodepoint): Care about
EC==NULL.
  • GnuPG-bug-id: T8094
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sat, Feb 14, 8:49 AM
Parents
rC740915ea5f20: mpi:ec: Use mpi_new with NBITS, instead of mpi_alloc.
Branches
Unknown
Tags
Unknown
References
HEAD -> master
Tasks
T8094: libgcrypt: EC least leak failure