Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mcux: middleware: fix supp_psa_crypto_init failed
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]>
- Loading branch information