Switch to the new code style
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/library/psa_crypto_aead.h b/library/psa_crypto_aead.h
index 70f714a..2ae8fe8 100644
--- a/library/psa_crypto_aead.h
+++ b/library/psa_crypto_aead.h
@@ -83,7 +83,7 @@
const uint8_t *nonce, size_t nonce_length,
const uint8_t *additional_data, size_t additional_data_length,
const uint8_t *plaintext, size_t plaintext_length,
- uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length );
+ uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length);
/**
* \brief Process an authenticated decryption operation.
@@ -146,7 +146,7 @@
const uint8_t *nonce, size_t nonce_length,
const uint8_t *additional_data, size_t additional_data_length,
const uint8_t *ciphertext, size_t ciphertext_length,
- uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
+ uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length);
/** Set the key for a multipart authenticated encryption operation.
*
@@ -189,7 +189,7 @@
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
size_t key_buffer_size,
- psa_algorithm_t alg );
+ psa_algorithm_t alg);
/** Set the key for a multipart authenticated decryption operation.
*
@@ -232,7 +232,7 @@
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer,
size_t key_buffer_size,
- psa_algorithm_t alg );
+ psa_algorithm_t alg);
/** Set the nonce for an authenticated encryption or decryption operation.
*
@@ -265,7 +265,7 @@
psa_status_t mbedtls_psa_aead_set_nonce(
mbedtls_psa_aead_operation_t *operation,
const uint8_t *nonce,
- size_t nonce_length );
+ size_t nonce_length);
/** Declare the lengths of the message and additional data for AEAD.
*
@@ -306,7 +306,7 @@
psa_status_t mbedtls_psa_aead_set_lengths(
mbedtls_psa_aead_operation_t *operation,
size_t ad_length,
- size_t plaintext_length );
+ size_t plaintext_length);
/** Pass additional data to an active AEAD operation.
*
@@ -343,7 +343,7 @@
psa_status_t mbedtls_psa_aead_update_ad(
mbedtls_psa_aead_operation_t *operation,
const uint8_t *input,
- size_t input_length );
+ size_t input_length);
/** Encrypt or decrypt a message fragment in an active AEAD operation.
*
@@ -406,7 +406,7 @@
size_t input_length,
uint8_t *output,
size_t output_size,
- size_t *output_length );
+ size_t *output_length);
/** Finish encrypting a message in an AEAD operation.
*
@@ -479,7 +479,7 @@
size_t *ciphertext_length,
uint8_t *tag,
size_t tag_size,
- size_t *tag_length );
+ size_t *tag_length);
/** Abort an AEAD operation.
*
@@ -506,6 +506,6 @@
* Success.
*/
psa_status_t mbedtls_psa_aead_abort(
- mbedtls_psa_aead_operation_t *operation );
+ mbedtls_psa_aead_operation_t *operation);
#endif /* PSA_CRYPTO_AEAD_H */