tools: add an option -hash-alg for cert_create
This option enables the user to select the secure hash algorithm
to be used for generating the hash. It supports the following
options:
    - sha256 (default)
    - sha384
    - sha512

Change-Id: Icb093cec1b5715e248c3d1c3749a2479a7ab4b89
Signed-off-by: Qixiang Xu <qixiang.xu@arm.com>
1 parent 203444c commit 2972247cb4ae84ed660532cac426259a4f17c816
@Qixiang Xu Qixiang Xu authored on 9 Nov 2017
Showing 6 changed files
View
tools/cert_create/include/cert.h
View
tools/cert_create/include/key.h
View
tools/cert_create/include/sha.h
View
tools/cert_create/src/cert.c
View
tools/cert_create/src/main.c
View
tools/cert_create/src/sha.c