mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-04-25 23:46:37 +00:00
psa: Remove psa_key_slot_is_external()
Remove psa_key_slot_is_external() that is not used anymore. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
41e8006fa2
commit
f8f425d95d
|
@ -385,13 +385,6 @@ psa_status_t mbedtls_to_psa_error( int ret )
|
||||||
/* Key management */
|
/* Key management */
|
||||||
/****************************************************************/
|
/****************************************************************/
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
|
||||||
static inline int psa_key_slot_is_external( const psa_key_slot_t *slot )
|
|
||||||
{
|
|
||||||
return( psa_key_lifetime_is_external( slot->attr.lifetime ) );
|
|
||||||
}
|
|
||||||
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
|
||||||
|
|
||||||
/* For now the MBEDTLS_PSA_ACCEL_ guards are also used here since the
|
/* For now the MBEDTLS_PSA_ACCEL_ guards are also used here since the
|
||||||
* current test driver in key_management.c is using this function
|
* current test driver in key_management.c is using this function
|
||||||
* when accelerators are used for ECC key pair and public key.
|
* when accelerators are used for ECC key pair and public key.
|
||||||
|
|
Loading…
Reference in a new issue