summaryrefslogtreecommitdiff
path: root/board/cpu87/cpu87.c
diff options
context:
space:
mode:
authorReinhard Pfau <pfau@gdsys.de>2013-06-26 13:55:13 (GMT)
committerAndy Fleming <afleming@freescale.com>2013-07-16 22:44:29 (GMT)
commitbe6c1529c1ce9718cc955f23fdaa5891d15b6551 (patch)
treeb73253817917f39b0583ec9da4cfbb7e054409dc /board/cpu87/cpu87.c
parentbaa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf (diff)
downloadu-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 'board/cpu87/cpu87.c')
0 files changed, 0 insertions, 0 deletions