From 3d7d52c2edba82ec109e533379727099b3073deb Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Wed, 1 Sep 2021 10:33:14 +0100 Subject: [PATCH] Formatting fixes Signed-off-by: Paul Elliott --- library/psa_crypto.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index c2b318cca..b335aa37c 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3553,7 +3553,7 @@ psa_status_t psa_aead_set_nonce( psa_aead_operation_t *operation, goto exit; } - if( operation->nonce_set ) + if( operation->nonce_set ) { status = PSA_ERROR_BAD_STATE; goto exit; @@ -3612,7 +3612,8 @@ exit: return( status ); } - /* Pass additional data to an active multipart AEAD operation. */ + +/* Pass additional data to an active multipart AEAD operation. */ psa_status_t psa_aead_update_ad( psa_aead_operation_t *operation, const uint8_t *input, size_t input_length )