diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 62150779c4..17154a427e 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -68,6 +68,7 @@ set(src_crypto psa_crypto_cipher.c psa_crypto_client.c psa_crypto_driver_wrappers.c + psa_crypto_driver_wrappers_no_static.c psa_crypto_ecp.c psa_crypto_ffdh.c psa_crypto_hash.c @@ -190,6 +191,7 @@ else() link_to_source(version_features.c) link_to_source(ssl_debug_helpers_generated.c) link_to_source(psa_crypto_driver_wrappers.c) + link_to_source(psa_crypto_driver_wrappers_no_static.c) endif() if(CMAKE_COMPILER_IS_GNUCC) diff --git a/library/Makefile b/library/Makefile index c3d8615cb0..3018c5bf4a 100644 --- a/library/Makefile +++ b/library/Makefile @@ -137,6 +137,7 @@ OBJS_CRYPTO= \ psa_crypto_cipher.o \ psa_crypto_client.o \ psa_crypto_driver_wrappers.o \ + psa_crypto_driver_wrappers_no_static.o \ psa_crypto_ecp.o \ psa_crypto_ffdh.o \ psa_crypto_hash.o \ diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 19ac68c234..4d3399deb9 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -34,6 +34,7 @@ #include "psa_crypto_core.h" #include "psa_crypto_invasive.h" #include "psa_crypto_driver_wrappers.c" +#include "psa_crypto_driver_wrappers.h" #include "psa_crypto_ecp.h" #include "psa_crypto_ffdh.h" #include "psa_crypto_hash.h"