Home GnuPG

cipher:ecc: Fix decoding a point on Montgomery curve.

Description

cipher:ecc: Fix decoding a point on Montgomery curve.

* cipher/ecc-misc.c (_gcry_ecc_mont_decodepoint): Fix the padding
mistake and add updating RAWMPILEN.

Reported by Calif.io in collaboration with Claude and Anthropic
Research.

Details

Provenance
gniibeAuthored on Fri, Apr 10, 9:58 AM
wernerCommitted on Tue, Apr 21, 12:10 PM
Parents
rC1a82b26055e6: mpi: Use secure MPI in _gcry_mpi_assign_limb_space.
Branches
Unknown
Tags
Unknown
Tasks
T8211: Libgcrypt ECDH buffer overwrite with zeroes