Home GnuPG

DSA,ECDSA: Fix use of mpi_invm.

Description

DSA,ECDSA: Fix use of mpi_invm.

* cipher/dsa.c (sign): Call mpi_invm before _gcry_dsa_modify_k.
* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_sign): Likewise.
  • GnuPG-bug-id: T4869
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 18 2020, 1:08 AM
Parents
rC20082ca965ea: mpi: Constant time mpi_inv with some conditions.
Branches
Unknown
Tags
Unknown
Tasks
T4869: constant-time mpi_invm