From 7de19ddaf50fc310b3170f36b6cf45ceecb0d26e Mon Sep 17 00:00:00 2001 From: Mateusz Starzyk Date: Wed, 27 Oct 2021 11:25:08 +0200 Subject: [PATCH] Remove invalid comments in CCM API Signed-off-by: Mateusz Starzyk --- include/mbedtls/ccm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/mbedtls/ccm.h b/include/mbedtls/ccm.h index 0dc5b5968..1be1689df 100644 --- a/include/mbedtls/ccm.h +++ b/include/mbedtls/ccm.h @@ -208,7 +208,6 @@ int mbedtls_ccm_encrypt_and_tag( mbedtls_ccm_context *ctx, size_t length, * at least \p ad_len Bytes. * \param ad_len The length of additional data in Bytes. * This must be less than 2^16 - 2^8. - * For tag length = 0, AD length can be 0. * \param input The buffer holding the input data. If \p length is greater * than zero, \p input must be a readable buffer of at least * that length. @@ -291,7 +290,6 @@ int mbedtls_ccm_auth_decrypt( mbedtls_ccm_context *ctx, size_t length, * at least that \p ad_len Bytes. * \param ad_len The length of additional data in Bytes. * This must be less than 2^16 - 2^8. - * For tag length = 0, AD length can be 0. * \param input The buffer holding the input data. If \p length is greater * than zero, \p input must be a readable buffer of at least * that length.