27 #ifndef __LIBBTC_BIP32_H__
28 #define __LIBBTC_BIP32_H__
39 #define BTC_BIP32_CHAINCODE_SIZE 32
52 #define btc_hdnode_private_ckd_prime(X, I) btc_hdnode_private_ckd((X), ((I) | 0x80000000))
70 #endif // __LIBBTC_BIP32_H__
#define BTC_ECKEY_PKEY_LENGTH
LIBBTC_API btc_bool btc_hdnode_deserialize(const char *str, const btc_chain *chain, btc_hdnode *node)
#define BTC_ECKEY_COMPRESSED_LENGTH
LIBBTC_API void btc_hdnode_serialize_private(const btc_hdnode *node, const btc_chain *chain, char *str, int strsize)
LIBBTC_API btc_bool btc_hdnode_from_seed(const uint8_t *seed, int seed_len, btc_hdnode *out)
LIBBTC_API void btc_hdnode_serialize_public(const btc_hdnode *node, const btc_chain *chain, char *str, int strsize)
LIBBTC_API btc_bool btc_hdnode_private_ckd(btc_hdnode *inout, uint32_t i)
LIBBTC_API void btc_hdnode_fill_public_key(btc_hdnode *node)
LIBBTC_API btc_bool btc_hd_generate_key(btc_hdnode *node, const char *keypath, const uint8_t *privkeymaster, const uint8_t *chaincode)
derive btc_hdnode including private key from master private key
LIBBTC_API btc_bool btc_hdnode_public_ckd(btc_hdnode *inout, uint32_t i)
#define BTC_BIP32_CHAINCODE_SIZE