1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

fix typos

This commit is contained in:
Pavol Rusnak 2014-04-01 19:44:53 +02:00
parent e827517591
commit 94d4a3733e
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ void ecdsa_get_address(const uint8_t *pub_key, uint8_t version, char *addr)
memcpy(a + 28, a, 4); // checksum
memset(a, 0, 7); // zeroes
memcpy(a + 7, b, 21); // ripemd160(sha256(version + pubkey)
memcpy(a + 7, b, 21); // version || ripemd160(sha256(pubkey))
bn_read_be(a, &c);

View File

@ -655,7 +655,7 @@ END_TEST
START_TEST(test_ecdsa_der)
{
uint8_t sig[64], der[70];
uint8_t sig[64], der[72];
int res;
memcpy(sig, fromhex("9a0b7be0d4ed3146ee262b42202841834698bb3ee39c24e7437df208b8b70771"), 32);