mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
psa: slot mgmt: Simplify psa_validate_key_id
Special handling of volatile key identifiers is not needed eventually, they can be handled just as key identifier in the vendor range. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@ -1870,7 +1870,7 @@ static psa_status_t psa_validate_key_attributes(
|
||||
}
|
||||
else
|
||||
{
|
||||
status = psa_validate_key_id( psa_get_key_id( attributes ), 0, 0 );
|
||||
status = psa_validate_key_id( psa_get_key_id( attributes ), 0 );
|
||||
if( status != PSA_SUCCESS )
|
||||
return( status );
|
||||
}
|
||||
|
Reference in New Issue
Block a user