psa_hash_compute() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

#PSA_SUCCESS Success. #PSA_ERROR_NOT_SUPPORTED \p alg is not supported or is not a hash algorithm. #PSA_ERROR_INVALID_ARGUMENT \emptydescription #PSA_ERROR_BUFFER_TOO_SMALL \p hash_size is too small #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription #PSA_ERROR_COMMUNICATION_FAILURE \emptydescription #PSA_ERROR_HARDWARE_FAILURE \emptydescription #PSA_ERROR_CORRUPTION_DETECTED \emptydescription #PSA_ERROR_BAD_STATE The library has not been previously initialized by psa_crypto_init(). It is implementation-dependent whether a failure to initialize results in this error code.

Notes

To verify the hash of a message against an expected value, use psa_hash_compare() instead.

References

from examples