sha256_update_bytes is sha256_update since f989a43b55795c04a6225b392f3f58afd2cd6543. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@@ -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);