1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Jochen Hoenicke
497021f2ef storage: New pin fail section inside NORCOW
Added a function to update NORCOW data.
Changed storage pin fail logic.
2017-12-14 17:18:45 +01:00
Pavol Rusnak
b7444ac13e
modtrezorconfig: fix wipe error 2017-12-14 16:27:18 +01:00
Pavol Rusnak
20a1326ebb
storage: fix typo 2017-12-11 23:11:43 +01:00
Pavol Rusnak
8a8450d6be
fix build for older compilers 2017-12-09 18:18:42 +01:00
Pavol Rusnak
e268aeb8b7
flash: simplify/unify flash_erase_sectors usage 2017-12-09 18:00:37 +01:00
Pavol Rusnak
6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong 2017-12-09 14:48:49 +01:00
Pavol Rusnak
626a8885ce
trezor.config: add compaction test 2017-12-08 16:46:13 +01:00
Pavol Rusnak
b39b4a4947
norcow: fix bug 2017-12-08 16:17:58 +01:00
Pavol Rusnak
44a11fa3ef
norcow: introduce NORCOW_MAGIC 2017-12-08 13:42:17 +01:00
Pavol Rusnak
38e3088325
common: don't expose shutdown() via common.h 2017-12-08 12:42:43 +01:00
Jan Pochyla
5bd39c70b0 storage: fix change_pin and small details 2017-11-08 18:08:19 +01:00
Jan Pochyla
237740de9c storage: implement change_pin 2017-11-06 17:47:05 +01:00
Jan Pochyla
5e643e9195 modtrezorconfig: fix has_pin 2017-11-06 17:26:25 +01:00
Jan Pochyla
df77e74988 storage: fix unlock 2017-11-06 17:26:13 +01:00
Pavol Rusnak
30363305f4
modtrezorconfig: use secbool, not bool 2017-11-05 23:32:32 +01:00
Jan Pochyla
0376ff7f48 storage, norcow: use secbool 2017-11-05 20:46:59 +01:00
Jan Pochyla
418f035811 storage: add has_pin and change_pin
TODO: finish change_pin
2017-11-05 20:46:59 +01:00
Jan Pochyla
353883e0f3 storage: rename constant 2017-11-05 20:46:11 +01:00
Jan Pochyla
b6ba95625c norcow: port on top of flash.c, remove config 2017-11-05 20:46:11 +01:00
Jan Pochyla
27bfcfe1af norcow: import into tree 2017-11-05 20:46:11 +01:00
Jan Pochyla
f07b4dda0b modtrezorconfig: extract pin & unlocking to storage.c 2017-11-05 20:46:11 +01:00
Jan Pochyla
fdc2f6a39d modtrezorconfig: use new flash API 2017-11-05 20:46:11 +01:00
Jan Pochyla
4cabe40220 storage: pin checking in c proof of concept
TODO: move out of modtrezorconfig
TODO: flash unix mock
2017-11-05 20:46:11 +01:00
Jan Pochyla
f93316bebd cleanup .gitignore files 2017-10-24 16:24:59 +02:00
Pavol Rusnak
6413c2c23e
embed: rework memory layout, enable stack protector 2017-10-11 21:19:52 +02:00
Pavol Rusnak
d50eeb581a
trezorhal: introduce flash_write_{byte,word} 2017-09-28 11:28:40 +02:00
Jan Pochyla
55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00