PSA: Adapt pk.c, pk_wrap.c, cipher.c to new key policy init API
This commit is contained in:
parent
242da1e2c2
commit
2169a5e54d
3 changed files with 3 additions and 3 deletions
|
@ -322,7 +322,7 @@ int mbedtls_cipher_setkey( mbedtls_cipher_context_t *ctx,
|
|||
* mbedtls_cipher_free() needs to be called in any case. */
|
||||
|
||||
/* Setup policy for the new key slot. */
|
||||
psa_key_policy_init( &key_policy );
|
||||
key_policy = psa_key_policy_init();
|
||||
|
||||
/* Mbed TLS' cipher layer doesn't enforce the mode of operation
|
||||
* (encrypt vs. decrypt): it is possible to setup a key for encryption
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue