trunks: Add tpm simulator handle.
Add a handle so trunks can talk to a TPM simulator.
TEST=$ sudo tpm-simulator // in one terminal
$ sudo trunksd --simulator // in another terminal
run trunks_client in another terminal. --startup, --clear,
and --status all success. --own --owner_password="" fails
during salting key generation.
BUG=none
Change-Id: I815bf7cf11d6def69b7a5600dbb509b6d231ce19
Signed-off-by: Jocelyn Bohr <bohr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/293570
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
4 files changed