Saleem Rashid
dd8ec3231f
coins: Add forkid
2017-07-28 15:06:03 +02:00
Jochen Hoenicke
9917d9ebfc
New unit tests for signing (bitcoin cash)
2017-07-27 21:51:00 +02:00
Saleem Rashid
6580044196
test_check: Clean up test_bignum tests
...
This also tests zero
2017-07-27 21:20:43 +02:00
Saleem Rashid
85cb0b4f2c
bignum: Fix bn_digitcount
...
bn_digitcount used to use bn_bitcount. This would give the maximum
digits, which would often be higher than the actual number. This would
result in leading zeroes in bn_format.
2017-07-27 21:20:43 +02:00
Saleem Rashid
43ea1392f2
bignum: rename bn_maxdigitcount to bn_digitcount
...
This reverts commit 5dbdf18b6c
.
2017-07-27 21:20:43 +02:00
Pavol Rusnak
5e1a3ad6e0
tests: add more tests for bn_format{,_uint64}
2017-07-27 19:57:04 +02:00
Pavol Rusnak
ea7e1b860d
test: reorder function in source
2017-07-27 19:28:00 +02:00
Pavol Rusnak
5dbdf18b6c
bignum: rename bn_digitcount to bn_maxdigitcount (can return value one higher than the real result)
2017-07-27 19:21:56 +02:00
Pavol Rusnak
fd78df0e57
test: add more tests for bitcount and digitcount
2017-07-27 18:43:26 +02:00
Saleem Rashid
11d424cdef
vendor: Update trezor-crypto
2017-07-27 18:11:26 +02:00
Saleem Rashid
38b6332db5
layout2: Extract BITCOIN_DIVISIBILITY constant
2017-07-27 18:11:26 +02:00
Saleem Rashid
66993f9e92
bignum: Add bn_format_uint64
2017-07-27 17:55:33 +02:00
Saleem Rashid
da586bb37a
test_check: Add more bn_format tests
2017-07-27 17:55:33 +02:00
Saleem Rashid
88527dde7a
bignum: Add exponent and trailing to bn_format
2017-07-27 17:55:33 +02:00
Saleem Rashid
22ebd62b85
test_check: Update bn_format tests
2017-07-27 17:55:33 +02:00
Saleem Rashid
558bc429ec
bignum: Add bn_digitcount
2017-07-27 17:55:33 +02:00
Pavol Rusnak
efe36b3a2f
unit_tests: rewrite from unittest to pytest
2017-07-26 14:48:20 +02:00
Pavol Rusnak
c3bf0e4086
enable segwit for bitcoin \o/
2017-07-25 19:32:20 +02:00
Pavol Rusnak
b5f9a5738f
segwit support for SignMessage, VerifyMessage
2017-07-25 19:32:20 +02:00
Pavol Rusnak
d8ad44f60a
protob: add SignMessage.script_type
2017-07-25 19:32:20 +02:00
Pavol Rusnak
11b686a9f2
tests: add tests for Segwit SignMessage/VerifyMessage
2017-07-25 19:29:28 +02:00
Saleem Rashid
dfdb4d2d76
bip32: Fix NULL dereference for EdDSA
2017-07-25 18:33:57 +02:00
Pavol Rusnak
af06a997cb
refactor ecdsa_get_address_segwit_p2sh{,_raw}
2017-07-25 17:59:26 +02:00
Pavol Rusnak
cb020cb1d8
bootloader: refactor calculate fingerprint part (not issue button request if brand new firmware)
2017-07-25 17:24:40 +02:00
Jochen Hoenicke
4e58befe5d
Clean-up of oled code. ( #197 )
...
Get rid of the macros. Use only the functions instead.
Optimized some of the functions.
2017-07-25 14:24:45 +02:00
Pavol Rusnak
0f471bfd61
gitignore: add attic+vscode
2017-07-25 00:14:35 +02:00
Pavol Rusnak
8d0852403c
move emscripten build to separate repository (hd-wallet/fastxpub)
2017-07-24 23:43:30 +02:00
Pavol Rusnak
c950342063
refactor hdnode_public_ckd_address_optimized
2017-07-24 22:57:20 +02:00
Pavol Rusnak
37e55bf5a6
build: rework docker build scripts, update readme
2017-07-24 21:45:01 +02:00
Pavol Rusnak
8133317172
add SignMessage.script_type
2017-07-24 16:11:38 +02:00
Pavol Rusnak
00900951e0
add SignMessage.script_type
2017-07-24 16:05:13 +02:00
Pavol Rusnak
184529bbfc
bootloader: erase metadata backup after usage
2017-07-24 14:39:15 +02:00
Pavol Rusnak
3d7d0f0734
use C99 for loop where possible
2017-07-23 22:20:51 +02:00
Pavol Rusnak
e9fb5b08c7
bootloader: use double sha in docker build
2017-07-19 13:07:01 +02:00
Pavol Rusnak
5fa82cc4cb
bootloader: align during docker build
2017-07-19 12:52:46 +02:00
mruddy
1c55ec0fb3
fix hangs due to stale rng status ( #195 )
2017-07-19 11:54:26 +02:00
Pavol Rusnak
980bae6cb5
bootloader: in self-test perform each step just once
2017-07-19 11:39:04 +02:00
Pavol Rusnak
6141782270
bootloader: fix whitespace
2017-07-19 00:12:22 +02:00
Pavol Rusnak
bf374f1769
bootloader: add RNG test
2017-07-19 00:08:36 +02:00
Jochen Hoenicke
9efc5bc93c
Fixed array sizes again. ( #194 )
...
This is the correct fix for 09917920ba
(how the code was meant to be written).
2017-07-18 13:08:27 +02:00
Pavol Rusnak
de6402e95e
implement set_flags (aka ApplyFlags)
2017-07-17 18:37:15 +02:00
Pavol Rusnak
cf04279774
implement Storage.flags and related stuff
2017-07-17 18:36:09 +02:00
Pavol Rusnak
2eb9c7e352
added Storage.subscribed, Features.subscribed and ApplySettings.subscribed
2017-07-17 15:31:38 +02:00
Pavol Rusnak
36985519b5
tests: add test for ethereum sign/verify message
2017-07-17 14:40:35 +02:00
Pavol Rusnak
1a72a49ee5
ethereum: update tokens
2017-07-17 14:23:23 +02:00
Pavol Rusnak
a2226c410e
gen: add Makefile for strwidth
2017-07-17 12:25:07 +02:00
Saleem Rashid
d2c90d70dc
strwidth: Initial commit
2017-07-17 12:23:10 +02:00
Pavol Rusnak
afdd27c551
trezorctl: fix set_homescreen for python3
2017-07-16 15:03:01 +02:00
Pavol Rusnak
d865c0ea31
trezorctl: load_device -s now loads SLIP-0014 mnemonic, --skip-checksum renamed to --ignore-checksum
2017-07-16 14:54:50 +02:00
Pavol Rusnak
0781421762
ethereum: more tokens, use better wording for unknown token value
2017-07-14 18:42:01 +02:00