adjust indentation per Mbed TLS standards
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 9ad44e7..bb74c26 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -959,9 +959,9 @@
}
operation->alg = 0;
- operation->key_set = 0;
- operation->iv_set = 0;
- operation->iv_required = 0;
+ operation->key_set = 0;
+ operation->iv_set = 0;
+ operation->iv_required = 0;
operation->has_input = 0;
return( PSA_SUCCESS );
@@ -979,9 +979,9 @@
const mbedtls_cipher_info_t *cipher_info = NULL;
operation->alg = 0;
- operation->key_set = 0;
- operation->iv_set = 0;
- operation->iv_required = 1;
+ operation->key_set = 0;
+ operation->iv_set = 0;
+ operation->iv_required = 1;
operation->has_input = 0;
status = psa_get_key_information( key, &key_type, &key_bits );
@@ -1358,7 +1358,7 @@
return ( PSA_ERROR_INVALID_ARGUMENT );
}
ret = mbedtls_cipher_set_padding_mode( &operation->ctx.cipher, mode );
- if( ret != 0 )
+ if (ret != 0)
return( mbedtls_to_psa_error( ret ) );
}
#endif //MBEDTLS_CIPHER_MODE_WITH_PADDING
@@ -1413,7 +1413,7 @@
exit:
if( ret != PSA_SUCCESS )
- psa_cipher_abort( operation );
+ psa_cipher_abort( operation );
return( ret );
}
@@ -1478,7 +1478,7 @@
return( mbedtls_to_psa_error( ret ) );
}
- return ( PSA_SUCCESS );
+ return( PSA_SUCCESS );
}
psa_status_t psa_cipher_abort(psa_cipher_operation_t *operation)