summaryrefslogtreecommitdiff
path: root/sha.h
diff options
context:
space:
mode:
Diffstat (limited to 'sha.h')
-rw-r--r--sha.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sha.h b/sha.h
index c95dffda..cf4743e6 100644
--- a/sha.h
+++ b/sha.h
@@ -141,6 +141,12 @@ sha512_digest(struct sha512_ctx *ctx,
unsigned length,
uint8_t *digest);
+/* Internal compression function. STATE points to 8 uint64_t words,
+ DATA points to 128 bytes of input data, possibly unaligned, and K
+ points to the table of constants. */
+void
+_nettle_sha512_compress(uint64_t *state, const uint8_t *data, const uint64_t *k);
+
#ifdef __cplusplus
}
#endif