Commit Graph

44 Commits (9a2be54e947d3bba4bfe399663baf29c2cdc69c9)

Author SHA1 Message Date
Jan Pochyla 7630201a57 debug: do not rely on mp_optimise_value
6 years ago
Jan Pochyla bf7729ab9f embed/extmod: use trezor_obj_get_uint{8} where it makes sense
6 years ago
Pavol Rusnak 20f1644ef9
src/apps/management: fix change_pin behaviour
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 936f0e3e26
embed: fix 3 TODO items
6 years ago
Jan Pochyla 00c4da83b9 modtrezorconfig: fix has_pin
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 00c193f5cc
trezorhal, unix: drop flash_write_{byte,word} usage, rename flash_write_{byte,word}_rel to flash_write_{byte,word}
7 years ago
Pavol Rusnak 27d9abe883
trezor.config: add public values (readable without unlock)
7 years ago
Pavol Rusnak 4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str
7 years ago
Pavol Rusnak 47f5cba439
flash/sdcard: introduce wur, simplify code
7 years ago
Jochen Hoenicke beef9ecfb5 Moved flash_unlock to norcow_update
7 years ago
Jochen Hoenicke c0cd252c83 Store pin as integer
7 years ago
Pavol Rusnak 48ef409fdb
modtrezorio: remove mocks
7 years ago
Pavol Rusnak e8f70ed4af
pin: implement graphics pin timeout
7 years ago
Jochen Hoenicke 87f7054e46 Added callback for PIN timeout
7 years ago
Jochen Hoenicke 497021f2ef storage: New pin fail section inside NORCOW
7 years ago
Pavol Rusnak b7444ac13e
modtrezorconfig: fix wipe error
7 years ago
Pavol Rusnak 20a1326ebb
storage: fix typo
7 years ago
Pavol Rusnak 8a8450d6be
fix build for older compilers
7 years ago
Pavol Rusnak e268aeb8b7
flash: simplify/unify flash_erase_sectors usage
7 years ago
Pavol Rusnak 6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong
7 years ago
Pavol Rusnak 626a8885ce
trezor.config: add compaction test
7 years ago
Pavol Rusnak b39b4a4947
norcow: fix bug
7 years ago
Pavol Rusnak 44a11fa3ef
norcow: introduce NORCOW_MAGIC
7 years ago
Pavol Rusnak 38e3088325
common: don't expose shutdown() via common.h
7 years ago
Jan Pochyla 5bd39c70b0 storage: fix change_pin and small details
7 years ago
Jan Pochyla 237740de9c storage: implement change_pin
7 years ago
Jan Pochyla 5e643e9195 modtrezorconfig: fix has_pin
7 years ago
Jan Pochyla df77e74988 storage: fix unlock
7 years ago
Pavol Rusnak 30363305f4
modtrezorconfig: use secbool, not bool
7 years ago
Jan Pochyla 0376ff7f48 storage, norcow: use secbool
7 years ago
Jan Pochyla 418f035811 storage: add has_pin and change_pin
7 years ago
Jan Pochyla 353883e0f3 storage: rename constant
7 years ago
Jan Pochyla b6ba95625c norcow: port on top of flash.c, remove config
7 years ago
Jan Pochyla 27bfcfe1af norcow: import into tree
7 years ago
Jan Pochyla f07b4dda0b modtrezorconfig: extract pin & unlocking to storage.c
7 years ago
Jan Pochyla fdc2f6a39d modtrezorconfig: use new flash API
7 years ago
Jan Pochyla 4cabe40220 storage: pin checking in c proof of concept
7 years ago
Jan Pochyla f93316bebd cleanup .gitignore files
7 years ago
Pavol Rusnak 6413c2c23e
embed: rework memory layout, enable stack protector
7 years ago
Pavol Rusnak d50eeb581a
trezorhal: introduce flash_write_{byte,word}
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago