mbedtls_sha512_finish_ret() function
This function finishes the SHA-512 operation, and writes the result to the output buffer. This function is for internal use only.
Arguments
ctx
The SHA-512 context. This must be initialized and have a hash operation started.
output
The SHA-384 or SHA-512 checksum result. This must be a writable buffer of length \c 64 Bytes.
Return value
\c 0 on success. A negative error code on failure.
mbedtls_sha512_finish_ret() is called by 6 functions and calls 1 function:
![]()
mbedtls_sha512_finish_ret()
mbedtls_sha512_finish_ret() reads 4 variables:
![]()
mbedtls_sha512_finish_ret()