core-lightning/bitcoin/privkey.h
Rusty Russell d20ddb5a90 Use libsecp256k1 instead of openssl for crypto.
We still use openssl for bignums (base58) and for ripemd.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-07-01 16:27:52 +09:30

11 lines
239 B
C

#ifndef LIGHTNING_BITCOIN_PRIVKEY_H
#define LIGHTNING_BITCOIN_PRIVKEY_H
#include <ccan/short_types/short_types.h>
/* This is a private key. Keep it secret. */
struct privkey {
u8 secret[32];
};
#endif /* LIGHTNING_BITCOIN_PRIVKEY_H */