Home GnuPG

cipher:kyber: Use ct_int16_select of libgcrypt .

Description

cipher:kyber: Use ct_int16_select of libgcrypt .

* cipher/kyber-common.c (poly_frommsg): Use ct_int16_select.
* cipher/kyber.c: Require ct_int16_select for external use case.
* src/const-time.h: Add ct_int16_select.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 2 2024, 3:34 AM
Parents
rCf765778e82b3: cipher:kyber: Apply a change from upstream.
Branches
Unknown
Tags
Unknown