Home GnuPG

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

Unpublished Commit · Learn More

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

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.

Cherry-pick master commit of:
c31b70b2660c3d24bd54ee08c255c36d867fdea7

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

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

Event Timeline