mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fix formatting issues
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
@@ -3396,7 +3396,7 @@ psa_status_t psa_aead_decrypt( mbedtls_svc_key_id_t key,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Helper function to get the base algorithm from its variants. */
|
/* Helper function to get the base algorithm from its variants. */
|
||||||
static psa_algorithm_t psa_aead_get_base_algorithm(psa_algorithm_t alg)
|
static psa_algorithm_t psa_aead_get_base_algorithm( psa_algorithm_t alg )
|
||||||
{
|
{
|
||||||
return PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG( alg );
|
return PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG( alg );
|
||||||
}
|
}
|
||||||
@@ -3487,7 +3487,7 @@ psa_status_t psa_aead_decrypt_setup( psa_aead_operation_t *operation,
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( operation->nonce_set || operation->lengths_set ||
|
if( operation->nonce_set || operation->lengths_set ||
|
||||||
operation->ad_started || operation->body_started )
|
operation->ad_started || operation->body_started )
|
||||||
{
|
{
|
||||||
status = PSA_ERROR_BAD_STATE;
|
status = PSA_ERROR_BAD_STATE;
|
||||||
|
Reference in New Issue
Block a user