arm-trusted-firmware/bl2
Juan Castillo 1779ba6b97 TBB: switch to the new authentication framework
This patch modifies the Trusted Board Boot implementation to use
the new authentication framework, making use of the authentication
module, the cryto module and the image parser module to
authenticate the images in the Chain of Trust.

A new function 'load_auth_image()' has been implemented. When TBB
is enabled, this function will call the authentication module to
authenticate parent images following the CoT up to the root of
trust to finally load and authenticate the requested image.

The platform is responsible for picking up the right makefiles to
build the corresponding cryptographic and image parser libraries.
ARM platforms use the mbedTLS based libraries.

The platform may also specify what key algorithm should be used
to sign the certificates. This is done by declaring the 'KEY_ALG'
variable in the platform makefile. FVP and Juno use ECDSA keys.

On ARM platforms, BL2 and BL1-RW regions have been increased 4KB
each to accommodate the ECDSA code.

REMOVED BUILD OPTIONS:

  * 'AUTH_MOD'

Change-Id: I47d436589fc213a39edf5f5297bbd955f15ae867
2015-06-25 08:53:27 +01:00
..
aarch64 Add support to indicate size and end of assembly functions 2015-04-08 13:02:59 +01:00
bl2.ld.S TBB: add authentication framework 2015-06-25 08:53:26 +01:00
bl2.mk Remove vpath usage in makefiles 2014-05-06 12:35:02 +01:00
bl2_main.c TBB: switch to the new authentication framework 2015-06-25 08:53:27 +01:00
bl2_private.h Remove extern keyword from function declarations 2014-05-23 12:15:54 +01:00