Home GnuPG

Add an API for Key Encapsulation Mechanism.

Description

Add an API for Key Encapsulation Mechanism.

* cipher/Makefile.am (libcipher_la_SOURCES): Add kem.c.
* cipher/kem.c: New.
* src/gcrypt-int.h (_gcry_kem_keypair, _gcry_kem_encap)
(_gcry_kem_decap): New.
* src/gcrypt.h.in (gcry_kem_keypair, gcry_kem_encap)
(gcry_kem_decap): New.  Add constants.
* src/libgcrypt.def (gcry_kem_keypair, gcry_kem_encap)
(gcry_kem_decap): Add symbols.
* src/libgcrypt.vers: Likewise.
  • GnuPG-bug-id: T6755
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Dec 7 2023, 6:44 AM
Parents
rCdc1c916da4ba: tests: Fix t-x448 for error handling.
Branches
Unknown
Tags
Unknown
Tasks
T6755: libgcrypt: KEM API