Hi,
I've noticed that when using the CC310 hardware accelerated cryptographic backend the call to nrf_crypto_hash_compute() seems to return an error (not supported) despite using a supported hash, SHA256. This seems to be related to this check:
The hash_algorithm_get function will always return 0 if it is successful though because NRF_SUCCESS is 0, as shown:
Should the line therefore be negated?
`