mpih_cmp_ui: avoid unintentional conditional branch
* mpi/mpi-internal.h (mpih_limb_is_zero): New. * mpi/mpih-const-time.c (_gcry_mpih_cmp_ui): Use mpih_limb_is_zero instead of comparison.
- Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
mpih_cmp_ui: avoid unintentional conditional branch Tags None Subscribers None
Description
Details
|