diff options
author | Leonardo Sandoval <leonardo.sandoval@linaro.org> | 2020-06-18 17:32:55 -0500 |
---|---|---|
committer | Leonardo Sandoval <leonardo.sandoval@linaro.org> | 2020-09-10 10:19:43 -0500 |
commit | ee15a17272abec0b969545dada4258a9e2a3721f (patch) | |
tree | 4a434b4e1d6dfd6a9d57b93ab042e53421f78cdc | |
parent | ed39d5e3c0709bab22821a1da3a62737c5d531de (diff) | |
download | arm-trusted-firmware-ee15a17272abec0b969545dada4258a9e2a3721f.tar.gz |
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>
-rw-r--r-- | make_helpers/defaults.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 27f8f2a51..7220a5d76 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk @@ -157,6 +157,11 @@ HW_ASSISTED_COHERENCY := 0 # 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 |