]> git.ozlabs.org Git - ccan/blobdiff - ccan/crypto/sha256/sha256.c
Clean up use of 'rm' in Makefiles
[ccan] / ccan / crypto / sha256 / sha256.c
index 4b1f8cdf303af328320691cc4ee8b8403c65fb5a..40da0b4bb670d488b9a051b4307f8c41b9e8c42a 100644 (file)
@@ -36,7 +36,7 @@ void sha256_init(struct sha256_ctx *ctx)
        SHA256_Init(&ctx->c);
 }
 
-void sha256_update_bytes(struct sha256_ctx *ctx, const void *p, size_t size)
+void sha256_update(struct sha256_ctx *ctx, const void *p, size_t size)
 {
        check_sha256(ctx);
        SHA256_Update(&ctx->c, p, size);