rv1126-uboot/lib
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
..
bzip2 bzlib: Try another way to fix an unused variable 2016-02-06 13:59:48 +01:00
dhry cmd_dhry.c: Use lldiv for vax_mips calculation as well 2016-03-17 10:14:25 -04:00
efi x86: Tidy up selection of building the EFI stub 2016-11-14 23:24:03 +01:00
efi_loader efi: Add a hook to allow adding memory mapping 2017-03-14 08:44:03 -07:00
libfdt libfdt: Correct fdt handling of overlays without fixups and base trees without symbols 2017-01-13 18:19:45 -07:00
lzma
lzo lib/lzo: bugfix when input data is not compressed 2016-06-24 17:23:11 -04:00
rsa Kconfig: Don't use RSA_FREESCALE_EXP on IMX 2017-03-20 18:04:42 -04:00
tizen exynos: Allow tizen to be built without an LCD 2016-05-25 13:25:18 +09:00
zlib Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
Kconfig Kconfig: introduce md5sum command selection 2017-03-17 09:09:39 -04:00
Makefile x86: Move smbios generation into arch independent directory 2016-10-19 09:01:50 +02:00
addr_map.c
aes.c
asm-offsets.c
bch.c
bitrev.c
circbuf.c
crc7.c
crc8.c lib/crc8: Add crc start value 2016-04-11 20:48:26 -04:00
crc16.c lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value 2016-03-14 19:18:42 -04:00
crc32.c
ctype.c
display_options.c
div64.c lib: Don't instrument the div64 function 2016-02-26 08:53:10 -07:00
errno.c
errno_str.c
fdtdec.c libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT 2017-03-26 13:22:58 -06:00
fdtdec_common.c
fdtdec_test.c
gunzip.c gunzip: cache-align write buffer memory 2016-10-06 20:57:33 -04:00
gzip.c
hang.c Change my mailaddress 2016-05-02 18:37:09 -04:00
hashtable.c spl: saveenv: adding saveenv support in SPL 2016-10-08 09:33:36 -04:00
initcall.c
ldiv.c
linux_compat.c
linux_string.c
list_sort.c
lmb.c
lz4.c
lz4_wrapper.c
md5.c
membuff.c
net_utils.c lib: net_utils: enforce '.' as octet separator in string_to_ip 2017-01-14 16:47:11 -05:00
panic.c
physmem.c lib/physmem.c: Switch to __weak for arch_phys_memset 2016-04-01 17:17:43 -04:00
qsort.c
rand.c
rbtree.c
rc4.c
sha1.c rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
sha256.c rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
slre.c
smbios.c x86: Use unsigned long for address in table generation 2017-02-06 11:38:46 +08:00
string.c Remove unneeded remnants of bcopy(). 2016-06-06 13:39:18 -04:00
strmhz.c
strto.c Fix return value in trailing_strtoln() 2016-10-11 11:55:33 +08:00
tables_csum.c x86: Move table csum into separate file 2016-10-19 09:01:50 +02:00
time.c delay: collect {m, n, u}delay declarations to include/linux/delay.h 2017-01-14 16:46:28 -05:00
tiny-printf.c tiny-printf: add static to locally used functions 2017-03-14 20:40:22 -04:00
tpm.c tpm: Add function to load keys via their parent's SHA1 hash 2017-03-26 13:22:58 -06:00
trace.c
uuid.c
vsprintf.c