cmd: tpm-v1: fix load_key_by_sha1 compile errors
authorMathew McBride <matt@traverse.com.au>
Thu, 11 Nov 2021 04:06:27 +0000 (04:06 +0000)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 17 Nov 2021 11:47:27 +0000 (13:47 +0200)
commite845dd7c8ba8fcab504c813da0eea59550bc7b05
treefea74e0a5bea6e3fc7844b3f3182476882f27b95
parentebb6d74df3a33f8f65febfdf14f131197949cc46
cmd: tpm-v1: fix load_key_by_sha1 compile errors

This command is not compiled by default and has not been updated alongside
changes to the tpmv1 API, such as passing the TPM udevice to the relevant
functions.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/tpm-v1.c
lib/tpm-v1.c