Commit Graph

24 Commits

Author SHA1 Message Date
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak 936f0e3e26
embed: fix 3 TODO items 2018-02-12 14:51:41 +01:00
Pavol Rusnak a9f5ed9119
trezorhal: remove unnecessary casting for vstr, small ui nitpicks 2018-01-25 16:29:05 +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 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
Pavol Rusnak 45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header 2017-12-13 22:50:48 +01:00
Pavol Rusnak 3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Pavol Rusnak d0e81edc8f
bootloader: check chunk hash before flashing 2017-10-27 05:09:35 +02:00
Pavol Rusnak 36143033c4
bootloader: check vendor header / image header before flashing 2017-10-27 04:49:59 +02:00
Pavol Rusnak f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible 2017-10-26 23:51:39 +02:00
Pavol Rusnak 7ddfdf69d6
trezorhal: support for non-continous areas in check_image_contents 2017-10-26 19:09:53 +02:00
Pavol Rusnak 89cc35b195
trezorhal: fix hash offset in check_image_contents 2017-10-26 18:53:20 +02:00
Pavol Rusnak 7c891e19e5
boardloader, bootloader: check image contents against hashes in the header 2017-10-26 17:16:59 +02:00
Pavol Rusnak 63636be0a3
trezorhal: rework header checking to new format 2017-10-26 15:54:02 +02:00
Pavol Rusnak 9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header 2017-10-26 14:25:10 +02:00
Pavol Rusnak 3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes 2017-10-26 02:11:40 +02:00
Pavol Rusnak 0c6ee14ee1
trezorhal: move image related defines to image.h 2017-10-26 01:17:57 +02:00
mcudev 167d476fff image_parse_header: remove undefined behavior and other updates (#61)
boardloader: bootloader: remove undefined behavior in header parsing, code cleanup
2017-10-19 18:45:57 +02:00
Pavol Rusnak 78f57d083c
add vendor trust to vendorheader 2017-10-05 17:31:39 +02:00
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader 2017-09-29 17:31:59 +02:00
Jan Pochyla 55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00