Clarify output_length in mbedtls_gcm_update()

Signed-off-by: Chien Wong <m@xv97.com>
This commit is contained in:
Chien Wong 2023-09-26 22:33:05 +08:00 committed by Harry Ramsey
parent 2328f9ea9e
commit 591f98e039

View File

@ -278,7 +278,8 @@ int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx,
* of at least \p output_size bytes.
* \param output_size The size of the output buffer in bytes.
* \param output_length On success, \p *output_length contains the actual
* length of the output written in \p output.
* length of the output written in \p output, which equals
* to \p input_length.
* On failure, the content of \p *output_length is
* unspecified.
*