Skip to content

Conversation

@MaochenWang1
Copy link
Contributor

The MBEDTLS_PSA_ACCEL_xxx macro means it will not enable the SW/Builtin implementation of the feature. The PSA_WANT_xxx macro means it will enable the PSA-API usage of the feature, and can use SW or HW acceleration. If enable the MBEDTLS_PSA_ACCEL_xxx macros, during psa_crypto_init, mbedtls_psa_hash_setup will failed, as the macro MBEDTLS_PSA_BUILTIN_ALG_SHA_512 is undefined. Remove the marco of MBEDTLS_PSA_ACCEL_xxx can enable maco MBEDTLS_PSA_BUILTIN_ALG_xxx, and fix the supp_psa_crypto_init fail and Wi-Fi connection failed issue.
Fix #81025

The MBEDTLS_PSA_ACCEL_xxx macro means it will not enable the SW/Builtin
implementation of the feature. The PSA_WANT_xxx macro means it will
enable the PSA-API usage of the feature, and can use SW or HW
acceleration. If enable the MBEDTLS_PSA_ACCEL_xxx macros, during
psa_crypto_init, mbedtls_psa_hash_setup will failed, as the macro
MBEDTLS_PSA_BUILTIN_ALG_SHA_512 is undefined. Remove the marco of
MBEDTLS_PSA_ACCEL_xxx can enable maco MBEDTLS_PSA_BUILTIN_ALG_xxx,
and fix the supp_psa_crypto_init fail and Wi-Fi connection failed issue.

Signed-off-by: Maochen Wang <[email protected]>
@zephyrbot zephyrbot added the size: XS A PR changing only a single line of code label Nov 11, 2024
@zephyrbot
Copy link

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_nxp zephyrproject-rtos/hal_nxp@c410b73 zephyrproject-rtos/hal_nxp@3c64cd6 (master) zephyrproject-rtos/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@MaochenWang1
Copy link
Contributor Author

Hi @dleach02 @danieldegrasse @mmahadevan108
please review this update, hal_nxp change to fix #81025 is not included for RC3.

@dleach02 dleach02 self-assigned this Nov 12, 2024
@mmahadevan108 mmahadevan108 merged commit d9ef4b7 into zephyrproject-rtos:main Nov 12, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manifest manifest-hal_nxp size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

samples: wifi: board_frdm_rw612 fails to connect to WiFi APs, Entropy failed to Init

4 participants