crypto/sha256: simplify interface.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 27 May 2015 04:19:20 +0000 (13:49 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 27 May 2015 04:19:20 +0000 (13:49 +0930)
commitf989a43b55795c04a6225b392f3f58afd2cd6543
treec5d189f230a5d547b36caf49b3f49402cf86d4f9
parent75d313a8d7cfb7150b2a2e357b78fcfa30a64094
crypto/sha256: simplify interface.

I misused it by accident: the implied sizeof() is too tricky.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/crypto/sha256/sha256.c
ccan/crypto/sha256/sha256.h
ccan/crypto/shachain/shachain.c