mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 10:34:19 +00:00
TBB: fix comment about MBEDTLS_KEY_ALG default
This comment block says the default algorithm is ESDSA, while the
code obviously sets the default to RSA:
ifeq (${MBEDTLS_KEY_ALG},)
MBEDTLS_KEY_ALG := rsa
endif
The git log of commit 7d37aa1711
("TBB: add mbedTLS authentication
related libraries") states available options are:
* 'rsa' (for RSA-2048) (default option)
* 'ecdsa' (for ECDSA-SECP256R1)
So, my best guess is the comment block is wrong.
The mismatch between the code and the comment is confusing. Fix it.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
cef7b3ce8b
commit
a56f87c8b9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
include drivers/auth/mbedtls/mbedtls_common.mk
|
||||
|
||||
# The platform may define the variable 'MBEDTLS_KEY_ALG' to select the key
|
||||
# algorithm to use. Default algorithm is ECDSA.
|
||||
# algorithm to use. Default algorithm is RSA.
|
||||
ifeq (${MBEDTLS_KEY_ALG},)
|
||||
MBEDTLS_KEY_ALG := rsa
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue