[PATCH 09/17] cipher:dilithium: For _GCRYPT_IN_LIBGCRYPT, add *_close function.
NIIBE Yutaka
gniibe at fsij.org
Sat Jun 28 05:44:46 CEST 2025
* cipher/dilithium-common.c (poly_uniform): Add stream128_close.
(poly_uniform_eta_2, poly_uniform_eta_4): Add stream256_close.
(poly_uniform_gamma1_17, poly_uniform_gamma1_19): Likewise.
* cipher/dilithium-dep.c (poly_challenge): Add shake256_close.
(crypto_sign_signature_internal): Likewise.
(crypto_sign_verify_internal): Likewise.
* cipher/dilithium.c [_GCRYPT_IN_LIBGCRYPT]: Add glue code
for shake128_* and shake256_*.
--
GnuPG-bug-id: 7640
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
cipher/dilithium-common.c | 5 ++
cipher/dilithium-dep.c | 6 ++
cipher/dilithium.c | 181 ++++++++++++++++++++++++++++++++++----
3 files changed, 175 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-cipher-dilithium-For-_GCRYPT_IN_LIBGCRYPT-add-_close.patch
Type: text/x-patch
Size: 10804 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250628/c39ef500/attachment-0001.bin>
More information about the Gcrypt-devel
mailing list