mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-12 18:49:07 +00:00
whitespace in bip32.[ch], formatting in readme
This commit is contained in:
parent
777056a3a0
commit
671dad42df
@ -11,7 +11,8 @@ These include:
|
||||
- BIP39 Mnemonic code
|
||||
- ECDSA signing/verifying (supports secp256k1 and nist256p1 curves,
|
||||
uses RFC6979 for deterministic signatures)
|
||||
- ECDSA public key derivation + Base58 address representation
|
||||
- ECDSA public key derivation
|
||||
- Base58 address representation
|
||||
- Ed25519 signing/verifying
|
||||
- ECDH using secp256k1, nist256p1 and Curve25519
|
||||
- HMAC-SHA256 and HMAC-SHA512
|
||||
|
2
bip32.c
2
bip32.c
@ -303,7 +303,6 @@ int hdnode_public_ckd_address_optimized(const curve_point *pub, const uint8_t *c
|
||||
}
|
||||
|
||||
#if USE_BIP32_CACHE
|
||||
|
||||
static bool private_ckd_cache_root_set = false;
|
||||
static HDNode private_ckd_cache_root;
|
||||
static int private_ckd_cache_index = 0;
|
||||
@ -375,7 +374,6 @@ int hdnode_private_ckd_cached(HDNode *inout, const uint32_t *i, size_t i_count,
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void hdnode_get_address_raw(HDNode *node, uint32_t version, uint8_t *addr_raw)
|
||||
|
2
bip32.h
2
bip32.h
@ -61,9 +61,7 @@ int hdnode_public_ckd(HDNode *inout, uint32_t i);
|
||||
int hdnode_public_ckd_address_optimized(const curve_point *pub, const uint8_t *chain_code, uint32_t i, uint32_t version, char *addr, int addrsize, bool segwit);
|
||||
|
||||
#if USE_BIP32_CACHE
|
||||
|
||||
int hdnode_private_ckd_cached(HDNode *inout, const uint32_t *i, size_t i_count, uint32_t *fingerprint);
|
||||
|
||||
#endif
|
||||
|
||||
uint32_t hdnode_fingerprint(HDNode *node);
|
||||
|
Loading…
Reference in New Issue
Block a user