Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
82f38d5e
Commit
82f38d5e
authored
Oct 01, 2020
by
Olivier Deprez
Committed by
TrustedFirmware Code Review
Oct 01, 2020
Browse files
Merge "Crypto library: Migrate support to MbedTLS v2.24.0" into integration
parents
428518c6
ea14b51b
Changes
3
Hide whitespace changes
Inline
Side-by-side
docs/getting_started/prerequisites.rst
View file @
82f38d5e
...
...
@@ -60,7 +60,7 @@ supporting tools:
The following libraries are required for Trusted Board Boot support:
- mbed TLS == 2.
18
.0 (tag: ``mbedtls-2.
18
.0``)
- mbed TLS == 2.
24
.0 (tag: ``mbedtls-2.
24
.0``)
These tools are optional:
...
...
drivers/auth/mbedtls/mbedtls_common.mk
View file @
82f38d5e
#
# Copyright (c) 2015-2020, A
RM
Limited
and Contributors
. All rights reserved.
# Copyright (c) 2015-2020, A
rm
Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
...
...
@@ -35,7 +35,6 @@ LIBMBEDTLS_SRCS := $(addprefix ${MBEDTLS_DIR}/library/, \
bignum.c
\
gcm.c
\
md.c
\
md_wrap.c
\
pk.c
\
pk_wrap.c
\
pkparse.c
\
...
...
include/drivers/auth/mbedtls/mbedtls_config.h
View file @
82f38d5e
/*
* Copyright (c) 2015-20
19
, A
RM
Limited
and Contributors
. All rights reserved.
* Copyright (c) 2015-20
20
, A
rm
Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -63,6 +63,7 @@
#define MBEDTLS_ECDSA_C
#define MBEDTLS_ECP_C
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
#define MBEDTLS_ECP_NO_INTERNAL_RNG
#endif
#if TF_MBEDTLS_USE_RSA
#define MBEDTLS_RSA_C
...
...
@@ -101,6 +102,12 @@
/* Memory buffer allocator options */
#define MBEDTLS_MEMORY_ALIGN_MULTIPLE 8
/*
* Prevent the use of 128-bit division which
* creates dependency on external libraries.
*/
#define MBEDTLS_NO_UDBL_DIVISION
#ifndef __ASSEMBLER__
/* System headers required to build mbed TLS with the current configuration */
#include <stdlib.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment