Home GnuPG

mpih: Expose const-time MPI helper functions.

Description

mpih: Expose const-time MPI helper functions.

* mpi/Makefile.am (libmpi_la_SOURCES): Add mpih-const-time.c.
* mpi/ec.c (mpih_set_cond): Move to mpih-const-time.c.
* mpi/mpi-internal.h: Add macros and declarations.
* mpi/mpi-inv.c (mpih_add_n_cond): Likewise.
(mpih_sub_n_cond, mpih_swap_cond, mpih_abs_cond): Likewise.
* mpi/mpih-const-time.c: New.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 16 2020, 6:56 AM
Parents
rC32b08e38628b: sexp: Extend gcry_sexp_extract_param with a multi-string extractor.
Branches
Unknown
Tags
Unknown