Be more consistent about blank lines
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 190341f..e5ac7bd 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -305,6 +305,8 @@
}
}
+
+
/****************************************************************/
/* Key management */
/****************************************************************/
@@ -556,7 +558,6 @@
data_length, 0 ) );
}
-
psa_status_t psa_export_public_key( psa_key_slot_t key,
uint8_t *data,
size_t data_size,
@@ -566,6 +567,8 @@
data_length, 1 ) );
}
+
+
/****************************************************************/
/* Message digests */
/****************************************************************/
@@ -909,7 +912,6 @@
-
/****************************************************************/
/* MAC */
/****************************************************************/
@@ -1395,7 +1397,6 @@
-
/****************************************************************/
/* Asymmetric cryptography */
/****************************************************************/
@@ -1679,7 +1680,6 @@
{
return( PSA_ERROR_NOT_SUPPORTED );
}
-
}
psa_status_t psa_asymmetric_decrypt( psa_key_slot_t key,
@@ -1748,9 +1748,10 @@
{
return( PSA_ERROR_NOT_SUPPORTED );
}
-
}
+
+
/****************************************************************/
/* Symmetric cryptography */
/****************************************************************/
@@ -2015,6 +2016,7 @@
}
+
/****************************************************************/
/* Key Policy */
/****************************************************************/
@@ -2128,9 +2130,11 @@
}
+
/****************************************************************/
/* AEAD */
/****************************************************************/
+
psa_status_t psa_aead_encrypt( psa_key_slot_t key,
psa_algorithm_t alg,
const uint8_t *nonce,
@@ -2223,8 +2227,6 @@
//update the tag pointer to point to the end of the ciphertext_length
tag = ciphertext + plaintext_length;
-
-
mbedtls_ccm_init( &ccm );
ret = mbedtls_ccm_setkey( &ccm, cipher_id,
slot->data.raw.data, key_bits );
@@ -2393,6 +2395,7 @@
}
+
/****************************************************************/
/* Module setup */
/****************************************************************/