mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
ef9463f6b1
Put ccan first, openssl next, then standard headers, then locals. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 lines
447 B
C
14 lines
447 B
C
#ifndef LIGHTNING_BITCOIN_SHADOUBLE_H
|
|
#define LIGHTNING_BITCOIN_SHADOUBLE_H
|
|
#include <ccan/crypto/sha256/sha256.h>
|
|
|
|
/* To explicitly distinguish between single sha and bitcoin's standard double */
|
|
struct sha256_double {
|
|
struct sha256 sha;
|
|
};
|
|
|
|
void sha256_double(struct sha256_double *shadouble, const void *p, size_t len);
|
|
|
|
void sha256_double_done(struct sha256_ctx *sha256, struct sha256_double *res);
|
|
#endif /* LIGHTNING_BITCOIN_SHADOUBLE_H */
|