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
1 parent 05799ae commit 7d37aa171158422b5ee7ee6c3cdad58f6aa066b4
@Juan Castillo Juan Castillo authored on 2 Apr 2015
Showing 8 changed files
View
drivers/auth/mbedtls/mbedtls_common.c 0 → 100644
View
drivers/auth/mbedtls/mbedtls_common.mk 0 → 100644
View
drivers/auth/mbedtls/mbedtls_crypto.c 0 → 100644
View
drivers/auth/mbedtls/mbedtls_crypto.mk 0 → 100644
View
drivers/auth/mbedtls/mbedtls_x509.mk 0 → 100644
View
drivers/auth/mbedtls/mbedtls_x509_parser.c 0 → 100644
View
include/drivers/auth/mbedtls/mbedtls_common.h 0 → 100644
View
include/drivers/auth/mbedtls/mbedtls_config.h 0 → 100644