harshal.patil
945ad6ea5d
ci(mbedtls): Enable PSRAM-related tests for ESP32-P4 and ESP32-C5
2024-08-30 17:19:12 +05:30
Mahavir Jain
f477682938
Merge branch 'feature/remove_aes_rsa_ds_hmac_spport_for_c61' into 'master'
...
feat: remove suppport for AES, RSA, DS and HMAC in esp32c61
Closes IDF-9326, IDF-9328, IDF-9323, and IDF-9325
See merge request espressif/esp-idf!31798
2024-08-08 17:15:06 +08:00
Laukik Hase
e8477fb894
feat(mbedtls): Extend the esp_sha
API to support SHA224 operations
2024-08-07 10:03:11 +05:30
nilesh.kale
e74dcb1fab
feat: remove support for aes and rsa peripherals in esp32c61
2024-08-06 15:06:16 +05:30
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Aditya Patwardhan
d0a23799e8
feat(mbedtls): Added support for using ECDSA key through key manager
2024-04-01 14:37:12 +05:30
harshal.patil
70ef80d974
feat(mbedtls/ecdsa): Add support for deterministic ECDSA signature generation
2024-03-29 12:14:11 +05:30
harshal.patil
c4f052cee4
feat(mbedtls/aes): Satisfy L1 cache alignment for AES-GCM DMA operations
2024-03-26 11:38:33 +05:30
harshal.patil
83dd60307f
feat(mbedtls/esp_crypto_shared_gdma): support AXI-DMA in the crypto shared gdma layer
...
- In case of AXI-DMA, the DMA descriptors need to be 8 bytes aligned
lldesc_t do not satify this condition thus we need to replace it with
dma_descriptor_t (align(4) and align(8)) in esp_crypto_shared_gdma.
- Added new shared gdma start API that supports the dma_descriptor_t
DMA descriptor.
- Added some generic dma descriptor macros and helper functions
- replace lldesc_t with dma_descriptor_t
2024-03-13 15:22:06 +05:30
nilesh.kale
f6a7fb13cd
feat: re enables tests on p4
...
This commit re-enables mbedtls and hal/crypto testapos on p4.
2024-03-05 17:48:05 +08:00
harshal.patil
a21a16f34f
ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations
2024-02-23 10:47:30 +05:30
Marius Vikhammer
a792c24b2a
ci(mbedtls): remove duplicated build-rules
2024-01-16 17:14:12 +08:00
Armando
3c5a4f9e8a
ci(p4): added todo jira for disabled tests on p4
2024-01-04 09:36:38 +08:00
Armando
907b876354
ci(p4): temporarily disable failed ci tests on p4
2024-01-04 09:36:06 +08:00
Darian Leung
8c2949a97e
change(xtensa): Deprecate ".../xtensa_timer.h" include path
...
This commit deprecates the "freertos/xtensa_timer.h" and "xtensa/xtensa_timer.h"
include paths. Users should use "xtensa_timer.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
harshal.patil
d3be7bda05
fix(mbedtls): move interrupt allocation during initialization phase
2023-11-06 11:20:53 +05:30
Marius Vikhammer
77bb19c49e
ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults
2023-11-01 01:14:00 +00:00
Jiang Guang Ming
e882782f0d
feat(mbedtls): add new option CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls pytest
2023-10-23 13:10:44 +08:00
harshal.patil
4c0dd8388b
feat(mbedtls): Integrate the ecdsa export public key feature in mbedtls
2023-09-06 11:07:40 +05:30
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Mahavir Jain
224a308fd5
ci(test): add SHA DMA mode test for large data in PSRAM
...
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-07-28 14:23:02 +05:30
harshal.patil
eb3dab8af4
ci(mbedtls): added a test for the mbedtls_internal_shaX_process API
2023-07-14 04:08:30 +00:00
Aditya Patwardhan
56f15ab017
Merge branch 'fix/mpi_incorrect_assert' into 'master'
...
fix(mbedtls): Fix incorrect assert for H/W MPI operations
Closes WIFI-5591 and IDFGH-10615
See merge request espressif/esp-idf!24737
2023-07-14 08:59:10 +08:00
Laukik Hase
20a3fcae48
fix(mbedtls): Fix incorrect assert for H/W MPI operations
...
- Closes https://github.com/espressif/esp-idf/issues/11850
2023-07-13 14:52:00 +05:30
Jiang Guang Ming
01b71b0978
fix(mbedtls): sha test will fail when run twice
2023-07-13 00:00:16 -07:00
morris
56a376c696
feat(esp_gdma): add hal interface for common operations
...
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Marius Vikhammer
6d11c37ff1
core-system: trim build components for core-system test apps
2023-06-13 09:14:42 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Mahavir Jain
f7a01d8f90
aes: fix DMA descriptor calculation for the alignment case
...
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.
This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.
Test has also been added to cover the specific scenario in the CI.
Closes https://github.com/espressif/esp-idf/issues/11310
2023-05-31 14:19:58 +05:30
Cao Sen Miao
0f83970368
ci: Delete ccomp_timer in IDF(witch has been moved to component manager)
2023-05-15 14:58:51 +08:00
Sachin Parekh
39a5604c29
mbedtls/ecdsa: Add ECDSA signature generation test
2023-04-07 14:55:21 +05:30
Sachin Parekh
d2940c5ff3
mbedtls: Add port layer for ECDSA peripheral
2023-03-24 10:43:40 +05:30
harshal.patil
6b8bc64f31
test: enable mbedtls esp_crt_bundle test for esp32h2
2023-03-13 12:00:01 +05:30
Laukik Hase
47c153ad9e
mbedtls/test_apps: Fix performance logs
...
- For esp32-c2, the `CONFIG_NEWLIB_NANO_FORMAT` is enabled by
default which does not allow printing `int64_t` values
- Copied these values to a `uint32_t` variable for printing
them properly
2023-02-24 12:26:21 +05:30
Laukik Hase
9f0435faa4
mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF
2023-02-21 18:45:25 +05:30
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Laukik Hase
d4abf3ff45
mbedtls: Remove -Wno-format
compile option for test app
2023-02-08 12:31:09 +05:30
harshal.patil
6206c1e213
mbedtls: enable RSA support for esp32c6
2023-02-03 11:46:42 +05:30
Sachin Parekh
b060179400
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-01-18 14:24:57 +05:30
Aditya Patwardhan
634e408ca4
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values' into 'master'
...
mbedtls/port: refactor sanity checks and their return values
Closes IDF-3810
See merge request espressif/esp-idf!21987
2023-01-17 19:21:52 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
harshal.patil
5ee1e97e6f
mbedtls: added a test of different auth-tag lengths in AES-GCM
2023-01-16 15:04:08 +05:30
Harshit Malpani
49ce5ada76
ci: Fix ci failures for target esp32c6
2023-01-04 11:20:52 +05:30
LiPeng
5c93fe47cb
mbedtls: GCM implementation is replaced with CTR-based calculation
...
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
- which could not make good use of the AES DMA function to improve efficiency.
- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2022-12-28 12:14:29 +05:30
harshal.patil
e0f31edab5
test_aes_gcm: fix output_size paramter in mbedtls_get_update()
...
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2022-12-28 11:33:09 +05:30
harshal.patil
c15b36b9c4
mbedtls: populate mbedtls_gcm_update() output_length paramater
2022-12-28 11:33:09 +05:30