diff options
author | Niels Möller <nisse@lysator.liu.se> | 2022-06-09 18:33:55 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2022-06-09 18:41:27 +0200 |
commit | dab2e4dc8a1fbd01711446df6239b1b02118cb06 (patch) | |
tree | ae393ba2e78c9582cd932933db3926f295d5830a | |
parent | 8beda43fef902f4563a7629a2cd1cb1e991d8fcf (diff) | |
download | nettle-dab2e4dc8a1fbd01711446df6239b1b02118cb06.tar.gz |
Move declaration of sha256_compress in header file, for consistency.
-rw-r--r-- | sha2.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |