Commit Graph

133 Commits (a7e17f07ee40733c487ab8b05926fc51b9cc9501)

Author SHA1 Message Date
Pavol Rusnak 0a7997f798
modtrezorcrypto: add cosi cosigning scheme to ed25519 class
7 years ago
Pavol Rusnak eef147d810
modtrezorcrypto: add crypto.rfc6979 class
7 years ago
Pavol Rusnak 87b7d0649b
boot: use cosi to compute aggregated key and use it
7 years ago
Pavol Rusnak 1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs
7 years ago
Pavol Rusnak 5c227a4a47
loader: compute pubkey rather than use precomputed one, prepare for vendor keys
7 years ago
Pavol Rusnak 7cb7a90d27
build: include vendorheader.bin in source tree
7 years ago
Pavol Rusnak 1f07f310b3
loader: show vendor image and vendor string from vendor header
7 years ago
Pavol Rusnak b72bc08172
loader: vendor image is now shown in display
7 years ago
Pavol Rusnak bbf55bcf2a
loader: handle vendor header
7 years ago
Pavol Rusnak 6187a8a0c1
build: refactor build_vendorheader
7 years ago
Jochen Hoenicke e0fd890661 Implemented vendor header.
7 years ago
Pavol Rusnak 300daa4513
bootloader: lock flash/turn off sdcard when header invalid
7 years ago
Pavol Rusnak 74db11cbfc
bootloader/loader: rename crypto.c/h to image.c/h, refactor
7 years ago
Pavol Rusnak a440f3d322
trezorhal: update linker scripts
7 years ago
Pavol Rusnak 435e96e1b3
build: refactor binctl and firmware/loader image stuff
7 years ago
Jochen Hoenicke e37619899e Put loader/firmware header into image (#5)
7 years ago
Pavol Rusnak 722e71eb31
modtrezorconfig: use uint16_t for data length
7 years ago
Pavol Rusnak 32cf4f36d2
modtrezorconfig: norcow works for stm
7 years ago
Pavol Rusnak 5e69cbe69f
trezorhal: chain loading works
7 years ago
Pavol Rusnak d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit
7 years ago
Pavol Rusnak efb722cc97
trezorhal: split memory files, adapt bootloader and loader
7 years ago
Pavol Rusnak 8d3020bc62
trezorhal: implement jump_to function
7 years ago
Pavol Rusnak c8bff40ffb
trezorhal: use more readable syntax in memory script
7 years ago
Pavol Rusnak 2725792528
bootloader: erase all sectors except first two
7 years ago
Pavol Rusnak 41af56222a
modtrezorcrypto: update trezor-crypto
7 years ago
Pavol Rusnak 7dfc863fe7
modtrezorui: use const for bitmap font
7 years ago
Pavol Rusnak 4d4a351ba6
modtrezorcrypto: update to new trezor-crypto
7 years ago
Pavol Rusnak b30f3b0946
build: use -Os for debug builds and use them by default
7 years ago
Pavol Rusnak f6747b9556
modtrezorui: update qrcode to draw 1px border
7 years ago
Pavol Rusnak 6861e68f21
update to current micropython master
7 years ago
Pavol Rusnak a9d16aa7fa
firmware: extract periph_init into common.c
7 years ago
Pavol Rusnak e313234fe3
bootloader/loader: use blake2s instead of sha256 for digests
7 years ago
Pavol Rusnak 1e80e82bac
bootloader: change stage2 to loader
7 years ago
Pavol Rusnak 9e5d61752c
trezorhal: use display_print instead of mp_hal_stdout in our version of stm32_it.c
7 years ago
Pavol Rusnak 416676120b
extract common stuff into trezorhal/common.[ch]
7 years ago
Pavol Rusnak e872f54896
modtrezorui: split display_print into display_print and display_print_out
7 years ago
Pavol Rusnak 420516c5de
modtrezorcrypto: use BLOCK_LENGTH and DIGEST_LENGTH across all hash functions
7 years ago
Pavol Rusnak cbaca604f3
bootloader+loader: rework build, make clear what is bootloader and what is loader in docu
7 years ago
Pavol Rusnak b141e6b1e3
loader: add skeleton
7 years ago
Pavol Rusnak 603d980d22
bootloader: enable build again
7 years ago
Pavol Rusnak 7edc688180
modtrezorui: extract fsmc constants
7 years ago
Pavol Rusnak 4b301cd288
modtrezorui: rename variables
7 years ago
Pavol Rusnak 135294b5e8
modtrezorui: more cleanup
7 years ago
Pavol Rusnak a753bb05e2
unix: fix NOUI build
7 years ago
Pavol Rusnak 4a7540f5b9
modtrezormsg: untagle touch
7 years ago
Pavol Rusnak 6c982a64d1
firmware: move modutime to firmware
7 years ago
Pavol Rusnak 715d25a93b
trezorhal: add flash_set_option_bytes function
7 years ago
Jan Pochyla ab1888fe15 firmware: fix crc32 in ubinascii
7 years ago
Pavol Rusnak 0cb0b11723
trezorhal: minor changes in sdcard
7 years ago
Pavol Rusnak f6f3765a3e
trezorhal: enable write to sdcard
7 years ago
Pavol Rusnak 2295cd5bf3
modtrezorui: cleanup
7 years ago
Jan Pochyla 1db09f88a1 firmware/main.c: simplify
7 years ago
Jan Pochyla 9fd5f05f1f firmware: simplify, move things to mphalport.c
7 years ago
Jan Pochyla e793870082 trezorhal: remove USE_DEVICE_MODE
7 years ago
Pavol Rusnak 433bc8138b
unix: fix unix build
7 years ago
Jan Pochyla 462f6bab7f trezorhal: move irq handlers to subsystems
7 years ago
Pavol Rusnak 935e9b2912
trezorhal: fix i2c, more reorg
7 years ago
Pavol Rusnak 3f0026912c
i2c: reorganize sources
7 years ago
Jan Pochyla 929f708e5c trezorhal: split to subsystems
7 years ago
Pavol Rusnak 2cde9511da
micropython: update submodule; fix build
7 years ago
Pavol Rusnak b28fd6327f
bootloader: introduce keymask
7 years ago
Jan Pochyla 78d82386d1 trezorhal: adjust to new structure
7 years ago
Pavol Rusnak 28e62c6270
extmod: replace mp_obj_tuple_get and mp_obj_list_get calls with mp_obj_get_array
7 years ago
Pavol Rusnak 9c3c19959b
modtrezorcrypto: add Blake2b
7 years ago
Pavol Rusnak 10b687c318
reorganization (wip)
7 years ago
Jan Pochyla 110dca7711 modtrezorui: fix Font_Bitmap extern
8 years ago
Pavol Rusnak c50943bbf0
modtrezormsg: cleanup touch methods
8 years ago
Pavol Rusnak f443407fae
modtrezorui: add extern to includes
8 years ago
Pavol Rusnak affb893cb1
modtrezormsg: don't use delay_us_fast for stmhal
8 years ago
Pavol Rusnak b8af656e0a
bootloader: wip
8 years ago
Pavol Rusnak 89ec08eec0
bootloader: allow stage 1 to rewrite whole flash
8 years ago
Pavol Rusnak d8efa32091
bootloader: more wip
8 years ago
Pavol Rusnak e8adff4683
modtrzezormsg: extract touch.h
8 years ago
Pavol Rusnak 8c296099f8
bootloader: wip
8 years ago
Pavol Rusnak 69f1569761
modtrezorui: fix last commit
8 years ago
Pavol Rusnak d0c59fdf3d
rework display_btext into display_print
8 years ago
Pavol Rusnak 1d5a6dd1b4
modtrezorui: add display_btext
8 years ago
Pavol Rusnak 3d89dc8085
bootloader: almost complete stage 1
8 years ago
Pavol Rusnak 5bdfbb3469
bootloader: work in progress
8 years ago
Pavol Rusnak 2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking
8 years ago
Jan Pochyla deb09c2454 modtrezorcrypto: add functions for working with wordlist
8 years ago
Pavol Rusnak 3b252b2b63
move ui-mockup to assets
8 years ago
Pavol Rusnak 029a7c35d8
reorganize code
8 years ago