whitespace fix
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h
index ed26239..1c72674 100644
--- a/include/psa/crypto_struct.h
+++ b/include/psa/crypto_struct.h
@@ -378,8 +378,8 @@
                                         psa_key_lifetime_t lifetime)
 {
     attributes->core.lifetime = lifetime;
-        if (PSA_KEY_LIFETIME_IS_VOLATILE(lifetime))
-        {
+    if (PSA_KEY_LIFETIME_IS_VOLATILE(lifetime))
+    {
 #ifdef MBEDTLS_PSA_CRYPTO_KEY_FILE_ID_ENCODES_OWNER
         attributes->core.id.key_id = 0;
         attributes->core.id.owner = 0;
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index b0b03a0..fa920cc 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -2427,7 +2427,6 @@
     target_operation->alg = source_operation->alg;
     return( PSA_SUCCESS );
 }
-
 /****************************************************************/
 /* MAC */
 /****************************************************************/
@@ -5526,14 +5525,14 @@
         if( status != PSA_SUCCESS )
             return( status );
         status = psa_generate_random( slot->data.raw.data,
-                                    slot->data.raw.bytes );
+                                      slot->data.raw.bytes );
         if( status != PSA_SUCCESS )
             return( status );
-        #if defined(MBEDTLS_DES_C)
+#if defined(MBEDTLS_DES_C)
         if( type == PSA_KEY_TYPE_DES )
             psa_des_set_key_parity( slot->data.raw.data,
                                     slot->data.raw.bytes );
-        #endif /* MBEDTLS_DES_C */
+#endif /* MBEDTLS_DES_C */
     }
     else