diff --git a/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h b/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h index 692a0f9657..37d07d8207 100644 --- a/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h +++ b/tf-psa-crypto/drivers/builtin/include/mbedtls/gcm.h @@ -175,8 +175,8 @@ int mbedtls_gcm_crypt_and_tag(mbedtls_gcm_context *ctx, * \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. Implementations which require - * MBEDTLS_GCM_ALT to be enabled may not provide support for - * overlapping buffers. + * MBEDTLS_GCM_ALT //no-check-names to be enabled may not + * provide support for overlapping buffers. * * \param ctx The GCM context. This must be initialized. * \param length The length of the ciphertext to decrypt, which is also @@ -285,8 +285,8 @@ int mbedtls_gcm_update_ad(mbedtls_gcm_context *ctx, * \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. Implementations which require - * MBEDTLS_GCM_ALT to be enabled may not provide support for - * overlapping buffers. + * MBEDTLS_GCM_ALT //no-check-names to be enabled may not + * provide support for overlapping buffers. * * \param ctx The GCM context. This must be initialized. * \param input The buffer holding the input data. If \p input_length