Commit Graph

23 Commits (368ba963a692aa02572f6d83cbf5f0b926ecc091)

Author SHA1 Message Date
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
6 years ago
Pavol Rusnak 2bebd0eec5
embed/trezorhal+unix: add copyright headers
6 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
6 years ago
Pavol Rusnak a9f5ed9119
trezorhal: remove unnecessary casting for vstr, small ui nitpicks
7 years ago
Pavol Rusnak 125ab8471c
trezorhal: store image fingerprint in the image_header structure
7 years ago
Pavol Rusnak 965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix)
7 years ago
Pavol Rusnak 45c290d24c
trezorhal: introduce vendor_keys_hash, use it in compare_to_current_vendor_header
7 years ago
Pavol Rusnak f88080b904
Merge branch 'pin_fails'
7 years ago
Pavol Rusnak 3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar
7 years ago
Pavol Rusnak ee7d260d2f
trezorhal: use const where possible for flash
7 years ago
Pavol Rusnak d0e81edc8f
bootloader: check chunk hash before flashing
7 years ago
Pavol Rusnak 4d36d0e1c1
trezorhal: use sectrue where possible
7 years ago
Pavol Rusnak f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible
7 years ago
Pavol Rusnak 7ddfdf69d6
trezorhal: support for non-continous areas in check_image_contents
7 years ago
Pavol Rusnak 89cc35b195
trezorhal: fix hash offset in check_image_contents
7 years ago
Pavol Rusnak 7c891e19e5
boardloader, bootloader: check image contents against hashes in the header
7 years ago
Pavol Rusnak 63636be0a3
trezorhal: rework header checking to new format
7 years ago
Pavol Rusnak 3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes
7 years ago
Pavol Rusnak 0c6ee14ee1
trezorhal: move image related defines to image.h
7 years ago
mcudev 167d476fff image_parse_header: remove undefined behavior and other updates (#61)
7 years ago
Pavol Rusnak 78f57d083c
add vendor trust to vendorheader
7 years ago
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago