cert_create: specify command line options in the CoT
authorJuan Castillo <juan.castillo@arm.com>
Fri, 3 Jul 2015 15:23:16 +0000 (16:23 +0100)
committerJuan Castillo <juan.castillo@arm.com>
Fri, 23 Oct 2015 15:54:13 +0000 (16:54 +0100)
commitad2c1a9aa7b95b342ba1f82e67781f3ff20c1e18
treeb8c2b5b32e8ef837c6cda2570c3fa47edae171e6
parentdfc90e269c07a29648f8ff1cbdb0d9fd8645e7ff
cert_create: specify command line options in the CoT

This patch introduces a new API that allows to specify command
line options in the Chain of Trust description. These command line
options may be used to specify parameters related to the CoT (i.e.
keys or certificates), instead of keeping a hardcoded list of
options in main.c.

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