From 2328f9ea9ea16ce513b1b6345ea47af8bef434c8 Mon Sep 17 00:00:00 2001 From: Chien Wong Date: Tue, 26 Sep 2023 22:29:36 +0800 Subject: [PATCH] Remove outdated doc on mbedtls_gcm_update() Signed-off-by: Chien Wong --- .../drivers/builtin/include/mbedtls/gcm.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h b/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h index e620be7ba..c27f2dc74 100644 --- a/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h +++ b/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h @@ -264,22 +264,6 @@ int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx, * decrypt. After the last part of the input, call * mbedtls_gcm_finish(). * - * This function may produce output in one of the following - * ways: - * - Immediate output: the output length is always equal - * to the input length. - * - Buffered output: the output consists of a whole number - * of 16-byte blocks. If the total input length so far - * (not including associated data) is 16 \* *B* + *A* - * with *A* < 16 then the total output length is 16 \* *B*. - * - * In particular: - * - It is always correct to call this function with - * \p output_size >= \p input_length + 15. - * - If \p input_length is a multiple of 16 for all the calls - * to this function during an operation, then it is - * correct to use \p output_size = \p input_length. - * * \note The output buffer \p output can be the same as the input * buffer \p input. If \p output is greater than \p input, they * cannot overlap. @@ -293,7 +277,6 @@ int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx, * is greater than zero, this must be a writable buffer of * of at least \p output_size bytes. * \param output_size The size of the output buffer in bytes. - * See the function description regarding the output size. * \param output_length On success, \p *output_length contains the actual * length of the output written in \p output. * On failure, the content of \p *output_length is