Home GnuPG

const-time: Use ct_not_memequal, instead. Tested with AVR.

Description

const-time: Use ct_not_memequal, instead. Tested with AVR.

* cipher/rsa-common.c (_gcry_rsa_oaep_decode): Use ct_not_memequal.
* src/const-time.c (ct_not_memequal): Use ct_not_equal_byte.
* src/const-time.h (ct_not_memequal): Rename from ct_memequal.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 30 2023, 6:02 AM
Parents
rCc848459e5126: build: Check if arch is VAX or compiler is MSVC.
Branches
Unknown
Tags
Unknown