• Masahiro Yamada's avatar
    TBB: fix comment about MBEDTLS_KEY_ALG default · a56f87c8
    Masahiro Yamada authored
    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 7d37aa17
    
     ("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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    a56f87c8
mbedtls_crypto.mk 2.68 KB