]> git.ozlabs.org Git - ccan/commit
shachain: allow overriding of number of bits, add cmdline tool.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2016 05:48:20 +0000 (16:18 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2016 05:53:26 +0000 (16:23 +1030)
commit4bb69fe6d568f84bd682cf6f86bae168313deb91
tree8fd27a2ab89f7f5f37a0bd40074441fa08ff4364
parentd07f742c5925b97ed558eb07aae285616f5df823
shachain: allow overriding of number of bits, add cmdline tool.

lightning uses 48 bits, so this provides a quick utility for our test
vectors, and provides a nice example.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/crypto/shachain/shachain.c
ccan/crypto/shachain/shachain.h
ccan/crypto/shachain/tools/.gitignore [new file with mode: 0644]
ccan/crypto/shachain/tools/Makefile [new file with mode: 0644]
ccan/crypto/shachain/tools/shachain48.c [new file with mode: 0644]