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, 11:09 AM
Parents
rCc6e0658004b5: fips,cipher: Fix the regression with disabled public-key algo.
Branches
Unknown
Tags
Unknown
Tasks
T8211: Libgcrypt ECDH buffer overwrite with zeroes