TBB: add tool to generate certificates
authorJuan Castillo <juan.castillo@arm.com>
Tue, 21 Oct 2014 10:30:42 +0000 (11:30 +0100)
committerDan Handley <dan.handley@arm.com>
Wed, 28 Jan 2015 18:26:59 +0000 (18:26 +0000)
commit6f97162237603eb6e5c497e5ba903512bdd428a9
tree893c5cd79c8df7be3ba36c31615ea69ea7046d0e
parentc5fb47c389000c7a5189c0ad28a26bf50bf7e65c
TBB: add tool to generate certificates

This patch adds a tool that generates all the necessary elements
to establish the chain of trust (CoT) between the images.

The tool reads the binary images and signing keys and outputs the
corresponding certificates that will be used by the target at run
time to verify the authenticity of the images.

Note: the platform port must provide the file platform_oid.h. This
file will define the OIDs of the x509 extensions that will be added
to the certificates in order to establish the CoT.

Change-Id: I2734d6808b964a2107ab3a4805110698066a04be
21 files changed:
.gitignore
Makefile
plat/fvp/include/platform_oid.h [new file with mode: 0644]
plat/juno/include/platform_oid.h [new file with mode: 0644]
tools/cert_create/Makefile [new file with mode: 0644]
tools/cert_create/include/cert.h [new file with mode: 0644]
tools/cert_create/include/debug.h [new file with mode: 0644]
tools/cert_create/include/ext.h [new file with mode: 0644]
tools/cert_create/include/key.h [new file with mode: 0644]
tools/cert_create/include/sha.h [new file with mode: 0644]
tools/cert_create/include/tbb_cert.h [new file with mode: 0644]
tools/cert_create/include/tbb_ext.h [new file with mode: 0644]
tools/cert_create/include/tbb_key.h [new file with mode: 0644]
tools/cert_create/src/cert.c [new file with mode: 0644]
tools/cert_create/src/ext.c [new file with mode: 0644]
tools/cert_create/src/key.c [new file with mode: 0644]
tools/cert_create/src/main.c [new file with mode: 0644]
tools/cert_create/src/sha.c [new file with mode: 0644]
tools/cert_create/src/tbb_cert.c [new file with mode: 0644]
tools/cert_create/src/tbb_ext.c [new file with mode: 0644]
tools/cert_create/src/tbb_key.c [new file with mode: 0644]