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 |
|