diff options
author | Soby Mathew <soby.mathew@arm.com> | 2017-08-31 11:49:32 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2017-08-31 16:42:11 +0100 |
commit | 2091755c5e3b8d94333b9aad742e61db9d754cc5 (patch) | |
tree | 39cd6c5b43132df7574b75e077d6daa77dabeaed /make_helpers | |
parent | d818a02cb489eae1f99cabf949d47e56347e4537 (diff) |
Export KEY_ALG as a user build option
The `KEY_ALG` variable is used to select the algorithm for key
generation by `cert_create` tool for signing the certificates. This
variable was previously undocumented and did not have a global default
value. This patch corrects this and also adds changes to derive the
value of `TF_MBEDTLS_KEY_ALG` based on `KEY_ALG` if it not set by the
platform. The corresponding assignment of these variables are also now
removed from the `arm_common.mk` makefile.
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: I78e2d6f4fc04ed5ad35ce2266118afb63127a5a4
Diffstat (limited to 'make_helpers')
-rw-r--r-- | make_helpers/defaults.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 302d937f..86010460 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk @@ -81,6 +81,9 @@ GENERATE_COT := 0 # operations. HW_ASSISTED_COHERENCY := 0 +# Set the default algorithm for the generation of Trusted Board Boot keys +KEY_ALG := rsa + # Flag to enable new version of image loading LOAD_IMAGE_V2 := 0 |