From 67a56f3ae0833b49c1c212a95f9bdb49ff4ceabe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 11 Jul 2022 10:36:03 +0200
Subject: [PATCH] Update C _nettle_sha256_compress_n fat build setup.

---
 sha256-compress-n.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sha256-compress-n.c b/sha256-compress-n.c
index 1e40cb1d..d135d14f 100644
--- a/sha256-compress-n.c
+++ b/sha256-compress-n.c
@@ -118,10 +118,11 @@
   } while (0)
 
 /* For fat builds */
-#if HAVE_NATIVE_sha256_compress
-void
-_nettle_sha256_compress_c(uint32_t *state, const uint8_t *input, const uint32_t *k);
-#define _nettle_sha256_compress _nettle_sha256_compress_c
+#if HAVE_NATIVE_sha256_compress_n
+const uint8_t *
+_nettle_sha256_compress_n_c(uint32_t *state, const uint32_t *table,
+			    size_t blocks, const uint8_t *input);
+#define _nettle_sha256_compress_n _nettle_sha256_compress_n_c
 #endif
 
 const uint8_t *
-- 
GitLab