diff options
author | Reinhard Pfau <pfau@gdsys.de> | 2013-06-26 13:55:13 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-07-16 22:44:29 (GMT) |
commit | be6c1529c1ce9718cc955f23fdaa5891d15b6551 (patch) | |
tree | b73253817917f39b0583ec9da4cfbb7e054409dc /include/watchdog.h | |
parent | baa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf (diff) | |
download | u-boot-be6c1529c1ce9718cc955f23fdaa5891d15b6551.tar.xz |
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/watchdog.h')
0 files changed, 0 insertions, 0 deletions