commit | ee15a17272abec0b969545dada4258a9e2a3721f | [log] [tgz] |
---|---|---|
author | Leonardo Sandoval <leonardo.sandoval@linaro.org> | Thu Jun 18 17:32:55 2020 -0500 |
committer | Leonardo Sandoval <leonardo.sandoval@linaro.org> | Thu Sep 10 10:19:43 2020 -0500 |
tree | 4a434b4e1d6dfd6a9d57b93ab042e53421f78cdc | |
parent | ed39d5e3c0709bab22821a1da3a62737c5d531de [diff] |
defaults.mk: default KEY_SIZE to 2048 in case of RSA algorithm According to the documentation [1], KEY_SIZE defaults to 2048 when RSA algorithm is chosen, so set this value on the make's defaults file. [1] https://trustedfirmware-a.readthedocs.io/en/latest/getting_started/build-options.html Change-Id: I030f98363198a752bc0dd03528f748de527d48d8 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 27f8f2a..7220a5d 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk
@@ -157,6 +157,11 @@ # Set the default algorithm for the generation of Trusted Board Boot keys KEY_ALG := rsa +# Set the default key size in case KEY_ALG is rsa +ifeq ($(KEY_ALG),rsa) +KEY_SIZE := 2048 +endif + # Option to build TF with Measured Boot support MEASURED_BOOT := 0