summaryrefslogtreecommitdiff
path: root/include/tpm_api.h
AgeCommit message (Collapse)AuthorFilesLines
2021-03-02tpm: Add an API that can support v1.2 and v2Simon Glass1-0/+322
There are two different TPM standards. U-Boot supports both but each has its own set of functions. We really need a single TPM API that can call one or the other. This is not always possible as there are some differences between the two standards, but it is mostly possible. Add an API to handle this. So far it is not plumbed into the build and only supports TPMv1. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>