]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Add a constant for the minimum supported digest size
authorSimon Glass <sjg@chromium.org>
Sun, 18 Nov 2018 21:22:25 +0000 (14:22 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2018 16:30:06 +0000 (09:30 -0700)
commit07e127d85d9f22ac93f1e9da41a985013c4002ed
tree63c866fd677dc5ad785954b2fafaf34dd3cfcabb
parent33810b4e7d81810a5245b342dfe6aea95150f895
tpm: Add a constant for the minimum supported digest size

When SHA1 is used we need 20 bytes for the digest size. Add a constant so
that clients can make use of this, e.g. to allocate local buffers.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/tpm-common.h