Commit Graph

315 Commits (30ff61b588b46ad88be9e2bf8be147555f93898c)

Author SHA1 Message Date
Pavol Rusnak 30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos
7 years ago
Pavol Rusnak 08376a4a54
fix typo
7 years ago
Pavol Rusnak e92440dfc8
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak 3098dc8447
unix: don't use usb_hid_write from usb_hid_read for PING/PONG
7 years ago
Pavol Rusnak fea8d53b85
trezor.io: cleanup usb code
7 years ago
Pavol Rusnak ea116d742a
use explicit_bzero where possible; update trezor-crypto
7 years ago
Jan Pochyla 2c3df7381f unix/usb: fix wur
7 years ago
Jan Pochyla 20c4900df1 modtrezorcrypto/bip39: throw less exceptions
7 years ago
Pavol Rusnak 27d9abe883
trezor.config: add public values (readable without unlock)
7 years ago
Pavol Rusnak 1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes
7 years ago
Pavol Rusnak d11bbde2e1
trezor.crypto: fix sha3-{256,512} argument handling
7 years ago
Pavol Rusnak 7efef68e97
trezor.crypto: add static keyword to crc
7 years ago
Pavol Rusnak ee925f7813
prodtest: draw border on start too
7 years ago
Jan Pochyla 622cb847e5 prodtest: fix touch coordinates
7 years ago
Pavol Rusnak 7537c26c83
trezor.crypto: use mp_obj_new_str_from_vstr where we already have preallocated vstr
7 years ago
Pavol Rusnak 981ec87877
trezor.crypto: put back vstr where it makes sense (= user controlled input)
7 years ago
Pavol Rusnak 4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str
7 years ago
Pavol Rusnak b98a1db6ee
embed: cleanup unused modules
7 years ago
Pavol Rusnak fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539
7 years ago
Pavol Rusnak b9d5af8c19
modtrezorcrypto: remove ssss (different implementation will be re-added later)
7 years ago
Pavol Rusnak 4cc8a5432d
bootloader: use normal/regular font rather than bold
7 years ago
Pavol Rusnak 94588dd588
modtrezorui: introduce TREZOR_FONT_PREFILL, set it to 0 in bootloader
7 years ago
Pavol Rusnak 424115967f
embed: fix wur for usb functions
7 years ago
Pavol Rusnak f1a75b36f7
vendor: update micropython to 1.9.3 release
7 years ago
Pavol Rusnak d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage
7 years ago
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function
7 years ago
Pavol Rusnak eff3ce2aa8
unix: use ensure, not (void)
7 years ago
Jan Pochyla 7be96048f8 unix: fix wur in usb
7 years ago
Pavol Rusnak 4b54bfbbf2
modtrezorui: change loader size to 120x120
7 years ago
Pavol Rusnak 63e999ab84
trezor.ui: introduced minwidth to display.text functions; more optimizations
7 years ago
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code
7 years ago
Pavol Rusnak 5e93cca0a9
WIP
7 years ago
Jochen Hoenicke beef9ecfb5 Moved flash_unlock to norcow_update
7 years ago
Pavol Rusnak 6aae87437f
modtrezorui: draw bars under letters
7 years ago
Pavol Rusnak 11a3ff055c
boardloader/bootloader: typo
7 years ago
Pavol Rusnak 4584861385
trezor.ui: introduce ui.SIZE
7 years ago
Pavol Rusnak 79a3f84c3c
modtrezorui: invert FONT macro inclusion logic
7 years ago
Pavol Rusnak 80707f195b
modtrezorui: small cleanup
7 years ago
Pavol Rusnak 7504366a02
bootloader: simplify vtrust code
7 years ago
Jochen Hoenicke c0cd252c83 Store pin as integer
7 years ago
Pavol Rusnak 125ab8471c
trezorhal: store image fingerprint in the image_header structure
7 years ago
Pavol Rusnak be302480fd
modtrezorcrypto: cleanup random
7 years ago
Pavol Rusnak 1a32e46e5d
bootloader: cleanup ui code
7 years ago
Pavol Rusnak 5e476b856e
unix: implement sdcard, add unit test
7 years ago
Pavol Rusnak 48ef409fdb
modtrezorio: remove mocks
7 years ago
Pavol Rusnak b4933f969e
bootloader: don't downgrade firmware below fix_version in the current firmware
7 years ago
Pavol Rusnak 965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix)
7 years ago
Pavol Rusnak e8f70ed4af
pin: implement graphics pin timeout
7 years ago
Jochen Hoenicke 87f7054e46 Added callback for PIN timeout
7 years ago
Jochen Hoenicke 9f2bbb0e1a Removed references to pin fail area
7 years ago