DSA,ECDSA: Fix use of mpi_invm.

Authored by gniibe on Mar 18 2020, 1:08 AM.

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

Committed
gniibeMar 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