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>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 4384a43..61f0ad4 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -1870,7 +1870,7 @@
}
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 );
}