tbbr/dualroot: Add fw_config image in chain of trust
fw_config image is authenticated using secure boot framework by
adding it into the single root and dual root chain of trust.

The COT for fw_config image looks as below:

+------------------+       +-------------------+
| ROTPK/ROTPK Hash |------>| Trusted Boot fw   |
+------------------+       | Certificate       |
                           | (Auth Image)      |
                          /+-------------------+
                         /                   |
                        /                    |
                       /                     |
                      /                      |
                     L                       v
+------------------+       +-------------------+
| fw_config hash   |------>| fw_config         |
|                  |       | (Data Image)      |
+------------------+       +-------------------+

Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I08fc8ee95c29a95bb140c807dd06e772474c7367
1 parent 9b3ca9b commit 243875eaf9df591aec14c20075c70cb5af7dd9e9
@Louis Mayencourt Louis Mayencourt authored on 11 Jun 2020
Manish V Badarkhe committed on 24 Jun 2020
Showing 6 changed files
View
drivers/auth/dualroot/cot.c
View
drivers/auth/tbbr/tbbr_cot_bl1.c
View
drivers/auth/tbbr/tbbr_cot_common.c
View
include/drivers/auth/tbbr_cot_common.h
View
include/export/common/tbbr/tbbr_img_def_exp.h
View
plat/arm/common/fconf/arm_fconf_io.c