Commit Graph

579 Commits (6d8a49444a893d9767984269a2fdcc92d605f3fc)

Author SHA1 Message Date
Martin Milata ee1497b87e refactor(core/rust/ui): hold-to-confirm for paged content
2 years ago
Martin Milata 24a1f2e25e refactor(core): remove unused parameter from display_qrcode
2 years ago
Martin Milata 9f0ebf6d1a refactor(core/rust/ui): arbitrary controls for Dialog component
2 years ago
Andrew Kozlik 892f3e348d fix(crypto): Remove public key from the ed25519 signing API.
2 years ago
tychovrahe c33f92bd72 feat(core): add RGB LED driver for Model R
2 years ago
matejcik 2aa427a6e3 feat(core/rust): make Rust buildable without Micropython
2 years ago
matejcik 37d5597965 feat(core/rust): direct write to display memory for better performance on TT hardware
2 years ago
matejcik 57b12c2807 feat(core): expose display pixeldata accessors from C
2 years ago
tychovrahe 61482d0795 feat(core/rust): expose raw pixel access to rust
2 years ago
Ondrej Mikle 7b7318c3aa feat(core/boardloader): add fixed-address boardloader capablities field
2 years ago
Jan Pochyla c3b82fd651 feat(core/rust): add trezorhal bindings
2 years ago
dependabot[bot] cc795407d0 build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust/fuzz
2 years ago
dependabot[bot] 3c31d24f50 build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust
2 years ago
Martin Novak 2663801108 perf(firmware): do not initialize touch controller in firmware
2 years ago
matejcik c77066065e chore(core/rust): bump cty to 0.2.2
2 years ago
matejcik 38a36a131f chore: rename BIP39_WORDS to BIP39_WORD_COUNT
2 years ago
matejcik 6319a5a9d0 feat(core/rust): BIP-39 wordlist operations in Rust
2 years ago
Ondrej Mikle 60db3e3e52 fix(core/bootloader): do not wait for touch if we know we are staying in bootloader
2 years ago
Ondrej Mikle 49462dc283 chore(core/bootloader): bump over unreleased version
2 years ago
Ondrej Mikle c563c987e1 feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline
2 years ago
matejcik 187ca8ad50 feat(core/rust): List::from_iter
2 years ago
matejcik b3b3e0efa4 tests(core/rust): ability to set up MicroPython env for testing
2 years ago
Ondřej Vejpustek db0da196a8 chore(vendor): update secp256k1-zkp to latest
2 years ago
Martin Milata c257a8a687 fix(core/ui/rust): painting of overlapping Maybe<T> components
2 years ago
Martin Milata b5dfda6a1d fix(core/rust/ui): support longer PIN
2 years ago
Martin Milata 31e63f688e fix(core/rust/ui): implement warning for PIN dialog
2 years ago
Martin Milata 3dcdffe203 refactor(core/rust/ui): emit event when component tree is initialized
2 years ago
Martin Milata 7b5c618576 refactor(core/rust/ui): erase button clears PIN after 2s
2 years ago
Martin Milata e58736f746 feat(core/rust/ui): show PIN digits when touched
2 years ago
Dusan Klinec 14e08ca9db fix(xmr): remove 8192B from firmware image so it can fit to the memory
2 years ago
Dusan Klinec 25d32a8144 feat(xmr): implement bp+, refactor, code cleanup
2 years ago
Dusan Klinec 33c174491f refactor(core/monero): Monero code cleanup
2 years ago
matejcik 99c817bad4 fix(core/emulator): make sure SDL keyboard and quit events are always processed
2 years ago
grdddj feb96c84b0 chore(core/rust): use clippy for all features
2 years ago
tychovrahe 8a092bde21 feat(core): add smaller loader for model R
2 years ago
tychovrahe bd476769cc feat(core): add reset state on display clear on model R. Added to rest of the models as noop.
2 years ago
tychovrahe 58041036f5 feat(core): set colors for monochromatic displays
2 years ago
tychovrahe 0e778cf16d fix(core): fix display_icon function - incorrect boundaries checks
2 years ago
tychovrahe f7a3aad9bd feat(core): initial Model R display implementation with framebuffer
2 years ago
tychovrahe 936c84bac6 feat(core): added button support for Model R
2 years ago
grdddj 7804893179 feat(core/rust): create model_tr feature
2 years ago
grdddj 12da7f301d feat(core): allow for model R in firmware build
2 years ago
grdddj 6b5f578d02 feat(core): implement basic R emulator
2 years ago
Martin Milata 692ea1415e chore(core): bump version to 2.5.2
2 years ago
matejcik 37c61c1381 feat(core): implement firmware dumping
2 years ago
Andrew Kozlik 485ee6e209 feat(core): Show progress in GetFirmwareHash.
2 years ago
Andrew Kozlik 822b1c344f feat(core): Return fw_vendor in firmware Features message.
2 years ago
Andrew Kozlik 1da446a8fb refactor: Move flash_init to emulator main.
2 years ago
Andrew Kozlik 106ab65e21 feat(core): Implement GetFirmwareHash message.
2 years ago
Martin Milata 18c8304339 fix(core): leftover TREZOR_MODEL defines
2 years ago
TychoVrahe 7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
2 years ago
matejcik a9b46f0249 fix(core/rust): be more defensive about strings coming in from uPy
2 years ago
matejcik 8dd7a22f8b refactor(core/rust): disallow creating byte buffers from &str
2 years ago
matejcik 32c3320f07 refactor(core/rust): pass around &str instead of [u8] in most places
2 years ago
matejcik 785dc7f4d7 feat(core/rust): introduce StrBuffer
2 years ago
Martin Milata 1f612580f7 feat(core): enable UI tests for redesigned UI
2 years ago
Martin Milata 38f4ab0983 feat(core/rust/ui): return Layout results as singleton objects
3 years ago
Jan Pochyla 36829cfa8f feat(core/rust): Add obj_module! macro
3 years ago
Martin Milata 30ec1802f4 chore(core): bump version to 2.5.1
3 years ago
Pavol Rusnak 9a8e257619 fix(core): fix SDL2 include path
3 years ago
Martin Milata 4eefaffac9 fix(core/rust/ui): recovery/passphrase keyboard fixes
3 years ago
Martin Milata efe25a6ab4 fix(core/rust/ui): pin keyboard tweaks
3 years ago
Martin Milata d51072b8c1 refactor(core/rust/ui): unhardcode screen size
3 years ago
Jan Pochyla 801679bccf chore(core/rust): Add dynamic place system
3 years ago
Pavol Rusnak 6052e71bbb fix(core): fix build with FEATURE_FLAGS.SECP256K1_ZKP=False
3 years ago
Jan Pochyla 4c027a688c chore(core/rust): Simplify LayoutObj
3 years ago
Jan Pochyla 2b6f1a4d5c chore(core/rust): Use MultiTapKeyboard in passphrase
3 years ago
Jan Pochyla 3c337723b2 chore(core/rust): Add mnemonic keyboards
3 years ago
Pavol Rusnak c6667fa0c2 feat(core): verify bip340 pubkeys used in p2tr addresses
3 years ago
Martin Milata 80655747d0 test(core/rust/ui): pagination unit test
3 years ago
Martin Milata ab0eef5de0 fix(core/rust/ui): adjust spacing for confirm_action
3 years ago
Martin Milata 5378492ea9 chore(core/rust): wireframe rendering for ui debugging
3 years ago
Martin Milata 10650af1fa refactor(core/rust/ui): paragraphs breaking
3 years ago
Martin Milata b5da6dc911 refactor(core/rust): geometry/display API improvements
3 years ago
Martin Milata f2b8822d76 refactor(core): improve build-time option for old/new UI
3 years ago
Martin Milata b64c69c3ff feat(core/rust/ui): implement confirm_action
3 years ago
Martin Milata 6d1227d839 feat(core/rust/ui): SwipePage: add buttons, auto-disable scrolling
3 years ago
Martin Milata 695d80bf54 refactor(core/rust/ui): uPy buffer support for TT buttons
3 years ago
Martin Milata f167a2bef2 feat(core/rust/ui): add model T title bar
3 years ago
Martin Milata c7b33e2bc0 feat(core/rust/ui): add new icons
3 years ago
Martin Milata b46901bc8b feat(core): add TT Hoves fonts, introduce medium variant
3 years ago
Jan Pochyla d979efc3ca chore(core/rust): Try to simplify pagination a bit
3 years ago
Martin Milata 8fb28e4af5 feat(core/rust): impl Paginate for Paragraphs
3 years ago
Martin Milata f29ccf6009 fix(core/rust): UI tweaks
3 years ago
Martin Milata 48f29ee0b9 refactor(core/rust): return bounding box after laying out text
3 years ago
Martin Milata bea696dfc9 feat(core/rust): Paginated for T1
3 years ago
Martin Milata 19b2358084 refactor(core/rust): T1 title bar
3 years ago
Martin Milata 7f224ab36d refactor(core/rust): model-agnostic Paginated
3 years ago
Jan Pochyla a3c79bf4f7 feat(core/rust): Add Paginated component
3 years ago
Jan Pochyla a7a305d34d fix(core/rust): Fix request_complete_repaint for components without any Child descendants
3 years ago
Jan Pochyla 129363f080 feat(core/rust): Add Trace to Paragraph[s], improve size calculation
3 years ago
Jan Pochyla d2c8c66385 feat(core/rust): First shot at Paragraphs API
3 years ago
Jan Pochyla 8c47b94b79 feat(core/rust): Add experimental LinearLayout
3 years ago
Jan Pochyla 3dd3d7f87b feat(core): Add HoldToConfirm example, improve Loader and animation frame support
3 years ago
Jan Pochyla 117a0bd518 feat(core): Add preliminary anim frame support
3 years ago
Jan Pochyla be3e99b96d feat(core): Add WiP Loader & generic Animation type
3 years ago
matejcik 87a7e94f5c feat(core/rust): add saturating multiplication by f32 to Duration
3 years ago
Jan Pochyla baffe8fdf3 chore(core/rust): Add int variant to tracing
3 years ago
Jan Pochyla 5b0686f09a chore(core/rust): Forbid unsafe in components
3 years ago
Jan Pochyla 12deedf3f6 chore(core/rust): Add backlight fading fn
3 years ago
Jan Pochyla a54ca9cb05 chore(core/rust): Add micropython::time::sleep
3 years ago
Jan Pochyla 334a143b76 chore(core/rust): Split FormattedText into separate mod
3 years ago
Jan Pochyla d5a74a8614 chore(core/rust): Rename Text to FormattedText
3 years ago
Jan Pochyla 39263144b7 chore(core): Various little improvements in Rust UI
3 years ago
Jan Pochyla 998210d569 feat(core): Add Instant and Duration types
3 years ago
Pavol Rusnak 37bd121394 chore(core/embed): check for negative values in trezor_get_uint
3 years ago
Andrew Kozlik 49ae8848db fix(core): Fix memory leaks in emulator.
3 years ago
Andrew Kozlik 39b64b8569 fix(core): Fix stack-use-after-scope in display.c.
3 years ago
Pavol Rusnak 4a71d15b1d chore(core/embed): refactor trezor_obj_get_uint64 into trezorobj.h
3 years ago
matejcik 45787307ca style(core): support AnyStr in all hash function arguments
3 years ago
grdddj 9fc5bb546b style(core): full pyright-based type-checking
3 years ago
Pavol Rusnak b0e0280465 chore: drop obsolete fw_vendor_keys field from Features
3 years ago
Pavol Rusnak 35d40cc164 fix(core): change logic of vendor header comparison
3 years ago
Pavol Rusnak 56f0e2c5de
fix(core): add missing include
3 years ago
Pavol Rusnak 30a77a76bc
chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003)
3 years ago
Martin Milata 1734957685 build(core): update rust edition to 2021
3 years ago
Martin Milata 38c526719c chore(core): bump version to 2.4.4
3 years ago
Martin Milata 7cc9f13605 refactor(core/rust): allow model_t1 and model_tt at once
3 years ago
Martin Milata afd7cb3b01 feat(core/rust): add example layout for T1
3 years ago
Martin Milata 4d60c10330 feat(core/rust): add support for T1 UI
3 years ago
Martin Milata 3c49ef2f62 feat(core/rust): exposing vararg functions to uPy
3 years ago
Ondrej Mikle 219e08d81e build(core): keep bootloader image even for non-production builds
3 years ago
Martin Milata aa3784f726 build(core): place secp256k1-zkp in FLASH2 to make space for bootloader
3 years ago
Martin Milata d656f88572 style(all): reformat with clang-format 13.0
3 years ago
Ondřej Vejpustek ad38d8e324 refactor(crypto,core): make zkp_context_init() return status
3 years ago
Ondřej Vejpustek f918cf9a27 fix(core): fix typos in modtrezorcrypto-bip340.h
3 years ago
Andrew Kozlik aaceb5bcc6 chore(core): Remove USE_SECP256K1_ZKP_BIP340 build option.
3 years ago
Andrew Kozlik ae41f7dec8 fix(core): Fix bip340 module build.
3 years ago
Andrew Kozlik 59c0f4383d feat(core): Add key tweaking functions to trezorcrypto.bip340.
3 years ago
matejcik f6f52445bd feat(core/cardano): support Icarus, Icarus-Trezor, and Ledger derivations
3 years ago
matejcik 387466e073 refactor(core): separate Cardano cryptography into its own module
3 years ago
Pavol Rusnak a3b83685ef fix(core): fix emulator build on Apple Silicon
3 years ago
Andrew Kozlik eb90efd914 chore(crypto,core,legacy): Add return code to hdnode_fill_public_key().
3 years ago
Andrew Kozlik 34621a6b6d fix(crypto,core,legacy): Check private key validity when deriving public key.
3 years ago
matejcik 1d72085b5c feat(core): implement conversion from timestamp to datetime
3 years ago
Ondřej Vejpustek a924bd4dc6 build(core): do not link gen_context.o to trezor_lib
3 years ago
Ondřej Vejpustek 29ce860d46 refactor(core,crypto): rename schnorr to BIP340
3 years ago
Ondřej Vejpustek 15bb085509 refactor(core,crypto): make public key derivation functions return
3 years ago
Ondřej Vejpustek 172f399b29 style(core): fix style
3 years ago
Ondřej Vejpustek 7ac0bdd215 feat(core): make core use Schnorr signatures
3 years ago
Ondřej Vejpustek 26463eb3ce feat(core): make core use ecdsa from secp256k1_zkp wherever possible
3 years ago
Pavol Rusnak 9e0cfa6783 fix(core): we don't need separate linker script for zkp
3 years ago
matejcik 32be2c09b9 feat(core): enable f-strings for micropython
3 years ago
Jan Pochyla 901580817d chore(core/rust): fixes and formatting
3 years ago
Jan Pochyla 5eefcffc7c chore(core): prepare for fuzzing targets
3 years ago
Jan Pochyla 2703d714c2 feat(core): add Rust UI components, layouts, text rendering
3 years ago
Pavol Rusnak b03b688f2d fix(core): avoid accidental build with broken stack protector (boardloader)
3 years ago
Ondrej Mikle a85d2483ff chore(legacy & core): changelogs added
3 years ago
Ondrej Mikle 0b077fea8a fix(core & legacy): explicit compiler versions
3 years ago
Ondrej Mikle e982181148 style(core & legacy): buggy compiler checks
3 years ago