arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Mon, 1 Mar 2021 12:04:11 +0000 (20:04 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Mon, 8 Mar 2021 02:59:10 +0000 (10:59 +0800)
commit1bc20897c1263f038f5b27f7b3ed67aa15e97a5c
tree2c422be99e5e4ebd40d2b8b9df36a39a22a8aa06
parent9a5bbdfd1a952901bda567d7d56225374ef883bc
arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)

Vendor Authorized Boot is a security feature for authenticating
the images such as U-Boot, ARM trusted Firmware, Linux kernel,
device tree blob and etc loaded from FIT. After those images are
loaded from FIT, the VAB certificate and signature block appended
at the end of each image are sent to Secure Device Manager (SDM)
for authentication. U-Boot will validate the SHA384 of the image
against the SHA384 hash stored in the VAB certificate before
sending the image to SDM for authentication.

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/Kconfig
arch/arm/mach-socfpga/Makefile
arch/arm/mach-socfpga/board.c
arch/arm/mach-socfpga/include/mach/mailbox_s10.h
arch/arm/mach-socfpga/include/mach/secure_vab.h [new file with mode: 0644]
arch/arm/mach-socfpga/secure_vab.c [new file with mode: 0644]
common/Kconfig.boot