mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-31 00:32:50 +00:00
Make the formatting of numbers consistent
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
d7b3d92476
commit
96d6e08717
@ -128,7 +128,7 @@ int mbedtls_sha256_update_ret( mbedtls_sha256_context *ctx,
|
|||||||
* and have a hash operation started.
|
* and have a hash operation started.
|
||||||
* \param output The SHA-224 or SHA-256 checksum result.
|
* \param output The SHA-224 or SHA-256 checksum result.
|
||||||
* This must be a writable buffer of length \c 32 bytes
|
* This must be a writable buffer of length \c 32 bytes
|
||||||
* for SHA-256, 28 bytes for SHA-224.
|
* for SHA-256, \c 28 bytes for SHA-224.
|
||||||
*
|
*
|
||||||
* \return \c 0 on success.
|
* \return \c 0 on success.
|
||||||
* \return A negative error code on failure.
|
* \return A negative error code on failure.
|
||||||
@ -166,7 +166,7 @@ int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx,
|
|||||||
* \param ilen The length of the input data in Bytes.
|
* \param ilen The length of the input data in Bytes.
|
||||||
* \param output The SHA-224 or SHA-256 checksum result.
|
* \param output The SHA-224 or SHA-256 checksum result.
|
||||||
* This must be a writable buffer of length \c 32 bytes
|
* This must be a writable buffer of length \c 32 bytes
|
||||||
* for SHA-256, 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.
|
||||||
*/
|
*/
|
||||||
|
@ -135,7 +135,7 @@ int mbedtls_sha512_update_ret( mbedtls_sha512_context *ctx,
|
|||||||
* and have a hash operation started.
|
* and have a hash operation started.
|
||||||
* \param output The SHA-384 or SHA-512 checksum result.
|
* \param output The SHA-384 or SHA-512 checksum result.
|
||||||
* This must be a writable buffer of length \c 64 bytes
|
* This must be a writable buffer of length \c 64 bytes
|
||||||
* for SHA-512, 48 bytes for SHA-384.
|
* for SHA-512, \c 48 bytes for SHA-384.
|
||||||
*
|
*
|
||||||
* \return \c 0 on success.
|
* \return \c 0 on success.
|
||||||
* \return A negative error code on failure.
|
* \return A negative error code on failure.
|
||||||
@ -173,7 +173,7 @@ int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
|
|||||||
* \param ilen The length of the input data in Bytes.
|
* \param ilen The length of the input data in Bytes.
|
||||||
* \param output The SHA-384 or SHA-512 checksum result.
|
* \param output The SHA-384 or SHA-512 checksum result.
|
||||||
* This must be a writable buffer of length \c 64 bytes
|
* This must be a writable buffer of length \c 64 bytes
|
||||||
* for SHA-512, 48 bytes for SHA-384.
|
* for SHA-512, \c 48 bytes for SHA-384.
|
||||||
* \param is384 Determines which function to use. This must be either
|
* \param is384 Determines which function to use. This must be either
|
||||||
* \c 0 for SHA-512, or \c 1 for SHA-384.
|
* \c 0 for SHA-512, or \c 1 for SHA-384.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user