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

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

View file

@ -131,8 +131,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.
@ -148,6 +147,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