]> git.baikalelectronics.ru Git - arm-tf.git/commit
TBB: add mbedTLS authentication related libraries
authorJuan Castillo <juan.castillo@arm.com>
Thu, 2 Apr 2015 14:44:20 +0000 (15:44 +0100)
committerJuan Castillo <juan.castillo@arm.com>
Thu, 25 Jun 2015 07:53:27 +0000 (08:53 +0100)
commit7d37aa171158422b5ee7ee6c3cdad58f6aa066b4
tree5eeac43b0686b03d015ae9d791796880eb98980a
parent05799ae0c80ca4592ff2eba1e61027f8661529eb
TBB: add mbedTLS authentication related libraries

This patch adds the following mbedTLS based libraries:

* Cryptographic library

It is used by the crypto module to verify a digital signature
and a hash. This library relies on mbedTLS to perform the
cryptographic operations. mbedTLS sources must be obtained
separately.

Two key algorithms are currently supported:

    * RSA-2048
    * ECDSA-SECP256R1

The platform is responsible for picking up the required
algorithm by defining the 'MBEDTLS_KEY_ALG' variable in the
platform makefile. Available options are:

    * 'rsa' (for RSA-2048) (default option)
    * 'ecdsa' (for ECDSA-SECP256R1)

Hash algorithm currently supported is SHA-256.

* Image parser library

Used by the image parser module to extract the authentication
parameters stored in X509v3 certificates.

Change-Id: I597c4be3d29287f2f18b82846973afc142ee0bf0
drivers/auth/mbedtls/mbedtls_common.c [new file with mode: 0644]
drivers/auth/mbedtls/mbedtls_common.mk [new file with mode: 0644]
drivers/auth/mbedtls/mbedtls_crypto.c [new file with mode: 0644]
drivers/auth/mbedtls/mbedtls_crypto.mk [new file with mode: 0644]
drivers/auth/mbedtls/mbedtls_x509.mk [new file with mode: 0644]
drivers/auth/mbedtls/mbedtls_x509_parser.c [new file with mode: 0644]
include/drivers/auth/mbedtls/mbedtls_common.h [new file with mode: 0644]
include/drivers/auth/mbedtls/mbedtls_config.h [new file with mode: 0644]