arm-trusted-firmware/docs
Juan Castillo 6eadf7627f TBB: add a platform specific function to validate the ROTPK
This patch adds the function plat_match_rotpk() to the platform
porting layer to provide a Root Of Trust Public key (ROTPK)
verification mechanism. This function is called during the
Trusted Board Boot process and receives a supposed valid copy
of the ROTPK as a parameter, usually obtained from an external
source (for instance, a certificate). It returns 0 (success) if
that key matches the actual ROTPK stored in the system or any
other value otherwise.

The mechanism to access the actual ROTPK stored in the system
is platform specific and should be implemented as part of this
function. The format of the ROTPK is also platform specific
(to save memory, some platforms might store a hash of the key
instead of the whole key).

TRUSTED_BOARD_BOOT build option has been added to allow the user
to enable the Trusted Board Boot features. The implementation of
the plat_match_rotpk() funtion is mandatory when Trusted Board
Boot is enabled.

For development purposes, FVP and Juno ports provide a dummy
function that returns always success (valid key). A safe trusted
boot implementation should provide a proper matching function.

Documentation updated accordingly.

Change-Id: I74ff12bc2b041556c48533375527d9e8c035b8c3
2015-01-28 18:26:59 +00:00
..
diagrams Document design of the Interrupt Mangement Framework 2014-06-03 18:42:14 +01:00
change-log.md Documentation for version 1.0 2014-08-28 14:24:54 +01:00
cpu-specific-build-macros.md Create Table of Content links in markdown files 2015-01-07 15:01:07 +01:00
firmware-design.md Merge pull request #248 from jcastillo-arm/jc/tf-issues/212_1 2015-01-28 10:42:32 +00:00
interrupt-framework-design.md Create Table of Content links in markdown files 2015-01-07 15:01:07 +01:00
optee-dispatcher.md Add opteed based on tspd 2014-09-16 11:51:54 -07:00
porting-guide.md TBB: add a platform specific function to validate the ROTPK 2015-01-28 18:26:59 +00:00
rt-svc-writers-guide.md Create Table of Content links in markdown files 2015-01-07 15:01:07 +01:00
user-guide.md Merge pull request #248 from jcastillo-arm/jc/tf-issues/212_1 2015-01-28 10:42:32 +00:00