]> git.ipfire.org Git - people/ms/u-boot.git/commit - README
tpm: add AUTH1 cmds for LoadKey2 and GetPubKey
authorReinhard Pfau <pfau@gdsys.de>
Wed, 26 Jun 2013 13:55:13 +0000 (15:55 +0200)
committerAndy Fleming <afleming@freescale.com>
Tue, 16 Jul 2013 22:44:29 +0000 (17:44 -0500)
commitbe6c1529c1ce9718cc955f23fdaa5891d15b6551
treeb73253817917f39b0583ec9da4cfbb7e054409dc
parentbaa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf
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>
README
common/cmd_tpm.c
include/tpm.h
lib/tpm.c