Home GnuPG

cipher:dilithium: Add ML-DSA into libgcrypt pubkey interface.

Description

cipher:dilithium: Add ML-DSA into libgcrypt pubkey interface.

* configure.ac (available_pubkey_ciphers): Add dilithium.
(USE_DILITHIUM): New.
* cipher/Makefile.am (EXTRA_libcipher_la_SOURCES): Add
pubkey-dilithium.c.
* cipher/pubkey-dilithium.c: New.
* cipher/pubkey.c (pubkey_list): Add _gcry_pubkey_spec_mldsa.
* src/cipher.h (_gcry_pubkey_spec_mldsa): New.
* src/gcrypt-int.h (enum gcry_mldsa_algos): New.
* src/gcrypt.h.in (GCRY_PK_MLDSA): New.
  • GnuPG-bug-id: T7640
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Wed, Jul 2, 2:12 AM
Parents
rC81a8332963e2: cipher:dilithium: Add dilithium functions for libgcrypt internal use.
Branches
Unknown
Tags
Unknown
Tasks
T7640: ML-DSA for libgcrypt