1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-30 18:10:56 +00:00
Commit Graph

193 Commits

Author SHA1 Message Date
Jan Pochyla
be7ee61ddd config: always use bytes() for default value 2016-11-23 15:06:39 +01:00
Pavol Rusnak
728db8b04c
extmod: remove unused includes 2016-11-21 21:26:49 +01:00
Pavol Rusnak
7c89f61f55
trezor.config: check for errors from norcow 2016-11-21 21:20:05 +01:00
Pavol Rusnak
6575b8059e
trezor.config: use mock implementation on stmhal again 2016-11-21 20:50:41 +01:00
Pavol Rusnak
c6ea71901d
trezor.config: use norcow 2016-11-21 19:56:23 +01:00
Pavol Rusnak
41cd3d71d5
trezor.utils.halt: print error message passed as argument 2016-11-19 15:30:46 +01:00
Pavol Rusnak
533aebdf6d
trezor.utils: add halt function 2016-11-19 15:23:58 +01:00
Pavol Rusnak
388e2dc305
apps.wallet: implement SignMessage 2016-11-16 21:28:27 +01:00
Pavol Rusnak
5253bdef1d
modtrezormsg: fix last commit 2016-11-14 15:32:00 +01:00
Karel Bílek
69add20cc8 Adding UDP ping (#3) 2016-11-14 15:21:45 +01:00
Pavol Rusnak
b0fa0466dc
trezor.crypto.curve: implement verify_recover function for ecdsa 2016-11-08 23:52:04 +01:00
Pavol Rusnak
c8eb2bf17b
trezor.crypto: prepend recid to ecdsa signatures 2016-11-08 23:10:31 +01:00
Pavol Rusnak
2d0675341b
trezor.crypto: use 64-byte ecdsa signatures (for now) 2016-11-08 18:33:03 +01:00
Pavol Rusnak
8d1109986c
trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages 2016-11-08 15:38:45 +01:00
Pavol Rusnak
0012883984
trezor.ui.display: fix orientation/backlight calls when NOUI=1 is used 2016-11-06 18:14:23 +01:00
Jan Pochyla
f9827666f8 modtrezorcrypto: fix last commit 2016-11-06 16:06:29 +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
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
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
9d5fe82b45
vendor: update trezor-crypto 2016-10-24 21:00:21 +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
4e47ae1606 modtrezorcrypto: add HDNode.address
TODO: tests
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
bf919e9192
modtrezorconfig: prepare for norcow usage 2016-10-14 18:40:30 +02:00
Pavol Rusnak
ce638fe94a
modutrezorui: enable LCD_FMARK/PD12 handling on stmhal 2016-10-14 18:11:00 +02:00
Jan Pochyla
2ff937b707 modtrezorcrypto: fix ecsda_sign calls
TODO: allow the caller to provide the is_canonical parameter: trezor/trezor-crypto@133c068f37
2016-10-14 15:46:09 +02:00
Jan Pochyla
cd9fca42b7 modtrezorcrypto: add bip32 deserialization 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
Pavol Rusnak
037df3357c
modtrezorui: functions can draw off-canvas now and respect drawing offset 2016-10-13 18:16:11 +02:00
Pavol Rusnak
35beedfcbc
modtrezorui: add display.offset() function 2016-10-12 18:58:18 +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
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
ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons 2016-10-10 14:51:52 +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
Pavol Rusnak
4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions 2016-10-07 12:09:05 +02:00
Pavol Rusnak
a654b4c17d
stmhal: fix display_raw 2016-10-06 16:56:38 +02:00
Pavol Rusnak
3e9b6c09b0
stmhal: simplify init of display 2016-10-06 15:57:05 +02:00
Jan Pochyla
128a4b20b5 crypto: add bip32 2016-10-06 15:05:14 +02:00