Home GnuPG

mpih_mod: avoid unintentional conditional branch

Description

mpih_mod: avoid unintentional conditional branch

* mpi/mpih-const-time.c (_gcry_mpih_mod): Avoid conditional branch
on the_bit extraction.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 3 2023, 8:31 PM
Parents
rCc419a04d529a: mpih-const-time: use constant-time comparisons conditional add/sub/abs
Branches
Unknown
Tags
Unknown