mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-13 04:13:45 +00:00
Add return info to sha256 docs
Signed-off-by: Aaron Erhardt <aaron.erhardt@t-online.de>
This commit is contained in:
parent
a5a2399cb0
commit
9bb56dc6be
@ -167,6 +167,9 @@ int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx,
|
|||||||
* for SHA-256, \c 28 bytes for SHA-224.
|
* for SHA-256, \c 28 bytes for SHA-224.
|
||||||
* \param is224 Determines which function to use. This must be
|
* \param is224 Determines which function to use. This must be
|
||||||
* either \c 0 for SHA-256, or \c 1 for SHA-224.
|
* either \c 0 for SHA-256, or \c 1 for SHA-224.
|
||||||
|
*
|
||||||
|
* \return \c 0 on success.
|
||||||
|
* \return A negative error code on failure.
|
||||||
*/
|
*/
|
||||||
int mbedtls_sha256( const unsigned char *input,
|
int mbedtls_sha256( const unsigned char *input,
|
||||||
size_t ilen,
|
size_t ilen,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user