From: Niels Möller Date: Thu, 9 Jun 2022 16:33:55 +0000 (+0200) Subject: Move declaration of sha256_compress in header file, for consistency. X-Git-Tag: nettle_3.9_release_20230514~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab2e4dc8a1fbd01711446df6239b1b02118cb06;p=thirdparty%2Fnettle.git Move declaration of sha256_compress in header file, for consistency. --- diff --git a/sha2.h b/sha2.h index 264ab6ba..3a7be71f 100644 --- a/sha2.h +++ b/sha2.h @@ -93,6 +93,8 @@ sha256_digest(struct sha256_ctx *ctx, size_t length, uint8_t *digest); +void +sha256_compress(uint32_t *state, const uint8_t *input); /* SHA224, a truncated SHA256 with different initial state. */ @@ -191,9 +193,6 @@ sha512_256_digest(struct sha512_256_ctx *ctx, size_t length, uint8_t *digest); -void -sha256_compress(uint32_t *state, const uint8_t *input); - #ifdef __cplusplus } #endif