aboutsummaryrefslogtreecommitdiff
path: root/cmd/tpm-common.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-18 14:22:26 -0700
committerSimon Glass <sjg@chromium.org>2018-11-29 09:30:06 -0700
commit51f00c1704e505f51a02a3687e4384231ce8ae20 (patch)
tree019ad60bed1d06aef4b527daa3b206e1491a9381 /cmd/tpm-common.c
parent07e127d85d9f22ac93f1e9da41a985013c4002ed (diff)
downloadu-boot-51f00c1704e505f51a02a3687e4384231ce8ae20.zip
u-boot-51f00c1704e505f51a02a3687e4384231ce8ae20.tar.gz
u-boot-51f00c1704e505f51a02a3687e4384231ce8ae20.tar.bz2
tpm: Export the open/close functions
At present these functions are not accessible outside the TPM library, but in some cases we need to call them. Export them in the header file and add a define for the SHA1 digest size. Also adjust tpm_open() to call tpm_close() first so that the TPM is in a known state before opening (e.g. by a previous phase of U-Boot). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/tpm-common.c')
0 files changed, 0 insertions, 0 deletions