From 2091755c5e3b8d94333b9aad742e61db9d754cc5 Mon Sep 17 00:00:00 2001 From: Soby Mathew Date: Thu, 31 Aug 2017 11:49:32 +0100 Subject: 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 Change-Id: I78e2d6f4fc04ed5ad35ce2266118afb63127a5a4 --- make_helpers/defaults.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'make_helpers/defaults.mk') 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 -- cgit v1.2.3