Commit Graph

21 Commits (8ee17f69b3d1fa1215fc66c9e0a1b87f1bcc13ad)

Author SHA1 Message Date
Ondřej Vejpustek 8ee17f69b3 refactor(core): move wait_random and rdi into separate file
3 years ago
Andrew Kozlik 4c2e4bcb65 fix(storage): Check for overflow in counter increment.
3 years ago
Andrew Kozlik c68e91c12a feat(storage): Support PIN and wipe code of unlimited length.
3 years ago
Tomas Susanka 41966c60db legacy: initialized field in Features is true only if mnemonic is stored
4 years ago
Andrew Kozlik bfd834d1de storage: Add storage_ensure_not_wipe_code().
4 years ago
Andrew Kozlik 77bb6deb66 storage: Check for invalid PIN.
4 years ago
Tomas Susanka 49cf2423f5 storage: move unlocked statement straight after key generation
5 years ago
Tomas Susanka 252d069a66 storage: unlock storage after wipe
5 years ago
Andrew Kozlik de96e675e5 fixup! storage: Implement storage_change_wipe_code().
5 years ago
Andrew Kozlik d0d3ad2912 fixup! storage: Change secequal32() to use length in bytes instead of length in words.
5 years ago
Andrew Kozlik a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked.
5 years ago
Andrew Kozlik b874539e2c storage: Change secequal32() to use length in bytes instead of length in words.
5 years ago
Andrew Kozlik 1deebf1065 storage: Add STORAGE_UPGRADED_KEY to protect against fake storage upgrade attacks.
5 years ago
Andrew Kozlik a9b98ab966 storage: Implement storage_change_wipe_code().
5 years ago
Pavol Rusnak 1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API
5 years ago
Ondřej Vejpustek 97ba9f17d9
storage: explicitly initialize variables
5 years ago
Andrew Kozlik 4f01003637 storage: Add external salt parameter to unlock() and change_pin().
5 years ago
Pavol Rusnak 54d348228f
all: rename TREZOR to Trezor where possible
5 years ago
Andrew Kozlik 531c610a17 storage: Use wait_random() from common.h. Fix build for tests.
5 years ago
Pavol Rusnak 8b06598474
core+legacy: rework code styling checks
5 years ago
matejcik 71f2c0ef25 MONOREPO MERGE trezor-storage
5 years ago