Commit Graph

56 Commits (031d20b25f5358f352b4e52ef50cc04d4d59cf6c)

Author SHA1 Message Date
Pavol Rusnak 02358b3932
embed/trezorhal: move systick from vendor to trezorhal
6 years ago
Pavol Rusnak 21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware
6 years ago
Saleem Rashid 3f63acdd77
embed: Use GCC as linker
6 years ago
Pavol Rusnak 2fe0ce542f
firmware: introduce PYOPT, use it consistently in mpy-cross and in runtime, set it to 1 by default
6 years ago
Pavol Rusnak fa697ba322
embed/vendorheader: add unsafe_signed_prod, use it by default
6 years ago
Pavol Rusnak cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader
7 years ago
Pavol Rusnak ec52ff882f
build: update scripts to respect PRODUCTION flag and don't sign with devel keys when it's set
7 years ago
Pavol Rusnak 81ff60c3e1
tools: drop combine_sign; rework keyctl into 3 tools
7 years ago
Pavol Rusnak 706ddda1a7
tools: update keyctl to work with already signed binaries
7 years ago
Pavol Rusnak e92440dfc8
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak 8fd8613c80
firmware: use -ffreestanding too
7 years ago
Pavol Rusnak 1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes
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 d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage
7 years ago
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function
7 years ago
Pavol Rusnak 79a3f84c3c
modtrezorui: invert FONT macro inclusion logic
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
Jan Pochyla f07b4dda0b modtrezorconfig: extract pin & unlocking to storage.c
7 years ago
mcudev 816f78c052 builds: refer to CMSIS header which includes HAL due to USE_HAL_DRIVER
7 years ago
Jan Pochyla 1e883530b4 scons: get file sizes in portable way
7 years ago
Pavol Rusnak efa918a2f9
prodtest: code cleanup, fix build
7 years ago
Jan Pochyla 95965c3ff7
prodtest: add new target
7 years ago
Pavol Rusnak 9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header
7 years ago
Pavol Rusnak 28aca51bc8
firmware: sign just the firmware part, not vendor header
7 years ago
Pavol Rusnak 46fdb8bcb4
tools: use combine_sign to compute signatures, binctl just for adding to binary
7 years ago
mcudev a0286bcc29 build: further cleanup common symbols (#63)
7 years ago
mcudev 15d55061db SConscript: trivial string concat cleanup
7 years ago
Pavol Rusnak a43aec0fe3
embed: make F427 the default mcu
7 years ago
Pavol Rusnak 0e7095dd9c
firmware: disable stack protector for now
7 years ago
Pavol Rusnak 6413c2c23e
embed: rework memory layout, enable stack protector
7 years ago
Pavol Rusnak 7117c59ed9
firmware: drop firmware0 concept
7 years ago
Pavol Rusnak 32e48258e4
trezorhal: preparations for F427 support
7 years ago
Pavol Rusnak 69953a91c5
trezorhal: code cleanup, combine stm32_it.c + stm32_system.c into stm32.c
7 years ago
mcudev dbfeddce79 firmware: issue #12 (#29)
7 years ago
mcudev 8d3540c858 boardloader, bootloader: jump_to memory clearing and simplify code to asm
7 years ago
Pavol Rusnak 8ddcd74080
build: sign all stuff using ed25519 cosi (2 out of 3)
7 years ago
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader
7 years ago
Pavol Rusnak ad614a364f
bootloader+firmware: move startup scripts to embed, preparation for their change
7 years ago
Pavol Rusnak 9019ec7e2b
build: add firmware0 target (firmware with no headers)
7 years ago
Pavol Rusnak a67be06349
trezorhal: add io.SBU
7 years ago
Pavol Rusnak be598582f5
trezorhal: remove trezorhal/hal directory
7 years ago
mcudev 5c21c4a96b better support ILI9341 testing, make tearing effect synch optional, minor fixes
7 years ago
Jan Pochyla 29b90465ce micropython: update submodule
7 years ago
Jan Pochyla ddd079f131 scons: compile vm.c and gc.c with -O3 on stm32
7 years ago
Jan Pochyla 4c987454eb modtrezormsg: merge to modtrezorio
7 years ago
Jan Pochyla 3dab5e7797 scons: cleanup defines
7 years ago