diff --git a/components/mbedtls/component.mk b/components/mbedtls/component.mk index 00e3d20bf0..97565b0983 100644 --- a/components/mbedtls/component.mk +++ b/components/mbedtls/component.mk @@ -89,10 +89,6 @@ WRAP_FUNCTIONS = mbedtls_ssl_handshake_client_step \ COMPONENT_SRCDIRS += port/dynamic endif -ifdef CONFIG_MBEDTLS_HARDWARE_MPI -WRAP_FUNCTIONS += mbedtls_mpi_exp_mod -endif - ifneq ($(origin WRAP_FUNCTIONS),undefined) WRAP_ARGUMENT := -Wl,--wrap= COMPONENT_ADD_LDFLAGS = -l$(COMPONENT_NAME) $(addprefix $(WRAP_ARGUMENT),$(WRAP_FUNCTIONS))