summaryrefslogtreecommitdiff
path: root/drivers/auth
diff options
context:
space:
mode:
authorIsla Mitchell <isla.mitchell@arm.com>2017-07-11 14:54:08 +0100
committerIsla Mitchell <isla.mitchell@arm.com>2017-07-12 14:45:31 +0100
commit2a4b4b71ba8a14148708719077d80889faa6f47b (patch)
treea6c11e34542ef63da6276bacc68590e765fdeaae /drivers/auth
parentca5ba394cab0c4e7c5621a50a7bd270cb64cec97 (diff)
Fix order of #includes
This fix modifies the order of system includes to meet the ARM TF coding standard. There are some exceptions in order to retain header groupings, minimise changes to imported headers, and where there are headers within the #if and #ifndef statements. Change-Id: I65085a142ba6a83792b26efb47df1329153f1624 Signed-off-by: Isla Mitchell <isla.mitchell@arm.com>
Diffstat (limited to 'drivers/auth')
-rw-r--r--drivers/auth/cryptocell/cryptocell_crypto.c4
-rw-r--r--drivers/auth/mbedtls/mbedtls_crypto.c1
-rw-r--r--drivers/auth/tbbr/tbbr_cot.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/drivers/auth/cryptocell/cryptocell_crypto.c b/drivers/auth/cryptocell/cryptocell_crypto.c
index 05462bea..80c10933 100644
--- a/drivers/auth/cryptocell/cryptocell_crypto.c
+++ b/drivers/auth/cryptocell/cryptocell_crypto.c
@@ -5,8 +5,8 @@
*/
#include <arch_helpers.h>
-#include <crypto_mod.h>
#include <crypto_driver.h>
+#include <crypto_mod.h>
#include <debug.h>
#include <mbedtls_common.h>
#include <platform_def.h>
@@ -16,8 +16,8 @@
#include <secureboot_gen_defs.h>
#include <stddef.h>
#include <string.h>
-#include <utils.h>
#include <util.h>
+#include <utils.h>
#include <mbedtls/oid.h>
diff --git a/drivers/auth/mbedtls/mbedtls_crypto.c b/drivers/auth/mbedtls/mbedtls_crypto.c
index b157a32e..d8810d6d 100644
--- a/drivers/auth/mbedtls/mbedtls_crypto.c
+++ b/drivers/auth/mbedtls/mbedtls_crypto.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-
#include <crypto_mod.h>
#include <debug.h>
#include <mbedtls_common.h>
diff --git a/drivers/auth/tbbr/tbbr_cot.c b/drivers/auth/tbbr/tbbr_cot.c
index e88c7c26..a9a4b37f 100644
--- a/drivers/auth/tbbr/tbbr_cot.c
+++ b/drivers/auth/tbbr/tbbr_cot.c
@@ -6,12 +6,14 @@
#include <auth_mod.h>
#include <platform_def.h>
+#include <stddef.h>
+
#if USE_TBBR_DEFS
#include <tbbr_oid.h>
#else
#include <platform_oid.h>
#endif
-#include <stddef.h>
+
/*
* Maximum key and hash sizes (in DER format)