commit | e34f636f8d6366f42ceb2817edda7e7450c9172c | [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:31:06 2019 +0000 |
tree | 34c3f0e61bbcf1371624c38612b5b59c3b65274d | |
parent | 32809e8c708d307ca9dc91619d4fbc85a9386e84 [diff] [blame] |
PSA: Adapt cipher.c, pk.c, pk_wrap.c to new key slot allocation API
diff --git a/library/cipher.c b/library/cipher.c index 03c0e06..b2cffcd 100644 --- a/library/cipher.c +++ b/library/cipher.c
@@ -308,7 +308,7 @@ return( MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE ); /* Allocate a key slot to use. */ - status = psa_allocate_key( key_type, key_bitlen, &cipher_psa->slot ); + status = psa_allocate_key( &cipher_psa->slot ); if( status != PSA_SUCCESS ) return( MBEDTLS_ERR_CIPHER_HW_ACCEL_FAILED );