Commit Graph

188 Commits (37c61c1381bf9f060687e6f7eea503ae77acb9ba)

Author SHA1 Message Date
Pavol Rusnak 69d1465e08
refactor(core): pass invert_colors to send_init_seq_ST7789V as argument
3 years ago
Pavol Rusnak 18e103bb94
style(core): refactor style of display-stm32_T
3 years ago
Jan Pochyla 8a21e3fc73 feat(core): Add Rust Protobuf codec
3 years ago
Pavol Rusnak 23aa69caea fix(core): unify Features.revision reporting with legacy
3 years ago
matejcik 391976bcda refactor(core/usb): do not require serial number on instantiaton of USB
3 years ago
Jan Pochyla 6257584951 feat(core): Add Rust bindings to MicroPython and trezorhal
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
3 years ago
Martin Milata 8b3ac659a0 style(core): mypy: disable implicit Optional for function arguments
3 years ago
Andrew Kozlik 2836bfc64c fix(core): Improve error handling and range checking in modtrezorconfig.
3 years ago
Andrew Kozlik 3084d1196d feat(core): Support 50 digit PIN and wipe code.
3 years ago
Pavol Rusnak 4649b80b44
feat(core): allow secp256k1-zkp for bitcoin-only build
3 years ago
Pavol Rusnak d211e3af07
fix(core): switch define to invert display colors into const volatile
3 years ago
Pavol Rusnak 814db111b2
feat(core): add define to invert display colors on ST7789V
3 years ago
Andrew Kozlik a8c500bffd feat(core): Ensure that WebAuthn runs on port 21326 by default for both production and debug emulator.
3 years ago
Martin Milata 7c1d72c254 style(core): fix bootloader formatting
3 years ago
Pavol Rusnak 29a3e91f09 feat(core): refactor display_init_seq from display_init
3 years ago
matejcik ccd241fe55 feat(core/cardano): enable typing for Cardano app
3 years ago
Pavol Rusnak f3d5de15ef refactor(core): turn SECP256K1_ZKP into a firmware feature flag
3 years ago
Jan Pochyla f3a64435f1
fix(core): root ui callback for trezorconfig mod (#1412)
3 years ago
Martin Milata db5b65a420 perf(core): enable rendering of substrings to avoid slicing
3 years ago
Rafael Korbas edf9b4ee85 Refactor mnemonic_to_entropy to not (misleadingly) return checksum
4 years ago
Andrew Kozlik aeb021b159 chore(core): Improve naming of SLIP39's T9 mask lookup.
4 years ago
Andrew Kozlik 7fc1851279 fix(crypto): Improve naming and robustness of SLIP39's T9 mask lookup.
4 years ago
Andrew Kozlik c67ecb984b chore(crypto): Move XPUB_MAXLEN and ADDRESS_MAXLEN from modtrezorcrypto to bip32.h.
4 years ago
Andrew Kozlik c21ca81a1e fix(core): Prevent sensitive data from being left on the call stack in modtrezorcrypto.
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
matejcik 7e5d9e295b fix(core): help mypy understand micropython's module management
4 years ago
Martin Milata f3fd98a7ba core: remove 1px of space on the left of each glyph
4 years ago
Martin Milata b8bb63fbef core: drop unused FONT_SIZE constant
4 years ago
Martin Milata 1b982659c4
core: fix boot loop after uploading invalid homescreen (#1205)
4 years ago
Pavol Rusnak 4e11735d22 core/modtrezorui: remove prefill from text functions
4 years ago
matejcik 5385617eda core: increase address length limit to accomodate CRW (fixes #1139)
4 years ago
Ondřej Vejpustek 59002118c0 core/extmod: explicitly initialize automatic variables
4 years ago
Martin Milata e5bdca655a core: don't scale emulator background image
4 years ago
Pavol Rusnak a6451dad46
core/fonts: update headers
4 years ago
Pavol Rusnak 47e7550423
core/extmod: add font_pixeloperator{,mono}, use this font for T1
4 years ago
Pavol Rusnak cec87bba50
core: remove mono bold font variant (not used anywhere)
4 years ago
Pavol Rusnak 8bc32d035b
core/extmod: enable display_text* methods for other models than T
4 years ago
Pavol Rusnak df03534955
core: print inverted question mark for nonprintable characters
4 years ago
matejcik fa757f4b7f core: improve type annotation for bip32.derive_path
4 years ago
matejcik 0c3bc53aee core: clean up types for field caching, fix count_message
4 years ago
matejcik 85d74ece76 core: implement synchronous v1 codec
4 years ago
Tomas Susanka 56fe5adcfc Merge branch 'release/2020-06'
4 years ago
Pavol Rusnak 179645e3ad core: unify usage of TREZOR_MODEL
4 years ago
Ondrej Mikle c877dc8dd6 core: port storage to T1
4 years ago
matejcik 872e0fb0e0 core: lower scheduler resolution to milliseconds
4 years ago
matejcik 2cedc687e6 core: disable trezor-crypto BIP32 cache
4 years ago
matejcik 837c4df61f core: expose storage_is_unlocked() as config.is_unlocked()
4 years ago
matejcik 87433995b0 core: add BITCOIN_ONLY to mock file
4 years ago
Ondřej Vejpustek 24ceb0ab6b crypto/bignum: change limb size to 29, add tests
4 years ago
matejcik aa52fc3903 core/extmod: drop unused rfc6979 module
4 years ago
matejcik 050936d0d7 core: enable finalizers on extmod classes
4 years ago
matejcik 7f2e7b0003 core: add Ethereum constants to mocks
4 years ago
Pavol Rusnak 25cc836660
core/extmod: fix build of modtrezorui when TREZOR_MODEL is set to '1'
4 years ago
matejcik d0f709b8cc core: fix and use MAKEMODULEDEFS instead of explicit registration
4 years ago
Pavol Rusnak a7806d08d7
core/crypto: remove unused bip32.deserialize function
4 years ago
Pavol Rusnak 1695228d80
core/crypto: remove unused serialize_private function
4 years ago
Pavol Rusnak f07ff17fad
core/crypto: add missing field to Blake2b constructor
4 years ago
matejcik 3789a3372b core/sdcard: modify exception handling in fatfs
4 years ago
Andrew Kozlik bfd834d1de storage: Add storage_ensure_not_wipe_code().
4 years ago
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
4 years ago
matejcik 9ab84d2455 core/tests: thoroughly test modified APIs
4 years ago
matejcik b24411b900 core/sdcard: unmount instance when powering off sdcard
4 years ago
matejcik c81be584fb core/fatfs: ensure functions can only be called on a mounted filesystem
4 years ago
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
4 years ago
Pavol Rusnak 39ce100608
Merge pull request #864 from trezor/prusnak/bootloader-text-break
4 years ago
matejcik b2084a19be core/trezorio: move sdcard functions to a submodule
4 years ago
matejcik 30529d218d core/sdcard: change SDCard methods to plain functions
4 years ago
matejcik 06b89c57c5 core/sdcard: return proper disk status flags to fatfs
4 years ago
Pavol Rusnak 74802a107e
core/modtrezorui: add display_text_split
4 years ago
Pavol Rusnak 32f8f1cb61
core/embed: update fatfs to 0.14; use upstream version
4 years ago
Pavol Rusnak 3de1b3aa54
core/embed: switch to unprivileged in main.c
4 years ago
Pavol Rusnak 500156b9ba
core/embed: don't use local copy of inflate
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Andrew Kozlik a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked.
5 years ago
Andrew Kozlik a168d661cf core: Add support for ChangeWipeCode message.
5 years ago
Pavol Rusnak d761a57689
storage: introduce FLAGS_APPID
5 years ago
Pavol Rusnak 1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API
5 years ago
Pavol Rusnak 4462fb522c
core/nem: don't use mp_obj_new_str_of_type
5 years ago
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Pavol Rusnak 1bdc83838b
legacy+core: properly handle non-printable ascii characters
5 years ago
Andrew Kozlik c25a41aa57 core: Fix mypy warnings in FatFS and SD salt code.
5 years ago
Pavol Rusnak 5f980b50a0
core/monero: refactor bulletproof look-up-tables
5 years ago
Pavol Rusnak 7394ecfa77
core: add exist_ok parameter to fatfs.mkdir
5 years ago
Pavol Rusnak 78041d261b
crypto: refactor bip39 api
5 years ago
Andrew Kozlik 6350b1c61c core: Implement SD card protection.
5 years ago
Andrew Kozlik 4f01003637 storage: Add external salt parameter to unlock() and change_pin().
5 years ago
Pavol Rusnak 2711ce2a3d
Merge pull request #394 from trezor/andrewkozlik/fido2-squashed
5 years ago
matejcik cad297ed36 style: fix weirdness in modtrezorio-fatfs.h
5 years ago
Andrew Kozlik 84674a7463 core/usb: Add write_blocking() to trezor.io.HID.
5 years ago
Ondrej Mikle 59ee3750d1
core/modtrezorio: raise exception when directory listing fails on disk error or other error
5 years ago
Ondrej Mikle 24359ea074
core/modtrezorio: use upstream's fix of read-after-buffer
5 years ago
Ondrej Mikle 972a96f1a0
core/modtrezorio: raise error when no space left on FAT FS
5 years ago
Pavol Rusnak 743f57afdb
core/modtrezorio: use ff_unifdef.sh preprocessor
5 years ago
Pavol Rusnak 49a98a5015
core/modtrezorio: enable FatFS.mkfs only in emulator
5 years ago
Pavol Rusnak d40b7c0385
core/modtrezorio: enable LFN+Unicode in FatFS
5 years ago
Pavol Rusnak aa8d14c0ea
core/modtrezorio: add FatFS support
5 years ago
Pavol Rusnak 908bbfffef
core: remove remaning utility code for Bitcoin only firmware
5 years ago
Pavol Rusnak c815bc410c
core: remove remaning Decred/Zcash code for Bitcoin only firmware
5 years ago
Pavol Rusnak 07ef01f3e4
core: introduce BITCOIN_ONLY flag
5 years ago