Commit Graph

145 Commits

Author SHA1 Message Date
Pavol Rusnak ebc585fd40
trezorhal: fix bug in flash_otp_write 2018-01-29 08:44:55 +01:00
Pavol Rusnak 1b712a0446
trezorhal: fix simple interface behaviour on windows 2018-01-28 02:43:03 +01:00
Pavol Rusnak 399d6d2f65
trezorhal: make webusb more robust 2018-01-28 02:43:03 +01:00
Pavol Rusnak 08c145c4da
trezorhal: fix winusb 2018-01-28 02:43:02 +01:00
Pavol Rusnak ba8224f598
trezorhal: remove configuration from usb string table 2018-01-28 02:43:00 +01:00
Pavol Rusnak 55d0416641
trezorhal: make usb stack more robust 2018-01-27 17:27:57 +01:00
Pavol Rusnak d6681efff2
trezorhal: update usb maxpower 2018-01-26 17:11:52 +01:00
Pavol Rusnak a9f5ed9119
trezorhal: remove unnecessary casting for vstr, small ui nitpicks 2018-01-25 16:29:05 +01:00
Pavol Rusnak 1280073c04
trezorhal: remove unnecessary casting for usb strings 2018-01-25 15:34:45 +01:00
Pavol Rusnak 8ef2098763
trezorhal: unix: refactor touch get/pack functionality 2018-01-24 13:41:02 +01:00
Pavol Rusnak 2f567ee822
bootloader: rework UI 2018-01-24 12:47:55 +01:00
Pavol Rusnak 9fcb59c3ca
trezorhal: reply with winusb guid just for interface 0 2018-01-24 00:37:58 +01:00
Pavol Rusnak ca0918dbce
trezorhal: rework winusb 2018-01-24 00:37:54 +01:00
Pavol Rusnak 00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word} 2018-01-23 16:58:53 +01:00
Pavol Rusnak 089168209b
trezorhal: fix webusb landing page 2018-01-23 02:32:48 +01:00
Pavol Rusnak 919e2b9c3b
trezorhal: formatting nits in usb 2018-01-23 02:32:48 +01:00
Pavol Rusnak 9f80d5614a
trezorhal: add winusb magic to webusb interface 2018-01-21 15:40:31 +01:00
Pavol Rusnak 5ef0967857
trezorhal: small fixes to USB stack 2018-01-21 03:54:08 +01:00
Pavol Rusnak aa8c192040
trezor.io: remove unused fields from WebUSB class 2018-01-21 00:49:09 +01:00
Pavol Rusnak 8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB 2018-01-21 00:04:05 +01:00
Pavol Rusnak d927b80b50
trezorhal: more tests in usb 2018-01-20 22:06:39 +01:00
Pavol Rusnak 51db0c4099
fix typo 2018-01-20 22:02:13 +01:00
Pavol Rusnak 9d10a7a508
trezorhal: more switch formatting 2018-01-20 21:57:10 +01:00
Pavol Rusnak 30ff61b588
trezorhal: add configuration, interface strings to usb descriptors, minor typos 2018-01-20 21:48:53 +01:00
Pavol Rusnak fea8d53b85
trezor.io: cleanup usb code 2018-01-17 16:10:31 +01:00
Pavol Rusnak 424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak 5e93cca0a9
WIP 2017-12-16 17:54:12 +01:00
Pavol Rusnak 7504366a02
bootloader: simplify vtrust code 2017-12-15 20:57:54 +01:00
Pavol Rusnak 125ab8471c
trezorhal: store image fingerprint in the image_header structure 2017-12-15 19:22:59 +01:00
Pavol Rusnak be302480fd
modtrezorcrypto: cleanup random 2017-12-15 16:56:08 +01:00
Pavol Rusnak 1a32e46e5d
bootloader: cleanup ui code 2017-12-15 15:26:36 +01:00
Pavol Rusnak 965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix) 2017-12-14 21:29:13 +01:00
Jochen Hoenicke 9f2bbb0e1a Removed references to pin fail area 2017-12-14 17:18:45 +01:00
Pavol Rusnak 45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header 2017-12-13 22:50:48 +01:00
Jochen Hoenicke 816bfe387f Bug fix: missing parenthesis in flash_write_word 2017-12-12 00:01:49 +01:00
Pavol Rusnak ce3eaba925
trezorhal: use static inline instead of static (gcc 7.2 workaround) 2017-12-11 22:34:45 +01:00
Pavol Rusnak e268aeb8b7
flash: simplify/unify flash_erase_sectors usage 2017-12-09 18:00:37 +01:00
Pavol Rusnak 6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong 2017-12-09 14:48:49 +01:00
Pavol Rusnak 38e3088325
common: don't expose shutdown() via common.h 2017-12-08 12:42:43 +01:00
Pavol Rusnak f88080b904
Merge branch 'pin_fails' 2017-12-07 15:29:47 +01:00
mcudev 6179edde90 touch: reset and usage updates 2017-11-21 10:22:16 -05:00
Pavol Rusnak 879a3e85bd
trezorhal: reorder stuff in common.{c,h}; remove unnecessary externs for functions 2017-11-07 20:44:30 +01:00
Pavol Rusnak d9574bf131
trezorhal: enable BOR level 3, PVD level 5, turn off display in PVD handler 2017-11-07 18:06:42 +01:00
Pavol Rusnak 3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Pavol Rusnak ee7d260d2f
trezorhal: use const where possible for flash 2017-11-05 23:51:10 +01:00
Jan Pochyla 1f6cc70480 flash: remove flash_set_option_bytes 2017-11-05 21:00:38 +01:00
Jan Pochyla 0376ff7f48 storage, norcow: use secbool 2017-11-05 20:46:59 +01:00
Jan Pochyla c2ec40bebf flash: flash_init returns bool 2017-11-05 20:46:58 +01:00
Jan Pochyla c78babdc12 flash: add flash_get_address 2017-11-05 20:46:11 +01:00