Home GnuPG

mpi: Add MPH helper of table lookup, Least Leak Intended.

Description

mpi: Add MPH helper of table lookup, Least Leak Intended.

* mpi/mpi-internal.h (ct_limb_select): New.
(_gcry_mpih_lookup_lli): New.
* mpi/mpih-const-time.c (_gcry_mpih_lookup_lli): New.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 18 2025, 7:08 AM
Parents
rCbb5e893456b1: cipher:(EC)DSA: Fix _gcry_dsa_gen_*k not to normalize MPI.
Branches
Unknown
Tags
Unknown