1
0
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:
Pavol Rusnak 2017-05-08 14:57:55 +02:00
parent 777056a3a0
commit 671dad42df
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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)

View File

@ -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);