trunks, tpm_manager: prepare for ownership earlier
Taking TPM ownership during OOBE can only be started when
Chrome sends an appropriate command to cryptohomed. However,
there are several operations that can be done on the TPM,
and which are needed for taking ownership, before that:
create SRK(s) and the salting key for sessions using the
default well-known TPM password.
Some of these operations are lengthy, so performing them
earlier allows to minimize the remaining time for taking
the TPM ownership and improve UX.
TEST=go through OOBE on eve
Commit-Ready: Andrey Pronin <firstname.lastname@example.org>
Tested-by: Andrey Pronin <email@example.com>
Reviewed-by: Darren Krahn <firstname.lastname@example.org>
15 files changed