Home GnuPG

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

Unpublished Commit · Learn More

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

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.

Cherry-pick master commit of:
4d3e0e30b98b2acb90acb2792b8327c26824a66f

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

Details

Provenance
jukiviliAuthored on Nov 1 2023, 8:34 PM
gniibeCommitted on Nov 6 2023, 2:34 AM
Parents
rC3fa1b81c92e5: const-time: prefix global symbols with _gcry_
Branches
Unknown
Tags
Unknown

Event Timeline