Hello, i want to use SHA-256 to encrypt a Payload of my outgoing MQTT Messages.
I started to modify the NRF9160 MQTT Example. To test the encryption i copied Code from the sha256 Example.
The psa_crypto_init() will succeed but when i try to use psa_hash_compute with PSA_ALG_SHA256 i get the Error Code -134 which corresponds to "PSA_ERROR_NOT_SUPPORTED".
To fix this i tried to modify the prj.conf with configs i found in other Devzone Threads but it wont change the outcome.
Appreciate any Help
Philipp