u-boot/lib
Ilias Apalodimas f042e47e8f efi_loader: Implement EFI variable handling via OP-TEE
In OP-TEE we can run EDK2's StandAloneMM on a secure partition.
StandAloneMM is responsible for the UEFI variable support. In
combination with OP-TEE and it's U-Boot supplicant, variables are
authenticated/validated in secure world and stored on an RPMB partition.

So let's add a new config option in U-Boot implementing the necessary
calls to OP-TEE for the variable management.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Pipat Methavanitpong <pipat1010@gmail.com>
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-05-17 21:59:53 +02:00
..
acpi acpi: Add an acpi command 2020-04-30 17:16:12 +08:00
aes u-boot: fit: add support to decrypt fit with aes 2020-01-17 10:16:29 -05:00
at91 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bzip2 dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
crypto lib/crypto, efi_loader: move some headers to include/crypto 2020-05-04 12:26:11 +02:00
dhry SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
efi_driver dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
efi_loader efi_loader: Implement EFI variable handling via OP-TEE 2020-05-17 21:59:53 +02:00
efi_selftest efi_loader: put device tree into EfiACPIReclaimMemory 2020-05-07 18:23:16 +02:00
libavb dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
libfdt fdt_region: move fdt_region.c to common/ from lib/libfdt/ 2020-04-26 14:23:55 -06:00
lzma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lzo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
optee optee: Replace uninitialized return variable by proper one. 2020-01-30 13:30:35 -05:00
rsa lib: rsa: avoid overriding the object name when already specified 2020-05-15 14:47:35 -04:00
tizen SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zlib lib: zlib: fix formatting, reference 2020-04-27 14:55:29 -04:00
zstd dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
.gitignore lib: ignore oid_registry_data.c file 2020-01-22 17:47:57 -05:00
addr_map.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
aes.c aes: add support of aes192 and aes256 2020-01-17 10:15:49 -05:00
asm-offsets.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
asn1_decoder.c lib: add asn1 decoder 2019-12-06 16:44:20 -05:00
bch.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
binman.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
bitrev.c lib: bitrev: Sync with Linux kernel v4.17 2018-09-18 00:01:18 -06:00
charset.c charset: Add support for calculating bytes occupied by a u16 string 2020-05-09 09:30:28 +02:00
circbuf.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crc7.c
crc8.c common: Drop linux/crc8.h 2019-12-02 18:23:07 -05:00
crc16.c Roll CRC16-CCITT into the hash infrastructure 2018-12-08 20:18:44 -05:00
crc32.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
crc32c.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ctype.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
date.c lib: add mktime64() for linux compatibility 2019-12-06 16:44:19 -05:00
display_options.c common: Move and rename CONFIG_SYS_SUPPORT_64BIT_DATA 2020-01-17 17:53:52 -05:00
div64.c div64: Don't instrument the division function 2019-04-23 20:26:43 -06:00
elf.c lib: elf: Move the generic elf loading/validating functions to lib 2020-03-03 13:08:14 +05:30
errno_str.c lib: errno: sync error codes 2019-10-31 07:22:53 -04:00
errno.c
fdtdec_common.c libfdt: Make fdtdec_get_child_count() available for HOST 2020-04-24 10:10:01 -04:00
fdtdec_test.c fdtdec: test: Fix memory leak 2019-07-10 16:52:58 -06:00
fdtdec.c libfdt: Make fdtdec_get_child_count() available for HOST 2020-04-24 10:10:01 -04:00
gunzip.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
gzip.c common: Move gzip functions into a new gzip header 2019-08-11 16:43:41 -04:00
hang.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
hashtable.c make env_entry::callback conditional on !CONFIG_SPL_BUILD 2020-04-24 10:09:59 -04:00
hexdump.c lib: do not provide hexdump in SPL 2020-04-24 10:51:32 -04:00
image-sparse.c mmc: Separate "mmc swrite" from fastboot 2018-05-30 11:59:21 +02:00
Kconfig lib: Allow MD5 to be enabled in SPL 2020-05-15 14:47:35 -04:00
ldiv.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linux_compat.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
linux_string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
list_sort.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
lmb.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
lz4_wrapper.c common: Add a new lz4.h header file 2019-12-02 18:23:11 -05:00
lz4.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
Makefile lib: Allow MD5 to be enabled in SPL 2020-05-15 14:47:35 -04:00
md5.c GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
membuff.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
net_utils.c net: Move the checksum functions to lib/ 2019-12-15 11:43:57 +08:00
of_live.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
oid_registry.c lib: add oid registry utility 2019-12-06 16:44:20 -05:00
panic.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
physmem.c sandbox: physmem: Use mapping to support sandbox 2018-12-05 06:01:34 -07:00
qsort.c common: Move sorting functions to their own header file 2019-12-02 18:23:08 -05:00
rand.c common: Move random-number functions into their own header 2019-12-02 18:23:07 -05:00
rbtree.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rc4.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha1.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
slre.c lib/slre: remove superfluous assignment 2018-09-05 16:02:34 -04:00
smbios.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
string.c string: Allow arch override of strndup() also 2020-02-05 19:33:46 -07:00
strto.c lib: Add a function to convert a string to upper case 2020-04-24 16:40:09 -04:00
tables_csum.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
time.c common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
tiny-printf.c tiny-printf: Support %i 2020-05-01 11:03:24 -04:00
tpm-common.c tpm: Fix a logging warning in unpack_byte_string() 2018-12-05 06:01:34 -07:00
tpm-utils.h tpm: Convert to use a device parameter 2018-11-29 09:30:06 -07:00
tpm-v1.c tpm: simplify: tpm_set_global_lock() 2019-02-19 08:55:43 -05:00
tpm-v2.c tpm: Convert to use a device parameter 2018-11-29 09:30:06 -07:00
trace.c trace: provide Sphinx style comments 2020-01-22 17:47:57 -05:00
uuid.c uuid: Use const char * where possible 2020-04-24 16:40:09 -04:00
vsprintf.c lib: Always build support for formatting MAC and IP address 2019-12-09 09:47:41 -06:00
xxhash.c lib: Add xxhash support 2019-05-05 08:48:50 -04:00