X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fcrypto%2Fsha256%2Fsha256.c;h=40da0b4bb670d488b9a051b4307f8c41b9e8c42a;hb=f1f32a2ff565d98dd41326342eb05efc12fdb886;hp=4b1f8cdf303af328320691cc4ee8b8403c65fb5a;hpb=f989a43b55795c04a6225b392f3f58afd2cd6543;p=ccan diff --git a/ccan/crypto/sha256/sha256.c b/ccan/crypto/sha256/sha256.c index 4b1f8cdf..40da0b4b 100644 --- a/ccan/crypto/sha256/sha256.c +++ b/ccan/crypto/sha256/sha256.c @@ -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);