Commit Graph

899 Commits

Author SHA1 Message Date
Mahavir Jain 5b4d3c1cc5 Merge branch 'contrib/github_pr_18121' into 'master'
Set CMake CACHE variables for mbedtls correctly (GitHub PR)

Closes IDFGH-17095

See merge request espressif/esp-idf!45090
2026-01-14 15:42:26 +05:30
Ferdinand Bachmann 56c3be2604 fix(cmake): Set CACHE variables correctly
The syntax for setting cache variables is actually
set(<variable> <value> CACHE <type> <docstring>) and not
set(<variable> CACHE <type> <value>).

The previous code silently set the variables to the empty string.
2026-01-13 15:52:35 +01:00
morris 512b499e1b refactor: remove gdma_trigger_peripheral_t 2026-01-12 13:47:54 +08:00
Mahavir Jain 84e99ede1d Merge branch 'fix/aes-dma-psram-output-cache-operation-change' into 'master'
Cache invalidate the output buffer before the AES-DMA operation

See merge request espressif/esp-idf!44871
2026-01-09 10:26:42 +05:30
Mahavir Jain b996cef2b3 Merge branch 'feature/add_psa_md5_driver' into 'master'
feat: adds PSA MD5 driver support

Closes IDF-15029

See merge request espressif/esp-idf!44794
2026-01-09 10:06:58 +05:30
harshal.patil 488ee5dfbc fix(mbedtls/aes): Cache invalidate the output buffer before the AES-DMA operation
Instead of performing the cache-to-memory (C2M) operation on the output buffer,
even a cache invalidate (M2C) is sufficient to ensure that no write-back occurs
during the DMA write operation
2026-01-07 23:40:59 +05:30
morris 29b865dc07 Merge branch 'refactor/gdma_channel_allocator_both_direction' into 'master'
refactor(gdma): channel allocation can return both direction within the same call && Support ESP32-P4 ECO6

Closes IDF-14302 and IDF-14387

See merge request espressif/esp-idf!44456
2026-01-07 13:28:15 +08:00
Ashish Sharma 3d5775e22b feat: adds PSA MD5 driver support 2026-01-07 10:41:33 +08:00
Mahavir Jain d7c8dd166b Merge branch 'fix/fix_tee_example_gcm_build' into 'master'
fix: fixes failing tee_basic example build by allowing AES-GCM for all AES support targets

See merge request espressif/esp-idf!44825
2026-01-06 18:44:22 +05:30
Michael (XIAO Xufeng) c299c0b749 Merge branch 'refactor/remove_idf_test_component' into 'master'
refactor: Remove idf_test component

Closes IDF-12578

See merge request espressif/esp-idf!43733
2026-01-06 16:20:20 +08:00
Ashish Sharma 5f8570ef00 fix: fixes failing tee_basic example build 2026-01-06 16:15:54 +08:00
Mahavir Jain ad2a692c0b Merge branch 'fix/coap_dtls_build' into 'master'
fix(mbedtls): DTLS build issue due to missing timing APIs

See merge request espressif/esp-idf!44790
2026-01-06 10:22:02 +05:30
Mahavir Jain cf6dff90de fix(mbedtls): DTLS build issue due to missing timing APIs 2026-01-05 12:32:58 +05:30
morris fb1b53c7c5 refactor(gdma): channel allocation can return both direction within the same call 2026-01-04 15:39:38 +08:00
harshal.patil e91d50ed1e fix(mbedtls): Support partial hardware AES-GCM and s/w fallback for non-AES ciphers
- Support software-fallback for unsupported hardware AES lengths
2026-01-03 12:17:50 +05:30
Xiao Xufeng 73735f3e87 test: merge chip-specific performance data headers 2026-01-01 02:35:58 +08:00
Xiao Xufeng 438e07b30e refactor: Remove idf_test component
Split the idf_performance.h and target ver, which hold the performance
thresholds, into the headers of each testing.

In the past pytest also parse the common header to get the thresholds.
Now the logic is also removed. Performance thresholds are supposed to be
in the pytest scripts.
2026-01-01 02:26:42 +08:00
Laukik Hase 406ca9aa92 ci(esp_tee): Enable the tee_cli_app test-app for ESP32-H2
- Also set the RX burst size correctly for AES/SHA DMA operations
  with ESP-TEE
- Fix the compile-time minimum chip revision check for patching
  the `ets_delay_us` API
