From c22de4aebaf5e31be5c906882ab3cbda97287fe1 Mon Sep 17 00:00:00 2001 From: Chien Wong Date: Wed, 26 Jun 2024 21:38:53 +0800 Subject: [PATCH] Revert "Clarify output_length in mbedtls_gcm_update()" This reverts commit e01b539222d462cabc6ecc927f3d2eb1e7e18615. Signed-off-by: Chien Wong --- tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h b/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h index 764b7c9cb4..c27f2dc74b 100644 --- a/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h +++ b/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h @@ -278,8 +278,7 @@ 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, which equals - * to \p input_length. + * length of the output written in \p output. * On failure, the content of \p *output_length is * unspecified. *