From: Niels Möller Date: Mon, 11 Jul 2022 08:36:03 +0000 (+0200) Subject: Update C _nettle_sha256_compress_n fat build setup. X-Git-Tag: nettle_3.9_release_20230514~81^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a56f3ae0833b49c1c212a95f9bdb49ff4ceabe;p=thirdparty%2Fnettle.git Update C _nettle_sha256_compress_n fat build setup. --- 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 *