2025-12-30 16:03:43 +05:30
Ashish Sharma a9927b82b7 fix: fixes coverity reported warnings 2025-12-30 09:31:49 +05:30
Ashish Sharma 3374e0d943 fix(mbedtls): use ROM functions for md5 2025-12-30 09:31:49 +05:30
Mahavir Jain a6375c0db4 fix(mbedtls): misc updates post PSA crypto migration 2025-12-30 09:31:49 +05:30
Ashish Sharma 45966c2009 feat: update mbedTLS test apps to PSA APIs 2025-12-30 09:31:49 +05:30
Ashish Sharma 1d7c30c533 feat: adds PSA SHA crypto driver 2025-12-30 09:31:49 +05:30
Ashish Sharma 2ff47725c9 feat: adds PSA AES crypto driver 2025-12-30 09:31:49 +05:30
Ashish Sharma a8e2685085 feat: adds PSA non volatile storage driver 2025-12-30 09:31:49 +05:30
Ashish Sharma cbd925837e feat: migrates mbedtls port layer to PSA APIs 2025-12-30 09:31:49 +05:30
Ashish Sharma 65a21d4511 feat: migrates mbedtls/esp_tee to PSA APIs 2025-12-30 09:31:49 +05:30
Ashish Sharma 7f8ae482a8 feat: migrates esp_crt_bundle to PSA APIs 2025-12-30 09:31:49 +05:30
Ashish Sharma 7310184949 feat: migrates mbedtls to PSA APIs 2025-12-30 09:31:49 +05:30
Ashish Sharma e7e31d5d39 feat: migrates esp_tee to PSA APIs 2025-12-30 09:31:49 +05:30
harshal.patil 35b305f916 fix(mbedlts/aes): Ensure cache coherency when DMA writes to cacheable PSRAM buffers 2025-12-26 12:26:36 +05:30
Song Ruo Jing 74aeb3f41f refactor(uart): split UART HAL into separate component 2025-12-25 14:41:28 +08:00
Mahavir Jain a943fb10fd Merge branch 'test/run_mbedtls_hw_aes_sha_tests_only_if_enabled' into 'master'
Run mbedtls HW tests only if HW enabled

Closes IDFCI-7505 and IDF-13524

See merge request espressif/esp-idf!44241
2025-12-18 10:52:09 +05:30
Mahavir Jain 9adbef7374 Merge branch 'feat/enable_ecdsa_support_for_esp32p4_eco5' into 'master'
feat(esp32p4_eco5): enabled ECDSA peripheral support for ESP32P4 ECO5

Closes IDF-13522, IDF-13744, IDF-12235, and IDF-13523

See merge request espressif/esp-idf!43023
2025-12-16 17:30:45 +05:30
nilesh.kale 2267558b15 feat: enabled ECDSA peripheral support for ESSP32-P4 2025-12-16 11:48:06 +05:30
harshal.patil bf16835aa1 test(mbedtls): Run mbedtls HW tests only if HW enabled 2025-12-16 10:05:25 +05:30
morris 291554cd09 refactor(global): remove completed todos in the codebase 2025-12-15 22:40:15 +08:00
harshal.patil 2f3fdba22f fix(mbedtls/aes): Reallocate buffers only if in external RAM 2025-12-12 14:44:24 +05:30
harshal.patil 37251c2ce2 test(mbedtls): add more tests for alignment, buffer size related
- Also, enabled Flash Encryption enabled tests for ESP32-C5
- Removed ESP32-P4 specific configs, as those configs are set as default now
2025-12-12 14:44:22 +05:30
C.S.M e3eaee53e2 Merge branch 'ci/esp32s31_build_ena' into 'master'
ci(esp32s31): Add ci build test for esp32s31

See merge request espressif/esp-idf!44045
2025-12-12 14:59:42 +08:00
C.S.M f405e51784 ci(esp32s31): Add ci build test for esp32s31 2025-12-11 15:17:15 +08:00
Espressif BOT b49f2fde91 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2025-12-09 11:27:07 +05:30
Mahavir Jain 7f53bb4883 Merge branch 'feat/support_ecdsa_p384_tee_sec_stg' into 'master'
feat(esp_tee): Support ECDSA `secp384r1` keys in TEE secure storage

See merge request espressif/esp-idf!41298
2025-12-08 13:33:29 +05:30
Igor Udot 84d2b57df9 Merge branch 'ci/check_build_test_rules' into 'master'
ci: fix mismatch in check_build_test_rules

Closes CII-49 and CII-50

See merge request espressif/esp-idf!43937
2025-12-05 11:56:39 +08:00
Konstantin Kondrashov 1ff8d3da09 Merge branch 'feature/update_depends_components_for_core_components' into 'master'
feat(all): Update depends_components for core components

Closes IDF-14170, IDF-14165, IDF-14173, IDF-14167, IDF-14169, and IDF-14162

See merge request espressif/esp-idf!43735
2025-12-04 18:17:55 +08:00
igor.udot 8c233aa9bd ci: temp_skip_ci for p4 2025-12-04 18:08:33 +08:00
Laukik Hase 90d6394911 feat(esp_tee): Support ECDSA secp384r1 keys in TEE secure storage 2025-12-04 11:16:29 +05:30
Mahavir Jain 788d146b9e Merge branch 'feat/add_mbedtls_testcases_for_ecc_p_384' into 'master'
feat(mbedtls): add ECC P-384 mbedtls support and test_cases

See merge request espressif/esp-idf!43827
2025-12-04 11:14:05 +05:30
Mahavir Jain 01d0a9b17b Merge branch 'fix/recursion_caused_due_to_unaligned_ext_mem_buf' into 'master'
AES driver should use internal buffers to perform chunk wise operations when external buffers are unaligned

Closes IDF-14872

See merge request espressif/esp-idf!43810
2025-12-02 20:44:03 +05:30
Mahavir Jain 43c7f36475 Merge branch 'feature/add_mbedtls_4_x_config_option' into 'master'
feat: add Kconfig option for mbedTLS 4.x support

See merge request espressif/esp-idf!43799
2025-12-02 20:43:20 +05:30