mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-14 01:25:28 -04:00
Fix notes for is384 parameter
Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
parent
1af28f9b47
commit
425e23ed64
@ -101,8 +101,8 @@ void mbedtls_sha512_clone( mbedtls_sha512_context *dst,
|
|||||||
* \param is384 Determines which function to use. This must be
|
* \param is384 Determines which function to use. This must be
|
||||||
* either \c 0 for SHA-512, or \c 1 for SHA-384.
|
* either \c 0 for SHA-512, or \c 1 for SHA-384.
|
||||||
*
|
*
|
||||||
* \note When \c MBEDTLS_SHA384_C is defined,
|
* \note When \c MBEDTLS_SHA384_C is not defined,
|
||||||
* \p is384 must be \c 1, or the function will return
|
* \p is384 must be \c 0, or the function will return
|
||||||
* #MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
|
* #MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
|
||||||
*
|
*
|
||||||
* \return \c 0 on success.
|
* \return \c 0 on success.
|
||||||
@ -175,8 +175,8 @@ int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
|
|||||||
* \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.
|
||||||
*
|
*
|
||||||
* \note When \c MBEDTLS_SHA384_C is defined, \p is384 must
|
* \note When \c MBEDTLS_SHA384_C is not defined, \p is384 must
|
||||||
* be \c 1, or the function will return
|
* be \c 0, or the function will return
|
||||||
* #MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
|
* #MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
|
||||||
*
|
*
|
||||||
* \return \c 0 on success.
|
* \return \c 0 on success.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user