mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 18:14:14 +01:00
PSA: Adapt PK test suite to modified key slot allocation mechanism
This commit is contained in:
parent
4a2949ba29
commit
353295ac70
@ -84,7 +84,7 @@ psa_key_handle_t pk_psa_genkey( void )
|
|||||||
psa_key_policy_t policy;
|
psa_key_policy_t policy;
|
||||||
|
|
||||||
/* Allocate a key slot */
|
/* Allocate a key slot */
|
||||||
if( PSA_SUCCESS != psa_allocate_key( type, bits, &key ) )
|
if( PSA_SUCCESS != psa_allocate_key( &key ) )
|
||||||
return( PK_PSA_INVALID_SLOT );
|
return( PK_PSA_INVALID_SLOT );
|
||||||
|
|
||||||
/* set up policy on key slot */
|
/* set up policy on key slot */
|
||||||
|
Loading…
Reference in New Issue
Block a user