1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00

Use only unique device ID as salt to storage_init(). Update storage submodule.

This commit is contained in:
andrew 2019-01-09 12:04:48 +01:00 committed by Pavol Rusnak
parent 8be3896038
commit 97a4cdb68e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 1 additions and 3 deletions

View File

@ -43,8 +43,6 @@ STATIC void wrapped_ui_wait_callback(uint32_t wait, uint32_t progress) {
/// '''
STATIC mp_obj_t mod_trezorconfig_init(size_t n_args, const mp_obj_t *args) {
uint32_t salt[] = {
utils_get_cpu_id(),
utils_get_flash_size(),
utils_get_uid_word0(),
utils_get_uid_word1(),
utils_get_uid_word2()

@ -1 +1 @@
Subproject commit 52a3a46db0ed93848a49597f7582523386db5e74
Subproject commit e5641c12f7cef6b686c34336a1cd20b613083e56