* cipher/dilithium-common.c (freeze): Remove.
* cipher/dilithium.c (freeze): Remove.

--

GnuPG-bug-id: 7640
Signed-off-by: NIIBE Yutaka <gni...@fsij.org>
---
 cipher/dilithium-common.c | 2 ++
 cipher/dilithium.c        | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cipher/dilithium-common.c b/cipher/dilithium-common.c
index 27579798..d16f22f7 100644
--- a/cipher/dilithium-common.c
+++ b/cipher/dilithium-common.c
@@ -1366,6 +1366,7 @@ int32_t caddq(int32_t a) {
   return a;
 }
 
+#if 0 /* Not used */
 /*************************************************
 * Name:        freeze
 *
@@ -1381,3 +1382,4 @@ int32_t freeze(int32_t a) {
   a = caddq(a);
   return a;
 }
+#endif
diff --git a/cipher/dilithium.c b/cipher/dilithium.c
index ccfcb62a..452c1b26 100644
--- a/cipher/dilithium.c
+++ b/cipher/dilithium.c
@@ -302,8 +302,6 @@ static int32_t reduce32(int32_t a);
 
 static int32_t caddq(int32_t a);
 
-static int32_t freeze(int32_t a);
-
 /*************** dilithium/ref/rounding.h */
 static int32_t power2round(int32_t *a0, int32_t a);
 
_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel

Reply via email to