TBB: rework cert_create tool to follow a data driven approach
authorJuan Castillo <juan.castillo@arm.com>
Fri, 12 Jun 2015 10:27:59 +0000 (11:27 +0100)
committerJuan Castillo <juan.castillo@arm.com>
Thu, 16 Jul 2015 13:31:20 +0000 (14:31 +0100)
commit55e291a4058633300deafabe62db7e2885f0afb5
treeb1e0d284711d4e484f43bbf6a189484d341e5178
parent484bb38509e8822d8b1fde93e215eb0e7abdf86d
TBB: rework cert_create tool to follow a data driven approach

This patch reworks the certificate generation tool to follow a data
driven approach. The user may specify at build time the certificates,
keys and extensions defined in the CoT, register them using the
appropiate macros and the tool will take care of creating the
certificates corresponding to the CoT specified.

Change-Id: I29950b39343c3e1b71718fce0e77dcf2a9a0be2f
20 files changed:
.gitignore
tools/cert_create/Makefile
tools/cert_create/include/cert.h
tools/cert_create/include/ext.h
tools/cert_create/include/key.h
tools/cert_create/include/tbb_cert.h [deleted file]
tools/cert_create/include/tbb_ext.h [deleted file]
tools/cert_create/include/tbb_key.h [deleted file]
tools/cert_create/include/tbbr/tbb_cert.h [new file with mode: 0644]
tools/cert_create/include/tbbr/tbb_ext.h [new file with mode: 0644]
tools/cert_create/include/tbbr/tbb_key.h [new file with mode: 0644]
tools/cert_create/src/cert.c
tools/cert_create/src/ext.c
tools/cert_create/src/main.c
tools/cert_create/src/tbb_cert.c [deleted file]
tools/cert_create/src/tbb_ext.c [deleted file]
tools/cert_create/src/tbb_key.c [deleted file]
tools/cert_create/src/tbbr/tbb_cert.c [new file with mode: 0644]
tools/cert_create/src/tbbr/tbb_ext.c [new file with mode: 0644]
tools/cert_create/src/tbbr/tbb_key.c [new file with mode: 0644]