Commit Graph
1065 Commits
Author SHA1 Message Date
harshal.patil 4ab9ac1ccd fix(mbedtls): Make the driver define macros public to allow application access
- Also, use the PSA HMAC opaque key interface for HMAC-PBKDF2
2026-01-31 13:30:55 +05:30
harshal.patil 7750c40c45 feat(mbedlts/hmac): Support HMAC(MD5) using the MD5 driver 2026-01-31 00:45:12 +05:30
harshal.patil be73538452 change(mbedtls): Remove legacy headers 2026-01-31 00:45:12 +05:30
harshal.patil ae459b5204 feat(mbedtls): Introduce ESP-HMAC PSA opaque driver 2026-01-31 00:45:11 +05:30
harshal.patil 53072bfa9d fix(mbedtls): Enable h/w accel for CMAC and HMAC operations
- Refactor ESP-MAC drivers
2026-01-31 00:45:11 +05:30
harshal.patil f18b893e7a fix(mbedtls/ecdsa): Improve build time efuse validation checks in the ecdsa driver 2026-01-29 23:07:34 +05:30
Ashish Sharma c0a224bffc fix: Skip writing to esp-idf directory when tfpsacrypto is built
Closes https://github.com/espressif/esp-idf/issues/18163
2026-01-27 11:25:27 +08:00
igor.udot 4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
morris 35bdd8c651 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-22 14:14:14 +08:00
Aditya Patwardhan eb4a871eca refactor(esp_hal_security): Updated esp_hal_security build and includes 2026-01-21 10:02:44 +05:30
harshal.patil acb71bc858 feat(esp_tee): Support deterministic ECDSA signatures for ESP-TEE based keys 2026-01-19 09:14:37 +05:30
harshal.patil e9ea55bea2 feat(mbedtls/ecdsa): Introduce PSA ECDSA driver 2026-01-19 09:14:37 +05:30
Mahavir Jain 2948a46371 Merge branch 'refactor/tee_sec_stg_remove_r192' into 'master'
refactor(esp_tee): Remove support for ECDSA `secp192r1` keys in TEE secure storage

See merge request espressif/esp-idf!45118
2026-01-18 18:24:04 +05:30
Laukik Hase 2d1b8de05e feat(esp_tee): Remove unused components from the PSA Crypto library 2026-01-16 17:53:16 +05:30
Laukik Hase 85681d7586 refactor(esp_tee): Remove support for ECDSA secp192r1 keys in TEE secure storage 2026-01-16 17:53:16 +05:30
Laukik Hase 89f555d698 feat(esp_tee): Migrate TEE attestation to the PSA interface 2026-01-16 12:28:57 +05:30
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