Dear Everyone,
We followed the deprecation note about the mbedTLS 2 and we did an update to mbedTLS3. We found out that NXP has two repositories of mbedTLS.
(ver 2.x deprecated)
https://github.com/nxp-mcuxpresso/mbedtls
(ver 3.x)
https://github.com/NXP/nxp_mbedtls
We found it by reading through the yaml file which sdk uses - we're wondering if we'll lose performance if we choose ver 3x and won't use PSA API?
Version 2 provided a set of alternate functions through port/ksdk which could be used to delegate cryptographic operations to CAAM driver like ksdk_mbedtls:
https://github.com/nxp-mcuxpresso/mbedtls/blob/release/25.06.00/port/ksdk/ksdk_mbedtls.c
We use raw CAAM driver through fsl_caam for aes256 encryption and we would like to use mbedtls to generate a pair of ecdsa keys. Our goal is to have mbedTLS3 and delegate all possible jobs to CAAM hardware - if anyone knows an application note/port done or a guideline on how to design such it would be great.
Thank you for any support