Merge pull request #3908 from gilles-peskine-arm/sha512-doc-internal-fix-2.16

Backport 2.16: Move "internal use" sentence attached to the wrong function
This commit is contained in:
Ronald Cron 2020-11-27 08:52:11 +01:00 committed by GitHub
commit bc60d69153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,8 +152,7 @@ int mbedtls_sha512_update_ret( mbedtls_sha512_context *ctx,
/** /**
* \brief This function finishes the SHA-512 operation, and writes * \brief This function finishes the SHA-512 operation, and writes
* the result to the output buffer. This function is for * the result to the output buffer.
* internal use only.
* *
* \param ctx The SHA-512 context. This must be initialized * \param ctx The SHA-512 context. This must be initialized
* and have a hash operation started. * and have a hash operation started.
@ -169,6 +168,7 @@ int mbedtls_sha512_finish_ret( mbedtls_sha512_context *ctx,
/** /**
* \brief This function processes a single data block within * \brief This function processes a single data block within
* the ongoing SHA-512 computation. * the ongoing SHA-512 computation.
* This function is for internal use only.
* *
* \param ctx The SHA-512 context. This must be initialized. * \param ctx The SHA-512 context. This must be initialized.
* \param data The buffer holding one block of data. This * \param data The buffer holding one block of data. This