[U-Boot] [U-Boot, v7, 1/5] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

Andy Fleming afleming at freescale.com
Wed Jul 17 01:20:53 CEST 2013


On Wed, Jun 26, 2013 at 03:55:13PM +0200, Dirk Eibach wrote:
> From: Reinhard Pfau <pfau at gdsys.de>
> 
> 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 at gdsys.cc>
> Signed-off-by: Dirk Eibach <dirk.eibach at gdsys.cc>
> Acked-by: Che-Liang Chiou <clchiou at chromium.org>

Applied, thanks!

Andy



More information about the U-Boot mailing list