aboutsummaryrefslogtreecommitdiff
path: root/core/tee
diff options
context:
space:
mode:
Diffstat (limited to 'core/tee')
-rw-r--r--core/tee/tee_fs_key_manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/tee/tee_fs_key_manager.c b/core/tee/tee_fs_key_manager.c
index 26850104..1bdb7973 100644
--- a/core/tee/tee_fs_key_manager.c
+++ b/core/tee/tee_fs_key_manager.c
@@ -148,6 +148,7 @@ static TEE_Result tee_fs_init_key_manager(void)
* message := concatenate(chip_id, static string)
* */
tee_otp_get_hw_unique_key(&huk);
+ memset(chip_id, 0, sizeof(chip_id));
if (tee_otp_get_die_id(chip_id, sizeof(chip_id)))
return TEE_ERROR_BAD_STATE;