wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
Aditya Patwardhan
79b21fb624
feat(hal): Add crypto tests for key manager
...
Added test to verify exporting of ECDSA public key
Added test to verify XTS_AES in random mode
Added pytest test case for testing ECDH0 mode for XTS_128 and XTS_256 key
Add test for ECDSA key in ECDH0 mode
Update the key manager hal based tests
Update key manager tests to add ECDH0 workflow
2024-06-28 18:41:01 +05:30
Aditya Patwardhan
e5fcc2d315
fix(hal): Fixed crypto test app
...
Previously the crypto test app was not verifying
that the no of failures is 0.
Added the check to verify that
2024-06-28 18:41:01 +05:30
Mahavir Jain
e1499ddde3
fix(hal): correct the power up sequence for MPI/ECC peripherals in ESP32-C5
2024-06-21 09:42:57 +08:00
C.S.M
b0f2205f70
feat(i2c): Add i2c support on esp32c5 mp
2024-06-18 10:37:36 +08:00
laokaiyao
1933973f99
feat(hal_utils): added float to fixed point function
2024-06-03 23:41:48 +08:00
nilesh.kale
46c0902fd6
feat: enabled hmac and ds peripheral support for c5
...
This commit add support for HMAC and DS peripheral support for ESP32-C5.
2024-05-28 10:44:54 +05:30
harshal.patil
1c21eb367e
fix(hal/test_apps): Fix build failure of the crypto hal test app for ESP32-P4
...
- Add bootloader_support component in its priv_requires as we use source files from mbedtls
2024-05-14 11:53:44 +05:30
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Mahavir Jain
999f3f69c0
Merge branch 'esp32p4/deterministic_ecdsa_support' into 'master'
...
Add deterministic ECDSA support
Closes IDF-8507
See merge request espressif/esp-idf!29010
2024-04-01 16:45:14 +08:00
harshal.patil
272633bde1
fix(mbedtls/ecdsa): Fix dependant peripheral's enable and reset
2024-03-29 12:40:13 +05:30
harshal.patil
cd98dfc3fd
feat(hal): Add LL and HAL layer support for deterministic ECDSA
2024-03-29 12:14:11 +05:30
harshal.patil
95fac15698
feat(hal/ecdsa): Add HAL API for operation successful check
2024-03-29 12:14:11 +05:30
morris
8e64a59fac
refactor(periph_ctrl): remove orphaned clk_gate_ll.h
...
and deprecate the legacy periph_module_xxx functions for new targets
2024-03-29 10:53:05 +08:00
harshal.patil
22857529dd
ci(hal/crypto): Update crypto test app to use SHA-DMA process API from mbedtls
2024-03-27 11:23:30 +05:30
harshal.patil
9cd10e196b
feat(hal/sha): use RCC atomic block to enable/reset the SHA peripheral
2024-03-27 11:23:30 +05:30
Mahavir Jain
cd47cf46dc
Merge branch 'esp32p4/add_aes_support' into 'master'
...
feat: add AES support for ESP32-P4
Closes IDF-6519
See merge request espressif/esp-idf!26429
2024-03-15 11:43:22 +08:00
harshal.patil
e8268d8b6b
feat(hal/aes): use RCC atomic block to enable/reset the AES peripheral
2024-03-13 15:22:07 +05:30
harshal.patil
9b15189583
change(mbedtls): replace Cache ROM APIs usage with APIs from esp_cache.h
...
- Only APIs used in esp_crypto_shared_gdma and aes have been replaced
- Get dcache line size using cache api instead of Kconfig
2024-03-13 15:22:07 +05:30
harshal.patil
2c570ed53b
change(mbedtls/aes): moved esp_aes_internal.h to be a private header
...
- Also enable AES-GCM test in the hal crypto test app for all targets
2024-03-13 15:22:06 +05:30
wuzhenghui
92849e660e
fix(mbedtls): fixing ecdsa's dependence on ecc_mult clock
2024-03-12 10:10:42 +08:00
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
Mahavir Jain
afbed25c6f
Merge branch 'bugfix/update_crypto_test_apps_for_sha' into 'master'
...
fix(hal/test_apps): update sha testcases flow
See merge request espressif/esp-idf!29050
2024-02-29 11:58:05 +08:00
Marius Vikhammer
ffd62352de
Merge branch 'ci/test_limit_main_cleanup' into 'master'
...
ci(test_apps): limit dependencies for misc test_apps
See merge request espressif/esp-idf!29088
2024-02-21 09:26:25 +08:00
nilesh.kale
7ce39ffa8a
fix(hal/test_apps): update sha testcases flow
...
This commit updates the flow of sha testcases.
Previously, DMA test cases were still executed even after disabling the related feature.
2024-02-20 11:53:58 +05:30
Marius Vikhammer
1f7c666701
ci(test_apps): limit dependencies for misc test_apps
...
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-18 16:01:58 +08:00
nilesh.kale
aab3f604ec
feat(hal/testapps): Added AES and SHA testcases with DMA support
2024-02-09 14:23:06 +05:30
Jakub Kocka
0b00e49ac5
fix: Fixed KConfig files that were not succesfully checked
2024-02-02 14:13:45 +01:00
Cao Sen Miao
62a0efdd7c
feat(i2c): Add pure hal i2c master driver example
2024-01-31 11:47:14 +08:00
KonstantinKondrashov
b471d9d22c
change(all): Clearing unused efuse rom headers
2024-01-22 18:02:55 +02:00
nilesh.kale
36ab1c681c
fix(hal/testapps): fix block number to burn keys to avoid overlapping
2023-12-07 14:47:26 +05:30
Mahavir Jain
f9501f6ea9
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-15 09:42:26 +05:30
morris
e92a1515be
feat(hal): add util function to reverse a 8bit byte
2023-10-18 09:48:14 +08:00
Mahavir Jain
6b62065b92
Merge branch 'fix/crypto_periphs_use_rcc_atomic_blocks' into 'master'
...
Use rcc atomic blocks to enable/reset crypto peripherals
See merge request espressif/esp-idf!25811
2023-10-13 22:37:58 +08:00
harshal.patil
57d10477da
feat(ecdsa): use RCC atomic block to enable/reset the ECDSA peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
43864f7fb4
feat(ds): use RCC atomic block to enable/reset the DS peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
18b93e9564
feat(hmac): use RCC atomic block to enable/reset the HMAC peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
1c6ff8ce9f
feat(ecc): use RCC atomic block to enable/reset the ECC peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
c5cc4f488a
feat(mpi): use RCC atomic block to enable/reset the MPI peripheral
2023-10-11 14:59:03 +05:30
harshal.patil
3483cf61aa
fix(esp_hw_support/esp_ds): remove enabling redundant peripherals
2023-10-11 14:59:03 +05:30
morris
66497af276
feat(hal): enable hal host test
2023-10-11 11:23:24 +08:00
laokaiyao
dd4072a80c
refactor(hal): use hal utils to calculate clock division
2023-09-20 23:33:25 +08:00
nilesh.kale
1a18fdb83a
feat(hal): Adding AES snd SHA peripheral to crypto testapps
2023-09-15 15:29:30 +05:30
harshal.patil
cc32fbb302
ci(hal): add test for export public key mode of the ecdsa peripheral
2023-09-06 11:07:40 +05:30
harshal.patil
21c3549800
ci(hal): add support for 4096 bits size digital signature hal test
2023-09-01 15:44:21 +05:30
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
harshal.patil
7d4e69d5fa
hal: minor fixes needed in the crypto hal test app
2023-06-01 11:37:36 +05:30
harshal.patil
21c6d5392f
hal: add ecdsa peripheral verification tests
2023-05-22 15:19:34 +05:30
harshal.patil
7330851db0
hal: add digital signature peripheral verification tests
...
- also renamed the security test app to crypto test app
2023-05-22 15:19:34 +05:30
harshal.patil
9b27fa73a7
hal: add hmac peripheral verification tests
2023-05-22 15:19:34 +05:30