summaryrefslogtreecommitdiff
path: root/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'sha256.c')
-rw-r--r--sha256.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sha256.c b/sha256.c
index 253c1319..ed11d801 100644
--- a/sha256.c
+++ b/sha256.c
@@ -161,3 +161,9 @@ sha224_digest(struct sha256_ctx *ctx,
sha256_write_digest(ctx, length, digest);
sha224_init(ctx);
}
+
+void
+sha256_compress(uint32_t *state, const uint8_t *input)
+{
+ _nettle_sha256_compress(state, input, K);
+}