@@ -105,9 +105,9 @@ void mbedtls_sha512_clone( mbedtls_sha512_context *dst,
105
105
* \param is384 Determines which function to use. This must be
106
106
* either \c 0 for SHA-512, or \c 1 for SHA-384.
107
107
*
108
- * \note When MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must be
109
- * 0, or the function will return
110
- * MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
108
+ * \note When \c MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must
109
+ * be \c 0, or the function will return
110
+ * # MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
111
111
*
112
112
* \return \c 0 on success.
113
113
* \return A negative error code on failure.
@@ -176,8 +176,8 @@ int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
176
176
* \param is384 Determines which function to use. This must be either
177
177
* \c 0 for SHA-512 or \c 1 for SHA-384.
178
178
*
179
- * \note When MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must be
180
- * 0, or the function will fail to work.
179
+ * \note When \c MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must
180
+ * be \c 0, or the function will fail to work.
181
181
*/
182
182
MBEDTLS_DEPRECATED void mbedtls_sha512_starts ( mbedtls_sha512_context * ctx ,
183
183
int is384 );
@@ -248,9 +248,9 @@ MBEDTLS_DEPRECATED void mbedtls_sha512_process(
248
248
* \param is384 Determines which function to use. This must be either
249
249
* \c 0 for SHA-512, or \c 1 for SHA-384.
250
250
*
251
- * \note When MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must be
252
- * 0, or the function will return
253
- * MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
251
+ * \note When \c MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must
252
+ * be \c 0, or the function will return
253
+ * # MBEDTLS_ERR_SHA512_BAD_INPUT_DATA.
254
254
*
255
255
* \return \c 0 on success.
256
256
* \return A negative error code on failure.
@@ -287,8 +287,8 @@ int mbedtls_sha512_ret( const unsigned char *input,
287
287
* \param is384 Determines which function to use. This must be either
288
288
* \c 0 for SHA-512, or \c 1 for SHA-384.
289
289
*
290
- * \note When MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must be
291
- * 0, or the function will fail to work.
290
+ * \note When \c MBEDTLS_SHA512_NO_SHA384 is defined, \p is384 must
291
+ * be \c 0, or the function will fail to work.
292
292
*/
293
293
MBEDTLS_DEPRECATED void mbedtls_sha512 ( const unsigned char * input ,
294
294
size_t ilen ,
0 commit comments