Pavol Rusnak
ca45689808
trezor.crypto: update trezor-crypto submodule
2016-11-06 15:20:46 +01:00
Jan Pochyla
44a3b7f9f1
signtx: fixes, refactoring
2016-11-06 14:23:40 +01:00
Jan Pochyla
adc3dde19e
modtrezorcrypto: add HDNode.clone()
2016-11-06 14:23:40 +01:00
Pavol Rusnak
6891c3c463
trezor.config: add wipe method
...
tests: add tests for config, debug, utils
2016-11-06 12:39:04 +01:00
Pavol Rusnak
998fb9fce6
tests: added check_coverage script
...
trezor.crypto: update docu
2016-11-06 11:53:22 +01:00
Pavol Rusnak
955bd44684
rename unit tests to match module names
2016-11-06 10:53:28 +01:00
Pavol Rusnak
8b0d7be52a
trezor.crypto: add keccak option to Sha3_*.digest()
2016-11-06 01:49:55 +01:00
Pavol Rusnak
192fc5f1ef
trezor.crypto: add sha1, regenerate mocks
2016-11-05 15:26:28 +01:00
Jan Pochyla
3b742aa5dc
signtx: WIP
2016-11-03 18:56:21 +01:00
Jan Pochyla
6a98aff8bb
WIP: signing pseudocode
2016-11-02 01:03:16 +01:00
Jan Pochyla
783fddf749
messages: do not use const()
2016-11-02 01:03:16 +01:00
Pavol Rusnak
392538d7d2
vendor: update micropython
2016-11-01 22:47:26 +01:00
Pavol Rusnak
34ba0ccd72
trezor.crypto: add key option for blake2s, add unit tests for blake2s
2016-11-01 18:22:29 +01:00
Pavol Rusnak
e9c328919c
trezor.crypto: add blake2s hash, update submodules
2016-11-01 17:31:24 +01:00
Pavol Rusnak
56eb351816
trezor.crypto: add hashlib.HashIO
2016-11-01 15:23:37 +01:00
Pavol Rusnak
54a045e9de
apps.common: add pseudocode for signing
2016-10-31 15:04:13 +01:00
Jan Pochyla
b3c03496e4
streams: minor API change
...
with_limit suggests that the method returns a new StreamReader, instead of mutating self.
2016-10-26 17:36:11 +02:00
Jan Pochyla
83043f7aef
wire: update to latest changes in protobuf
2016-10-26 17:36:11 +02:00
Jan Pochyla
a16e02a3d8
messages: regenerate
2016-10-26 17:36:11 +02:00
Jan Pochyla
20b612f8c1
pb2py: use new protobuf message format
2016-10-26 17:34:07 +02:00
Jan Pochyla
36784bf0f5
protobuf: refactoring, remove default values and required fields
...
Logic of default values and required fields is better handled on the
application layer, not in the protobuf codec. Also, protobuf v3
removed support for both.
Since now, messages are defined by subclassing protobuf.MessageType:
class Example(protobuf.MessageType):
FIELDS = {
1: ('field', protobuf.UVarintType, protobuf.FLAG_REPEATED),
}
2016-10-26 17:34:07 +02:00
Pavol Rusnak
df5e770dec
trezor.crypto: refactor base58; allow custom digest function
2016-10-25 14:22:35 +02:00
Pavol Rusnak
9d5fe82b45
vendor: update trezor-crypto
2016-10-24 21:00:21 +02:00
Pavol Rusnak
965a6e653a
apps.common.coins: throw exceptions when coin is not found instead of returning None
2016-10-24 18:27:03 +02:00
Pavol Rusnak
2ede564cbd
trezor.crypto: regenerate documentation mocks
2016-10-24 15:45:05 +02:00
Pavol Rusnak
6e658ff2f1
trezor.messages: regenerate classes
2016-10-24 15:45:05 +02:00
Jan Pochyla
507d9bdf68
wire: add tests for v1 codec
2016-10-24 15:40:34 +02:00
Pavol Rusnak
7404a76aeb
modtrezorcrypto: add test_sign_verify_random to curve unit tests
2016-10-24 13:46:59 +02:00
Pavol Rusnak
9c921c073f
modtrezorcrypto: add generate_secret methods to curves
2016-10-24 13:23:10 +02:00
Pavol Rusnak
3c5c685b8c
add curve25519.publickey and unittest for randomized multiply
2016-10-23 22:39:11 +02:00
Pavol Rusnak
7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method)
2016-10-22 00:51:52 +02:00
Jan Pochyla
4216e6f544
tests: remove old wire_codec test example
2016-10-21 15:07:31 +02:00
Jan Pochyla
d0b29d4caa
wire: add tests, fix missing 0-padding
2016-10-21 15:02:20 +02:00
Pavol Rusnak
e62e8dbe6f
tools: move coins-gen tool to /tools
2016-10-20 17:07:56 +02:00
Pavol Rusnak
1420ad591b
apps: add apps.common.coins (+generator)
2016-10-20 16:40:57 +02:00
Pavol Rusnak
815f0057dd
bootloader: fix build
2016-10-20 15:25:26 +02:00
Jan Pochyla
688d293b01
wire: use memoryview() asap in the parsing process
2016-10-20 15:14:40 +02:00
Jan Pochyla
67ac47f087
apps.homescreen: respond with ~correct data, handle GetFeatures
2016-10-20 15:14:40 +02:00
Jan Pochyla
ad2955aaab
ui: code style, make header icon optional
2016-10-20 15:14:40 +02:00
Jan Pochyla
b60206d588
app.management: fix missing icon
2016-10-20 15:14:40 +02:00
Jan Pochyla
74b2170e3f
ui.swipe: make constants private
...
Private const() can be inlined properly.
2016-10-20 15:14:40 +02:00
Jan Pochyla
4e290cc6df
ui.loader: add is_active method
2016-10-20 15:14:39 +02:00
Jan Pochyla
d94dd32816
ui.text: code style, add color support
2016-10-20 15:13:47 +02:00
Jan Pochyla
7a518e9fa4
seed: add passphrase UI
2016-10-20 15:13:47 +02:00
Jan Pochyla
c5dfcb53d1
apps.wallet: add GetAddress
2016-10-20 15:13:47 +02:00
Jan Pochyla
4e47ae1606
modtrezorcrypto: add HDNode.address
...
TODO: tests
2016-10-20 15:13:47 +02:00
Jan Pochyla
46d06321dd
readme: os x ARM instructions
2016-10-20 15:13:47 +02:00
Pavol Rusnak
3067bfa003
modtrezorui: add yoffset parameter to display.loader
2016-10-18 16:27:13 +02:00
Pavol Rusnak
fffe930d8c
modtrezorui: rename fonts
2016-10-18 15:05:55 +02:00
Pavol Rusnak
dac0a252bd
regenerate mocks
2016-10-18 14:32:37 +02:00