diff options
author | Niels Möller <nisse@lysator.liu.se> | 2022-07-11 10:36:03 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2022-07-11 10:36:03 +0200 |
commit | 67a56f3ae0833b49c1c212a95f9bdb49ff4ceabe (patch) | |
tree | 711929ccf1ef1762740d0e7a8815e5a5a2c00081 | |
parent | fad1bf50a5087a5b88a5500965ba3959d11f997f (diff) | |
download | nettle-67a56f3ae0833b49c1c212a95f9bdb49ff4ceabe.tar.gz |
Update C _nettle_sha256_compress_n fat build setup.
-rw-r--r-- | sha256-compress-n.c | 9 |
1 files 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 * |