aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/auth
diff options
context:
space:
mode:
authorMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-03-05 18:18:40 -0600
committerMadhukar Pappireddy <madhukar.pappireddy@arm.com>2020-03-08 00:33:10 -0600
commit93ee27998020f3580ba5da075d6c9b1e9ab14263 (patch)
tree6153603f6f134eb0d44784a573e05069aba24c8f /drivers/auth
parent03ea84c345e990cc6a188fbed508985461278cbb (diff)
downloadplatform_external_arm-trusted-firmware-93ee27998020f3580ba5da075d6c9b1e9ab14263.tar.gz
platform_external_arm-trusted-firmware-93ee27998020f3580ba5da075d6c9b1e9ab14263.tar.bz2
platform_external_arm-trusted-firmware-93ee27998020f3580ba5da075d6c9b1e9ab14263.zip
Necessary fix in drivers to upgrade to mbedtls-2.18.0
Include x509.h header file explicitly. Update docs. Change-Id: If2e52c2cd3056654406b7b6779b67eea5cc04a48 Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Diffstat (limited to 'drivers/auth')
-rw-r--r--drivers/auth/cryptocell/712/cryptocell_crypto.c3
-rw-r--r--drivers/auth/mbedtls/mbedtls_crypto.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/auth/cryptocell/712/cryptocell_crypto.c b/drivers/auth/cryptocell/712/cryptocell_crypto.c
index 25eb6bcb6..9112c927c 100644
--- a/drivers/auth/cryptocell/712/cryptocell_crypto.c
+++ b/drivers/auth/cryptocell/712/cryptocell_crypto.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -22,6 +22,7 @@
#include <lib/utils.h>
#include <mbedtls/oid.h>
+#include <mbedtls/x509.h>
#define LIB_NAME "CryptoCell 712 SBROM"
#define RSA_SALT_LEN 32
diff --git a/drivers/auth/mbedtls/mbedtls_crypto.c b/drivers/auth/mbedtls/mbedtls_crypto.c
index 04fbc648b..4c6dc0fcc 100644
--- a/drivers/auth/mbedtls/mbedtls_crypto.c
+++ b/drivers/auth/mbedtls/mbedtls_crypto.c
@@ -12,6 +12,7 @@
#include <mbedtls/memory_buffer_alloc.h>
#include <mbedtls/oid.h>
#include <mbedtls/platform.h>
+#include <mbedtls/x509.h>
#include <common/debug.h>
#include <drivers/auth/crypto_mod.h>