Home GnuPG

mpi: Fix for 64-bit for _gcry_mpih_cmp_ui.

Description

mpi: Fix for 64-bit for _gcry_mpih_cmp_ui.

* mpi/mpih-const-time.c (_gcry_mpih_cmp_ui): Compare 64-bit
value correctly.
  • Reported-by: Guido Vranken <guidovranken@gmail.com>
  • GnuPG-bug-id: T5970
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 10 2022, 8:44 AM
Parents
rC5dc97e855bb2: random: Fix rndjent for Windows.
Branches
Unknown
Tags
Unknown
Tasks
T5970: gcry_mpi_invm producing wrong result