Apologies, I am clearly not awake yet, you clearly mean SHA3 not SHA2.
I am not unfortunately aware of the plans on this front.
Regards,
Paul
On Thu, 2023-04-27 at 07:58 +0000, Paul Elliott via psa-crypto wrote: Hi Nilesh,
What version of MbedTLS are you using? Both SHA256 and SHA384 are supported in the latest version, but you also need to ensure that they are configured in, i.e PSA_WANT_ALG_SHA_256 and/or PSA_WANT_ALG_SHA_384 are set in /include/psa/crypto_config.h (or any specific psa config file you are using) otherwise the relevant code will not be included, and you will see the above result.
Regards,
Paul.
On Wed, 2023-04-26 at 18:18 +0000, Nilesh.Badodekar--- via psa-crypto wrote:
Hi Can anyone address this? Are there plans to support SHA3 (256 and 384) for Hashing and Hmac? Either in psa-crypto?
status =psa_hash_setup(&hash_operation, PSA_ALG_SHA3_256);
Above function returns with a not supported error
Thanks!
- Regards Nilesh