Jan Pochyla
a44e16a9ca
rework high-level storage
...
We don't use Storage protobuf message anymore, and instead all keys are as granular as possible.
trezor.storage provides high-level function interface.
2016-10-14 15:35:44 +02:00
Jan Pochyla
53f6347838
protobuf: optimize memory, minor api changes
...
In StreamReader, avoid buffering reallocs by copying right into caller-supplied buffer.
Add loads() and dumps() to all scalar types through ScalarType superclass.
TODO: The API is steall really ugly, especially the stuff about targets/sources and load() function signatures.
2016-10-14 15:29:14 +02:00
Jan Pochyla
385eab91f1
modtrezorcrypto: add bip32 tests
2016-10-14 15:12:17 +02:00
Jan Pochyla
cd9fca42b7
modtrezorcrypto: add bip32 deserialization
2016-10-14 15:12:17 +02:00
Jan Pochyla
27126396bd
update trezor-crypto submodule
2016-10-14 15:12:17 +02:00
Pavol Rusnak
f16d730c58
modtrezorui: display.raw data parameter is now optional
2016-10-14 14:52:36 +02:00
Jan Pochyla
f45bcc65f2
bip32: deserialize the fingerprint
2016-10-14 14:44:05 +02:00
Roman Zeyde
0ad8a7c627
Add Curve25519 implementation
...
Using https://github.com/agl/curve25519-donna repository source.
2016-10-13 22:21:58 +03:00
Pavol Rusnak
037df3357c
modtrezorui: functions can draw off-canvas now and respect drawing offset
2016-10-13 18:16:11 +02:00
Karel Bílek
dfc543c955
Switching address types ( #119 )
...
Address_type and address_type_p2sh were switched
2016-10-13 11:39:35 +02:00
Pavol Rusnak
35beedfcbc
modtrezorui: add display.offset() function
2016-10-12 18:58:18 +02:00
Pavol Rusnak
57fbd4dfc2
build: parallel build by default
2016-10-12 18:29:01 +02:00
Karel Bilek
0a158f6c7d
Add compiled output
2016-10-12 18:04:03 +02:00
Pavol Rusnak
cb25b763b7
add emcripten outputs to gitignore
2016-10-12 17:36:46 +02:00
Pavol Rusnak
aa942dc3a9
update vendor/micropython
2016-10-12 16:29:26 +02:00
Jan Pochyla
2d7d241a8d
res_collect: fix for resources in subdirectories
2016-10-12 13:12:27 +02:00
Jan Pochyla
0a5e43723f
utils: export TrezorUtils.memcpy
2016-10-11 17:18:31 +02:00
Jan Pochyla
275d3505f0
update micropython submodule
2016-10-11 17:18:09 +02:00
Jan Pochyla
39c2766ae0
add modtrezorutils
...
Contains a memcpy helper for zero-cost copying between two buffers (bytearray or memoryview).
2016-10-11 17:15:50 +02:00
Pavol Rusnak
9e3102742e
modules: add missing copyright headers
2016-10-11 14:05:55 +02:00
Pavol Rusnak
a9131f26e7
debug: fix variable name
2016-10-11 14:01:32 +02:00
Pavol Rusnak
882efbf21b
modtrezormsg: use interfaces index internally, usage_page externally
2016-10-11 13:15:13 +02:00
Pavol Rusnak
a423d4602f
modtrezormsg: store assigned used pages internally, add get_interfaces method
2016-10-11 12:33:02 +02:00
Pavol Rusnak
3f44dfedb5
modtrezormsg: use usage_page to identify interfaces
2016-10-11 12:14:17 +02:00
Pavol Rusnak
d9546d45b9
ui: proper size for loader
2016-10-11 11:29:31 +02:00
Pavol Rusnak
7ddccdb7f4
Revert "simplify cryptoMessageVerify call"
...
This reverts commit 3a42032c63
.
2016-10-10 17:42:42 +02:00
Pavol Rusnak
ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons
2016-10-10 14:51:52 +02:00
Pavol Rusnak
f8bf6d8cff
tools: added toi2png tool
2016-10-10 13:38:33 +02:00
Pavol Rusnak
cae5fbe434
docs: add RAMs to memory layout
2016-10-10 12:48:30 +02:00
Pavol Rusnak
3857ff4139
docs: fix table
2016-10-10 12:33:10 +02:00
Pavol Rusnak
9f3cb279b3
docs: add memory layout
2016-10-10 12:30:41 +02:00
Pavol Rusnak
c0181b1aec
extract address related stuff into trezor-crypto
2016-10-10 11:26:52 +02:00
Pavol Rusnak
b05776be77
add address related funnctions
2016-10-10 11:22:15 +02:00
Pavol Rusnak
c6094dc9ad
verify_message now requires coin_name
2016-10-10 11:02:04 +02:00
Pavol Rusnak
e70900d49e
don't tie message verification with P2PKH addresses
2016-10-10 10:17:51 +02:00
Pavol Rusnak
3a42032c63
simplify cryptoMessageVerify call
2016-10-10 00:18:57 +02:00
Daira Hopwood
6bfe487f19
Update address prefixes for Zcash.
2016-10-10 00:05:51 +02:00
Daira Hopwood
69d99d202d
Add support for multi-byte address prefixes.
2016-10-10 00:05:45 +02:00
Pavol Rusnak
ad73c0d4e7
fix ecdsa_address_decode
2016-10-09 23:42:21 +02:00
Pavol Rusnak
4fb15a13d8
add hdnode_get_address
2016-10-08 18:18:32 +02:00
Pavol Rusnak
8764e26368
ecdsa_address_decode now needs version
2016-10-08 18:13:23 +02:00
Pavol Rusnak
430a5087c8
introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros
2016-10-08 18:01:44 +02:00
Pavol Rusnak
d10ec230c0
add support for multibyte address versions
2016-10-08 17:56:12 +02:00
slush0
51de3a3d9c
Setting initial brightness to ui.BACKLIGHT_NORMAL
2016-10-08 13:02:02 +02:00
slush0
ac726746b9
Changed dimming constants (tested on hw)
2016-10-08 12:06:56 +02:00
slush0
cf38b58a73
Reworked homescreen (no blinking, only diming)
...
Added ui.alert()
2016-10-08 11:47:28 +02:00
Pavol Rusnak
313b5f92e8
add more info to readme
2016-10-07 14:41:21 +02:00
Pavol Rusnak
3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr
2016-10-07 13:57:21 +02:00
Pavol Rusnak
2bba78bf87
fix pbkdf2.key() method
2016-10-07 13:41:25 +02:00
Pavol Rusnak
446ea33dc1
minor changes in modtrezorcrypto docu
2016-10-07 13:27:43 +02:00