From 52118189da539dcd1a2937eff272a10c97a7a7e1 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 18 May 2021 20:38:33 +0200 Subject: [PATCH] Fix copypasta in the description of mbedtls_gcm_update_ad Signed-off-by: Gilles Peskine --- include/mbedtls/gcm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/gcm.h b/include/mbedtls/gcm.h index 7218081e3c..78f2a438ff 100644 --- a/include/mbedtls/gcm.h +++ b/include/mbedtls/gcm.h @@ -240,8 +240,9 @@ int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, size_t iv_len ); /** - * \brief This function starts a GCM encryption or decryption - * operation. + * \brief This function feeds an input buffer as associated data + * (authenticated but not encrypted data) in a GCM + * encryption or decryption operation. * * \note This function may only be called once per operation: * you must pass the whole associated data in a single