mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
reset: use mnemonic_clear
This commit is contained in:
parent
79779f4da6
commit
3b5fe11253
@ -110,6 +110,7 @@ void reset_entropy(const uint8_t *ext_entropy, uint32_t len)
|
|||||||
storage_setNeedsBackup(true);
|
storage_setNeedsBackup(true);
|
||||||
}
|
}
|
||||||
storage_setMnemonic(mnemonic_from_data(int_entropy, strength / 8));
|
storage_setMnemonic(mnemonic_from_data(int_entropy, strength / 8));
|
||||||
|
mnemonic_clear();
|
||||||
memzero(int_entropy, 32);
|
memzero(int_entropy, 32);
|
||||||
awaiting_entropy = false;
|
awaiting_entropy = false;
|
||||||
|
|
||||||
|
2
vendor/trezor-crypto
vendored
2
vendor/trezor-crypto
vendored
@ -1 +1 @@
|
|||||||
Subproject commit c316e775a2152db255ace96b6b65ac0f20525ec0
|
Subproject commit d1c52401e4c76c74a10455682ace0655b7aa644c
|
Loading…
Reference in New Issue
Block a user