Hi,
I am trying to use the MACRO's defined at - https://github.com/Mbed-TLS/mbedtls/blob/development/docs/driver-only-builds... to enable driver only build.
As mentioned on the page I tried to do this for SHA256. However, the code in sha256.c isn't ifdefed by "MBEDTLS_PSA_ACCEL_ALG_SHA_256" so still gets compiled ?
Can you point me to what I am missing here ?
Regards, Ruchika
Hi,
Looks like I was too quick in sending out the mail.
I found the issue, sha256.c is used for both SHA256 and SHA224. So, only if both of these are accelerated, the file will not get compiled.
Regards, Ruchika
From: Ruchika Gupta via mbed-tls mbed-tls@lists.trustedfirmware.org Sent: Friday, October 27, 2023 5:05 PM To: mbed-tls@lists.trustedfirmware.org Subject: [EXT] [mbed-tls] Driver only build option
Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button
Hi,
I am trying to use the MACRO's defined at - https://github.com/Mbed-TLS/mbedtls/blob/development/docs/driver-only-builds... to enable driver only build.
As mentioned on the page I tried to do this for SHA256. However, the code in sha256.c isn't ifdefed by "MBEDTLS_PSA_ACCEL_ALG_SHA_256" so still gets compiled ?
Can you point me to what I am missing here ?
Regards, Ruchika
mbed-tls@lists.trustedfirmware.org