diff options
author | Reinhard Pfau <pfau@gdsys.de> | 2013-06-26 15:55:13 +0200 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-07-16 17:44:29 -0500 |
commit | be6c1529c1ce9718cc955f23fdaa5891d15b6551 (patch) | |
tree | b73253817917f39b0583ec9da4cfbb7e054409dc /include/zfs/zfs_acl.h | |
parent | baa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf (diff) | |
download | u-boot-imx-be6c1529c1ce9718cc955f23fdaa5891d15b6551.zip u-boot-imx-be6c1529c1ce9718cc955f23fdaa5891d15b6551.tar.gz u-boot-imx-be6c1529c1ce9718cc955f23fdaa5891d15b6551.tar.bz2 |
tpm: add AUTH1 cmds for LoadKey2 and GetPubKey
Extend the tpm library with support for single authorized (AUTH1) commands
as specified in the TCG Main Specification 1.2. (The internally used helper
functions are implemented in a way that they could also be used for double
authorized commands if someone needs it.)
Provide enums with the return codes from the TCG Main specification.
For now only a single OIAP session is supported.
OIAP authorized version of the commands TPM_LoadKey2 and TPM_GetPubKey are
provided. Both features are available using the 'tpm' command, too.
Authorized commands are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that
this also requires CONFIG_SHA1 to be enabled.)
Signed-off-by: Reinhard Pfau <reinhard.pfau@gdsys.cc>
Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Acked-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/zfs/zfs_acl.h')
0 files changed, 0 insertions, 0 deletions