Commit Graph

503 Commits (6d98a97f7cbc177b9c2e811142549874b782e0f9)

Author SHA1 Message Date
Yura Pakhuchiy 28bff537be Add Groestl512 to modtrezorcrypto
6 years ago
Pavol Rusnak aa1a036216
bootloader: use SL keys by default (keep universal keys in comment)
6 years ago
Pavol Rusnak 657de0274d
embed/unix: save only cropped part of the screenshot
6 years ago
Pavol Rusnak 35dcd917dd
embed/unix: save screenshot on "P" press in emulator
6 years ago
Pavol Rusnak 23b019d592 embed/firmware: update linker to use firmware_extra section
6 years ago
Pavol Rusnak e7b761e66f
embed: refactor sector_count constants
6 years ago
Jan Pochyla 7630201a57 debug: do not rely on mp_optimise_value
6 years ago
Jan Pochyla 62111f240e unix: remove native emitters
6 years ago
Jan Pochyla edcc96ee09 embed: use correct string constructors
6 years ago
Pavol Rusnak 97bb26b7f3
embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s
6 years ago
Pavol Rusnak abc0e98993
firmware: bump version
6 years ago
Pavol Rusnak 8e9ae534c0
embed/extmod/modtrezorcrypto: fix last commit, update trezor-crypto
6 years ago
Karel Bílek eeff66be88 zcash: use personal field in blake2b (#243)
6 years ago
Milan Rossa db763bf05d bootloader: ask again for block if invalid (#230)
6 years ago
Jan Pochyla 2603c477c5 embed/extmod/modtrezorui: distinguish font ids from colors
6 years ago
Jan Pochyla 6ceb3f2770 embed/extmod/modtrezorui: text functions return width
6 years ago
Jan Pochyla 3dc1c79b1a nem: cleanup modtrezorcrypto bindings
6 years ago
Tomas Susanka 6aef64d367 nem: compute address from pubkey
6 years ago
Tomas Susanka 3fc96805dd nem: modtrezorcrypto overflow fix and err check
6 years ago
Tomas Susanka fb15e993f1 embed/crypto: ed25519 keccak signing
6 years ago
Tomas Susanka b5cc678caa nem: encrypt
6 years ago
Tomas Susanka 33ac5de848 wallet/nem: basic modtrezorcrypto for nem
6 years ago
Tomas Susanka 88ef4257cd wallet/nem: init, get_address
6 years ago
Pavol Rusnak a3af8faf23
boardloader/bootloader: use static const for sector arrays; erase storage if firmware is broken
6 years ago
Pavol Rusnak 68669dd8e4
firmware: disable WebUSB landing page (#174)
6 years ago
Jan Pochyla bf7729ab9f embed/extmod: use trezor_obj_get_uint{8} where it makes sense
6 years ago
Jan Pochyla 648ec675f4 embed/extmod: add trezor_obj_get_uint8
6 years ago
Jan Pochyla 39c1c85abb embed/extmod: use trezor_obj_get_uint for uint32_t
6 years ago
Jan Pochyla 71b4e9978c embed/extmod: add trezor_obj helpers for int and uint
6 years ago
Pavol Rusnak ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
6 years ago
Pavol Rusnak 90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s}
6 years ago
Pavol Rusnak 5e90d5116c
prodtest: add wipe command to erase vendorheader
6 years ago
Pavol Rusnak 55f3edebda
embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones)
6 years ago
Jochen Hoenicke 5fc368e330 display: show qr-code correctly (was mirrored)
6 years ago
Pavol Rusnak 886888b775
firmware: bump version to 2.0.6
6 years ago
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
6 years ago
matejcik d866128fbe embed/unix: emit TOUCH_END when mouse leaves active area. (#134)
6 years ago
Pavol Rusnak 8852fb5482
embed/firmware: bump version to 2.0.5
6 years ago
Pavol Rusnak c1f097f2b4
embed/extmod/modtrezorui: introduce frame numbering to display.save
6 years ago
Jan Pochyla d4038cc03a embed/firmware: bump version
6 years ago
Pavol Rusnak 0eff62bb5c
embed/unix: copy main.c from micropython, change mp_stack_set_limit from 40k to 60k
6 years ago
Pavol Rusnak 20f1644ef9
src/apps/management: fix change_pin behaviour
6 years ago
Pavol Rusnak 081dcdd98f
embed/unix: resize emulator window if no background image found
6 years ago
Tomas Susanka 2c2f2ff97b embed: private key set check simplified
6 years ago
Tomas Susanka 368ba963a6 embed: hdnode public derivation
6 years ago
Tomas Susanka 858f2583a5 embed: hdnode field length fix
6 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
6 years ago
Pavol Rusnak db141fbc14
src/trezor: rework PIN progress update
6 years ago
Pavol Rusnak 2bb9d80c18
embed/unix: implement nice background into emulator
6 years ago
Pavol Rusnak 64f7089d45
embed/extmod/modtrezorui: implement proper backlight
6 years ago
Pavol Rusnak 35e1135c95
embed/extmod/modtrezorutils: add symbol() func
6 years ago
Pavol Rusnak fae8ffda9f
embed/trezorhal: simplify systick, remove microsecond precision
6 years ago
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
Pavol Rusnak 2bebd0eec5
embed/trezorhal+unix: add copyright headers
6 years ago
Pavol Rusnak 8e3e1837d1
embed/firmware: call display_clear in main
6 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
6 years ago
Pavol Rusnak d5ab82ae2b
embed/extmod/modtrezorui: refactor DISPLAY_OFFSET
6 years ago
Pavol Rusnak 30396f9cf0
embed/extmod/modtrezorui: refactor BUFFER_OFFSET and PIXELWINDOW structures
6 years ago
Pavol Rusnak e264090678
embed/extmod/modtrezorui: refactor DATA into DATA and PIXELDATA in display
6 years ago
Pavol Rusnak 4ad6a7a634
embed/bootloader: increase USB timeout to 500
6 years ago
Pavol Rusnak 5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader
6 years ago
Pavol Rusnak 302a31e8d2
embed/bootloader: enable mpu and drop to unprivileged mode before running a firmware
6 years ago
Pavol Rusnak 1469ede956
embed: bump versions
6 years ago
Pavol Rusnak c115faf2cd
embed/trezorhal/usb: correct handling of interface messages in usb_class_setup
6 years ago
Pavol Rusnak 7b2fd6ae4c
embed/bootloader: move Welcome! string 5px above
6 years ago
Pavol Rusnak 936f0e3e26
embed: fix 3 TODO items
6 years ago
Pavol Rusnak 8a409bd99a
embed/bootloader: move USB_IFACE_NUM to main.c
6 years ago
mcudev 0a15b03917 bootloader: fix process_msg_unknown remaining chunk calculation
6 years ago
Pavol Rusnak 34c6fb987a
embed/bootloader: better detection of broken firmware at start
6 years ago
Pavol Rusnak 9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32
6 years ago
Pavol Rusnak 593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes
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 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change
6 years ago
Pavol Rusnak 329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision
6 years ago
Pavol Rusnak a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod
6 years ago
Pavol Rusnak 47c598b56e
embed/bootloader: don't show build field in version (stick to major.minor.patch)
7 years ago
Pavol Rusnak 1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message
7 years ago
Pavol Rusnak 548b8cb25b
embed/trezorhal: move cmd_buffer into usb_vcp_state_t
7 years ago
Jan Pochyla 00c4da83b9 modtrezorconfig: fix has_pin
7 years ago
Pavol Rusnak e865012663
bootloader: use webusb by default
7 years ago
Pavol Rusnak 40e20e2e9d
trezorhal: fix usb class behaviour
7 years ago
Pavol Rusnak 61b4e3d6e3
trezorhal: fix typos
7 years ago
Pavol Rusnak b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled
7 years ago
Pavol Rusnak 4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB
7 years ago
Pavol Rusnak d1b5a254ef
prodtest: bump release_num in usb
7 years ago
Pavol Rusnak 94fc0f7ac0
extmod: if debug build is used, disable LoadDevice, wipe storage on start, draw red square in corner
7 years ago
Pavol Rusnak 1e03a5d554
unix: start udp port for each active hid/webusb interface
7 years ago
Pavol Rusnak db71afca60
prodtest: use different release_num
7 years ago
Pavol Rusnak 488e516cbf
trezorhal: add device_class, etc. to usb object
7 years ago
Pavol Rusnak 52a942afd4
bootloader: fix anti-aliasing in install icon
7 years ago
Pavol Rusnak cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader
7 years ago
Pavol Rusnak bfa79cbfd3
firmware: update versions in version.h
7 years ago
Pavol Rusnak ebc585fd40
trezorhal: fix bug in flash_otp_write
7 years ago
Pavol Rusnak 1bf278c3ee
firmware: add vendorheader_sl_signed.bin
7 years ago
Pavol Rusnak c934109d65
boardloader, bootloader: bump versions to 2.0
7 years ago
Pavol Rusnak 0b4c703813
bootloader: update booting ui
7 years ago
Pavol Rusnak 1b712a0446
trezorhal: fix simple interface behaviour on windows
7 years ago
Pavol Rusnak 399d6d2f65
trezorhal: make webusb more robust
7 years ago