* cipher/dilithium.h (dilithium_sign, dilithium_verify): Define the
macro correctly so that we can keep using _gcry namespace for internal
functions.

--

It was mistake when we followed the code of Kyber.

Fixes-commit: 81a8332963e2a5581ee0e7d0393363e8b9015bbf
Signed-off-by: NIIBE Yutaka <[email protected]>
---
 cipher/dilithium.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cipher/dilithium.h b/cipher/dilithium.h
index 88a48094..dd3597a5 100644
--- a/cipher/dilithium.h
+++ b/cipher/dilithium.h
@@ -56,8 +56,8 @@
 #ifdef _GCRYPT_IN_LIBGCRYPT
 /**** Start of the glue code to libgcrypt ****/
 #define dilithium_keypair   _gcry_mldsa_keypair
-#define dilithium_encap     _gcry_mldsa_encap
-#define dilithium_decap     _gcry_mldsa_decap
+#define dilithium_sign      _gcry_mldsa_sign
+#define dilithium_verify    _gcry_mldsa_verify
 /**** End of the glue code ****/
 
 #define DILITHIUM_KEYPAIR_STACK_BURN (128 * 1024)
_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel

Reply via email to