[PATCH 10/17] cipher:dilithium: Add DILITHIUM_INTERNAL_API_ONLY.

NIIBE Yutaka gniibe at fsij.org
Sat Jun 28 05:44:47 CEST 2025


* cipher/dilithium-dep.c (crypto_sign_keypair_internal): New.
(crypto_sign_signature) [DILITHIUM_INTERNAL_API_ONLY]: Don't define.
(crypto_sign) [DILITHIUM_INTERNAL_API_ONLY]: Don't define.
(crypto_sign_verify) [DILITHIUM_INTERNAL_API_ONLY]: Don't define.
(crypto_sign_open) [DILITHIUM_INTERNAL_API_ONLY]: Don't define.
* cipher/dilithium.c: Define DILITHIUM_INTERNAL_API_ONLY for use
within libgcrypt.

--

GnuPG-bug-id: 7640
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 cipher/dilithium-dep.c | 60 ++++++++++++++++++++++++++++++++++++++++++
 cipher/dilithium.c     | 24 +++++++++++++++++
 2 files changed, 84 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-cipher-dilithium-Add-DILITHIUM_INTERNAL_API_ONLY.patch
Type: text/x-patch
Size: 5394 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250628/533f51c8/attachment-0001.bin>


More information about the Gcrypt-devel mailing list