tpm_verify_ek: Support CrOS Core device with new standalone tools.

To support verifying TPM endorsement on ChromeOS Core (and those not running
cryptohome), we should allow specifying device type in test parameter, and use
the 'tpm-manager' standalone tool if available.

TEST=Manually verified on Link, by setting is_cros_core to True and False.

Change-Id: I3e83517ba6430666f7076090d7356578edf20398
Reviewed-by: Hung-Te Lin <>
Commit-Queue: Hung-Te Lin <>
Tested-by: Hung-Te Lin <>
1 file changed