attestation: create template for TPM2.0 support implementation
Finish abstracting the interface to TPM.
Create empty template for TPM2.0 support implementation.
Fix build to depend on trousers/trunks for tpm/tpm2 respectively.
BUG=chrome-os-partner:54714
TEST=Boot on kevin with USE="-tpm tpm2", check that attestationd starts
Change-Id: I6ee6f37fe1d2727d3fd1706de76b325c8b2f0c3d
Reviewed-on: https://chromium-review.googlesource.com/357981
Commit-Ready: Andrey Pronin <apronin@chromium.org>
Tested-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
11 files changed