TBB: Add an IO abstraction layer to load encrypted firmwares
TBBR spec advocates for optional encryption of firmwares (see optional
requirement: R060_TBBR_FUNCTION). So add an IO abstaction layer to
support firmware decryption that can be stacked above any underlying IO/
packaging layer like FIP etc. It aims to provide a framework to load any
encrypted IO payload.

Also, add plat_get_enc_key_info() to be implemented in a platform
specific manner as handling of encryption key may vary from one platform
to another.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Change-Id: I9892e0ddf00ebecb8981301dbfa41ea23e078b03
1 parent 7cda17b commit 2be57b8658b1206a8fb8a2cfbbd9b15cae4b354d
@Sumit Garg Sumit Garg authored on 15 Nov 2019
Showing 7 changed files
View
drivers/io/io_encrypted.c 0 → 100644
View
include/drivers/io/io_encrypted.h 0 → 100644
View
include/drivers/io/io_storage.h
View
include/export/common/tbbr/tbbr_img_def_exp.h
View
include/plat/common/platform.h
View
include/tools_share/firmware_encrypted.h 0 → 100644
View
plat/common/plat_bl_common.c