u-boot/drivers/tpm
mario.six@gdsys.cc 0f4b2ba176 tpm: Add function to load keys via their parent's SHA1 hash
If we want to load a key into a TPM, we need to know the designated parent
key's handle, so that the TPM is able to insert the key at the correct place in
the key hierarchy.

However, if we want to load a key whose designated parent key we also
previously loaded ourselves, we first need to memorize this parent key's handle
(since the handles for the key are chosen at random when they are inserted into
the TPM). If we are, however, unable to do so, for example if the parent key is
loaded into the TPM during production, and its child key during the actual
boot, we must find a different mechanism to identify the parent key.

To solve this problem, we add a function that allows U-Boot to load a key into
the TPM using their designated parent key's SHA1 hash, and the corresponding
auth data.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-03-26 13:22:58 -06:00
..
Kconfig tpm: Add function to load keys via their parent's SHA1 hash 2017-03-26 13:22:58 -06:00
Makefile tpm: st33zp24: Add tpm st33zp24 spi support 2016-01-28 21:01:22 -07:00
tpm-uclass.c dm: tpm: Add a uclass for Trusted Platform Modules 2015-08-31 07:57:28 -06:00
tpm_atmel_twi.c tpm: atmel_twi: Make compatible with DM I2C busses 2016-08-15 22:12:00 +02:00
tpm_internal.h dm: tpm: Add a uclass for Trusted Platform Modules 2015-08-31 07:57:28 -06:00
tpm_tis.h tpm: Rename tpm_tis_infineon.h to tpm_tis.h and move infineon specific stuff in tpm_infineon.c 2016-01-28 21:01:22 -07:00
tpm_tis_infineon.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
tpm_tis_lpc.c tpm: tpm_tis_lpc: Add support for AT97SC3204 2016-12-02 10:37:47 -07:00
tpm_tis_sandbox.c drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use 2016-04-15 08:14:37 -06:00
tpm_tis_st33zp24_i2c.c tpm: st33zp24: Add tpm st33zp24 support with i2c 2016-01-28 21:01:22 -07:00
tpm_tis_st33zp24_spi.c tpm: st33zp24: Add tpm st33zp24 spi support 2016-01-28 21:01:22 -07:00