mbedtls/include/psa
John Durkop d032195278 Phase 2 support for MBEDTLS_PSA_CRYPTO_CONFIG
This phase adds in support for the following features being
added to the list of features that can be configured in the
include/psa/crypto_config.h header file using the PSA_WANT_ALG_xxx
macros: ECDH, HMAC, HKDF, and RSA. These changes include changes to
the PSA crypto library to use the appropriate new guards that
will allow the feature to be compiled in or out either using
new PSA_WANT_ALG_xxx or the previous MBEDTLS_xxx macros.

For HKDF and HMAC, most of the PSA library code did not have a
specific matching MBEDTLS_xxx macro for that feature, but was instead
using the generic dependent MBEDTLS_MD_C macro. The ECDH and RSA
features more closely aligned with a direct replacement with a similar
macro.

The new tests for RSA, HMAC, and HKDF would normally unset additional
dependent macros, but when attempting to implement that level of
testing it required removal of too many core features like MD_C, PK_C,
ECP_C and other low level features. This may point to additional phases of
work to complete the transition of these features to the new model.

Signed-off-by: John Durkop <john.durkop@fermatsoftware.com>
2020-11-10 06:10:29 -08:00
..
crypto.h psa: Rename psa_key_file_id_t to mbedtls_svc_key_id_t 2020-09-02 14:27:07 +02:00
crypto_accel_driver.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_compat.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_config.h Phase 2 support for MBEDTLS_PSA_CRYPTO_CONFIG 2020-11-10 06:10:29 -08:00
crypto_driver_common.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_entropy_driver.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_extra.h Define always psa_key_id_t as defined in PSA crypto spec 2020-09-02 14:27:07 +02:00
crypto_platform.h Fix key owner identifier documentation 2020-09-15 08:50:20 +02:00
crypto_se_driver.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_sizes.h Update support macros for IV/nonce sizes 2020-10-29 11:07:39 +01:00
crypto_struct.h Merge pull request #3527 from ronald-cron-arm/key-extended-id 2020-09-15 16:06:06 +02:00
crypto_types.h psa: Move key identifier related macros and functions 2020-09-15 08:50:20 +02:00
crypto_values.h Merge pull request #3527 from ronald-cron-arm/key-extended-id 2020-09-15 16:06:06 +02:00