Home GnuPG

const-time: ct_memmov_cond: switch to use dual mask approach

Description

const-time: ct_memmov_cond: switch to use dual mask approach

* src/const-time.c (_gcry_ct_memmov_cond): Use dual mask + AND/OR
instead of single mask + XOR.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 1 2023, 8:34 PM
Parents
rC22dde5150ee2: const-time: prefix global symbols with _gcry_
Branches
Unknown
Tags
Unknown