Lines Matching refs:port

13 set(mbedtls_include_dirs "port/include" "mbedtls/include" "mbedtls/library")
16 list(APPEND mbedtls_include_dirs "port/mbedtls_rom")
93 set(include_dirs "${COMPONENT_DIR}/port/include")
103 include_directories("${COMPONENT_DIR}/port/mbedtls_rom")
109 # Use port specific implementation of net_socket.c instead of one from mbedtls
133 set(mbedtls_target_sources "${COMPONENT_DIR}/port/mbedtls_debug.c"
134 "${COMPONENT_DIR}/port/esp_platform_time.c")
138 "${COMPONENT_DIR}/port/dynamic/esp_mbedtls_dynamic_impl.c"
139 "${COMPONENT_DIR}/port/dynamic/esp_ssl_cli.c"
140 "${COMPONENT_DIR}/port/dynamic/esp_ssl_srv.c"
141 "${COMPONENT_DIR}/port/dynamic/esp_ssl_tls.c")
145 set(mbedtls_target_sources ${mbedtls_target_sources} "${COMPONENT_DIR}/port/net_sockets.c")
158 list(APPEND mbedtls_target_sources "${COMPONENT_DIR}/port/net_sockets.c")
163 # Add port files to mbedtls targets
187 target_include_directories(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/sha/dma/include")
190 set(SHA_DMA_SRCS "${COMPONENT_DIR}/port/sha/dma/esp_sha_crypto_dma_impl.c")
192 set(SHA_DMA_SRCS "${COMPONENT_DIR}/port/sha/dma/esp_sha_gdma_impl.c")
200 set(AES_DMA_SRCS "${COMPONENT_DIR}/port/aes/dma/esp_aes_crypto_dma_impl.c")
202 set(AES_DMA_SRCS "${COMPONENT_DIR}/port/aes/dma/esp_aes_gdma_impl.c"
203 "${COMPONENT_DIR}/port/crypto_shared_gdma/esp_crypto_shared_gdma.c")
206 target_include_directories(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/aes/dma/include")
211 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/esp_hardware.c"
212 "${COMPONENT_DIR}/port/esp_mem.c"
213 "${COMPONENT_DIR}/port/esp_timing.c"
217 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/aes/esp_aes_xts.c"
218 "${COMPONENT_DIR}/port/aes/esp_aes_common.c"
219 "${COMPONENT_DIR}/port/aes/${AES_PERIPHERAL_TYPE}/esp_aes.c"
224 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/sha/esp_sha.c"
225 "${COMPONENT_DIR}/port/sha/${SHA_PERIPHERAL_TYPE}/sha.c"
231 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/esp_ds/esp_rsa_sign_alt.c")
239 # The other port-specific files don't override internal mbedTLS functions, they just add new functi…
242 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/esp_bignum.c"
243 "${COMPONENT_DIR}/port/${idf_target}/bignum.c"
248 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/sha/${SHA_PERIPHERAL_TYPE}/esp_sha1.c"
249 … "${COMPONENT_DIR}/port/sha/${SHA_PERIPHERAL_TYPE}/esp_sha256.c"
250 … "${COMPONENT_DIR}/port/sha/${SHA_PERIPHERAL_TYPE}/esp_sha512.c"
255 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/aes/esp_aes_gcm.c")
259 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/ecc/esp_ecc.c"
260 "${COMPONENT_DIR}/port/ecc/ecc_alt.c")
264 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/ecdsa/ecdsa_alt.c")
282 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/md/esp_md.c")
286 target_sources(mbedcrypto PRIVATE "${COMPONENT_DIR}/port/mbedtls_rom/mbedtls_rom_osi.c")