1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Change pake input: key_lifetime -> key attributes

In the future key attributes will be available for opaque driver via psa_crypto_driver_pake_get_password_key().

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel
2023-01-26 15:06:09 +01:00
parent d5d28a217f
commit 9dd2440c95
4 changed files with 13 additions and 5 deletions

View File

@ -2816,7 +2816,7 @@ psa_status_t psa_driver_wrapper_pake_setup(
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
psa_key_location_t location =
PSA_KEY_LIFETIME_GET_LOCATION( inputs->key_lifetime );
PSA_KEY_LIFETIME_GET_LOCATION( inputs->attributes.core.lifetime );
switch( location )
{