mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-09 10:14:11 +00:00
Move back timing.c to mbedtls
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
18047f0b01
commit
6924564970
@ -30,6 +30,7 @@ set(src_tls
|
||||
ssl_tls13_server.c
|
||||
ssl_tls13_client.c
|
||||
ssl_tls13_generic.c
|
||||
timing.c
|
||||
version.c
|
||||
version_features.c
|
||||
)
|
||||
|
@ -186,7 +186,6 @@ OBJS_CRYPTO= \
|
||||
$(TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH)/sha512.o \
|
||||
$(TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH)/sha3.o \
|
||||
$(TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH)/threading.o \
|
||||
$(TF_PSA_CRYPTO_DRIVERS_BUILTIN_SRC_PATH)/timing.o \
|
||||
# This line is intentionally left blank
|
||||
|
||||
THIRDPARTY_DIR := $(MBEDTLS_PATH)/tf-psa-crypto/drivers
|
||||
@ -227,6 +226,7 @@ OBJS_TLS= \
|
||||
ssl_tls13_client.o \
|
||||
ssl_tls13_server.o \
|
||||
ssl_tls13_generic.o \
|
||||
timing.o \
|
||||
version.o \
|
||||
version_features.o \
|
||||
# This line is intentionally left blank
|
||||
|
@ -5,7 +5,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include "ssl_misc.h"
|
||||
|
||||
#if defined(MBEDTLS_TIMING_C)
|
||||
|
@ -4,6 +4,7 @@ set(libs
|
||||
|
||||
set(executables_libs
|
||||
metatest
|
||||
query_compile_time_config
|
||||
query_included_headers
|
||||
selftest
|
||||
udp_proxy
|
||||
@ -13,7 +14,6 @@ add_dependencies(${ssl_opt_target} udp_proxy)
|
||||
|
||||
set(executables_mbedcrypto
|
||||
benchmark
|
||||
query_compile_time_config
|
||||
zeroize
|
||||
)
|
||||
add_dependencies(${programs_target} ${executables_mbedcrypto})
|
||||
|
@ -20,6 +20,8 @@ foreach(exe IN LISTS executables)
|
||||
endforeach()
|
||||
|
||||
target_link_libraries(cert_app ${mbedtls_target})
|
||||
# For mbedtls_timing_get_timer()
|
||||
target_link_libraries(load_roots ${mbedtls_target})
|
||||
|
||||
install(TARGETS ${executables}
|
||||
DESTINATION "bin"
|
||||
|
@ -220,6 +220,7 @@ def include_in_crypto(name):
|
||||
'MBEDTLS_DEBUG_C', # part of libmbedtls
|
||||
'MBEDTLS_NET_C', # part of libmbedtls
|
||||
'MBEDTLS_PKCS7_C', # part of libmbedx509
|
||||
'MBEDTLS_TIMING_C', # part of libmbedtls
|
||||
'MBEDTLS_ERROR_C', # part of libmbedx509
|
||||
'MBEDTLS_ERROR_STRERROR_DUMMY', # part of libmbedx509
|
||||
]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user