Switch storage functions over to psa_core_key_attributes_t
diff --git a/library/psa_crypto_slot_management.c b/library/psa_crypto_slot_management.c
index bfa7baa..2cfc4a9 100644
--- a/library/psa_crypto_slot_management.c
+++ b/library/psa_crypto_slot_management.c
@@ -128,7 +128,7 @@
     psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
 
     psa_set_key_id( &attributes, p_slot->attr.id );
-    status = psa_load_persistent_key( &attributes,
+    status = psa_load_persistent_key( &attributes.core,
                                       &key_data, &key_data_length );
     if( status != PSA_SUCCESS )
         goto exit;