Commit Graph

305 Commits (d11bbde2e176c073149c2cdb8ef6f58f231d88b1)

Author SHA1 Message Date
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
Jochen Hoenicke 497021f2ef storage: New pin fail section inside NORCOW
7 years ago
Pavol Rusnak b7444ac13e
modtrezorconfig: fix wipe error
7 years ago
Pavol Rusnak 2f719526e7
bootloader: implement vendor keys lock
7 years ago
Pavol Rusnak 45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header
7 years ago
Pavol Rusnak 70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256
7 years ago
Pavol Rusnak 34322d5fb6
firmware: enable stack protector (except nlr stuff)
7 years ago
Pavol Rusnak 1aba175d7d
build: adapt to new trezor-crypto changes
7 years ago
Pavol Rusnak 7b9fcf98ae
drop embed/extmod/modtrezorcrypto/trezor-crypto symlink
7 years ago
Jochen Hoenicke 816bfe387f Bug fix: missing parenthesis in flash_write_word
7 years ago
Pavol Rusnak 20a1326ebb
storage: fix typo
7 years ago