1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-15 18:00:59 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Pavol Rusnak
eba242b806
format: start using clang-format with style=Google 2019-03-29 17:11:04 +01:00
Tomas Susanka
2646c0901c firmware: return mnemonic as bytes in debug link 2019-03-12 15:25:05 +01:00
Andrew Kozlik
b65f61650a config: Set usbTiny whenever there is a possibility that protectPinUiCallback() may be called. 2019-02-25 13:54:44 +01:00
Pavol Rusnak
44bb5864d4
fix whitespace 2019-02-19 18:01:10 +01:00
Andrew Kozlik
0b79d0e596
config: Store cleartext PIN for DEBUG_LINK. 2019-02-15 15:13:07 +01:00
Andrew Kozlik
6b66c7540c
config: Remove unused functions config_hasMnemonic() and config_hasNode(). Since mnemonic and node are protected entries, these functions would always return false when storage is locked. We now instead use the INITIALIZED flag which is public. 2019-02-15 15:13:07 +01:00
andrew
ae48b528a9
config: Rename session_isPinCached() to session_isUnlocked(). Change GetFeatures to always return pin_cached=false if PIN is not set, in order to maintain the same behavior as before. 2019-02-15 15:13:05 +01:00
andrew
7b0f5e031d
config: Change config_get*() functions to return status of the get operation. 2019-02-15 15:13:05 +01:00
andrew
e49e84ea5a
Reorder storage keys in config.c to correspond with trezor-core and add KEY_INITIALIZED. Add CHECK_PIN to fsm_msgApplyFlags() and to other fsm_msg functions in order to unlock storage. Improve error handling in reset.c and recovery.c. 2019-02-15 15:13:05 +01:00
andrew
4f32cb5083
firmware: integrate trezor-storage 2019-02-15 15:12:53 +01:00