Home GnuPG

ec-nist: avoid unintentional conditional branch by comparison
2ed340744746Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

ec-nist: avoid unintentional conditional branch by comparison

* mpi/ec-nist.c (_gcry_mpi_ec_nist521_mod): Use mpih_limb_is_not_zero.
* mpi/mpi-internal.h (mpih_limb_is_not_zero): New.

Cherry pick master commit of:
a9e7aa647e4b84964c76230370d71235383e5c2d

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 1 2023, 9:03 PM
gniibeCommitted on Nov 7 2023, 1:29 AM
Parents
rC9acddd8b95e1: mpih_cmp_ui: avoid unintentional conditional branch
Branches
Unknown
Tags
Unknown

Event Timeline