mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-17 18:21:00 +03:00
psa: Remove MBEDTLS_PSA_CRYPTO_DRIVERS configuration option
The support for the PSA crypto driver interface is not optional anymore as the implementation of the PSA cryptography interface has been restructured around the PSA crypto driver interface (see psa-crypto-implementation-structure.md). There is thus no purpose for the configuration options MBEDTLS_PSA_CRYPTO_DRIVERS anymore. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@ -438,14 +438,8 @@ psa_status_t psa_validate_key_location(psa_key_lifetime_t lifetime,
|
||||
(void) p_drv;
|
||||
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
||||
|
||||
#if defined(MBEDTLS_PSA_CRYPTO_DRIVERS)
|
||||
/* Key location for external keys gets checked by the wrapper */
|
||||
return PSA_SUCCESS;
|
||||
#else /* MBEDTLS_PSA_CRYPTO_DRIVERS */
|
||||
/* No support for external lifetimes at all, or dynamic interface
|
||||
* did not find driver for requested lifetime. */
|
||||
return PSA_ERROR_INVALID_ARGUMENT;
|
||||
#endif /* MBEDTLS_PSA_CRYPTO_DRIVERS */
|
||||
} else {
|
||||
/* Local/internal keys are always valid */
|
||||
return PSA_SUCCESS;
|
||||
|
Reference in New Issue
Block a user