Home GnuPG

Use single constant-time memory comparison implementation

Description

Use single constant-time memory comparison implementation

* src/const-time.c (ct_not_memequal): Use original 'buf_eq_const'
implementation here.
(ct_memequal): New.
* cipher/bufhelp.h (buf_eq_const): Call to 'ct_memequal'.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Oct 30 2023, 8:05 PM
Parents
rCa047a9c7d108: bench-slope: update auto-GHZ for alderlake-P
Branches
Unknown
Tags
Unknown