Home GnuPG

const-time: prefix global symbols with _gcry_
3fa1b81c92e5Unpublished

Unpublished Commit · Learn More

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

Description

const-time: prefix global symbols with _gcry_

* cipher/const-time.c (ct_not_memequal, ct_memequal)
(ct_memmov_cond): Rename these to ...
(_gcry_ct_not_memequal, _gcry_ct_memequal)
(_gcry_ct_memmov_cond): ... these.
* cipher/const-time.h (ct_not_memequal, ct_memequal)
(ct_memmov_cond): Rename these to ...
(_gcry_ct_not_memequal, _gcry_ct_memequal)
(_gcry_ct_memmov_cond): ... these.
(ct_not_memequal, ct_memequal, ct_memmov_cond): New macros.

Cherry-pick master commit of:
22dde5150ee2be01651410ed9756601ba6a29c93

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

Details

Provenance
jukiviliAuthored on Nov 1 2023, 8:31 PM
gniibeCommitted on Nov 6 2023, 2:34 AM
Parents
rC7f0eb519897b: mpih_set_cond: restore EM leakage mitigation
Branches
Unknown
Tags
Unknown

Event Timeline