commit | 242da1e2c29eb209dcf75d7219031b4386f5328f | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Fri Jan 25 14:29:12 2019 +0000 |
committer | Hanno Becker <hanno.becker@arm.com> | Fri Jan 25 14:36:28 2019 +0000 |
tree | d17daac660b36104b1814b368509f9b855b9539e | |
parent | 330b9a458624f139d9b804e24ff16ebe2bcf8a81 [diff] [blame] |
PSA: Adapt cipher.c, pk.c, pk_wrap.c to new key slot allocation API
diff --git a/library/pk.c b/library/pk.c index 024dcdc..e25a5f2 100644 --- a/library/pk.c +++ b/library/pk.c
@@ -576,7 +576,7 @@ mbedtls_psa_parse_tls_ecc_group ( curve_id ) ); /* allocate a key slot */ - if( PSA_SUCCESS != psa_allocate_key( key_type, d_len * 8, &key ) ) + if( PSA_SUCCESS != psa_allocate_key( &key ) ) return( MBEDTLS_ERR_PK_HW_ACCEL_FAILED ); /* set policy */