Fix check_names error for MBEDTLS_GCM_ALT comment

This commit fixes an issue with check_names failing due to not being
defined as a macro in Mbed TLS. This is instead defined by alternative
implementations of MBEDTLS_GCM.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
This commit is contained in:
Harry Ramsey 2024-11-12 19:58:24 +00:00
parent 8ad56b822b
commit 6a91defd42

View File

@ -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 * \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 * buffer \p input. If \p output is greater than \p input, they
* cannot overlap. Implementations which require * cannot overlap. Implementations which require
* MBEDTLS_GCM_ALT to be enabled may not provide support for * MBEDTLS_GCM_ALT //no-check-names to be enabled may not
* overlapping buffers. * provide support for overlapping buffers.
* *
* \param ctx The GCM context. This must be initialized. * \param ctx The GCM context. This must be initialized.
* \param length The length of the ciphertext to decrypt, which is also * \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 * \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 * buffer \p input. If \p output is greater than \p input, they
* cannot overlap. Implementations which require * cannot overlap. Implementations which require
* MBEDTLS_GCM_ALT to be enabled may not provide support for * MBEDTLS_GCM_ALT //no-check-names to be enabled may not
* overlapping buffers. * provide support for overlapping buffers.
* *
* \param ctx The GCM context. This must be initialized. * \param ctx The GCM context. This must be initialized.
* \param input The buffer holding the input data. If \p input_length * \param input The buffer holding the input data. If \p input_length