Home GnuPG

mpih-const-time: use global vzero/vone variable
15cd08ae4c1eUnpublished

Unpublished Commit · Learn More

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

Description

mpih-const-time: use global vzero/vone variable

* mpi/mpih-const-time.c (vzero, vone): Remove.
(_gcry_mpih_set_cond, _gcry_mpih_add_n_cond, _gcry_mpih_sub_n_cond)
(_gcry_mpih_swap_cond, _gcry_mpih_abs_cond): Use _gcry_ct_vzero and
_gcry_ct_vone.

Cherry pick master commit of:
179df341162c74da312f76363a0ff1f2f303aa78

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

Details

Provenance
jukiviliAuthored on Nov 1 2023, 8:43 PM
gniibeCommitted on Nov 7 2023, 1:25 AM
Parents
rC9c0984ed2c55: const-time: ct_memmov_cond: switch to use dual mask approach
Branches
Unknown
Tags
Unknown

Event Timeline