From 75246c0beaa1d62ae82bd7c5851abcaba2a2de75 Mon Sep 17 00:00:00 2001 From: Thomas Daubney Date: Mon, 17 Jun 2024 16:50:32 +0100 Subject: [PATCH] Remove irrelevant documentation notes Signed-off-by: Thomas Daubney --- include/mbedtls/mbedtls_config.h | 5 ----- tf-psa-crypto/drivers/builtin/include/mbedtls/cmac.h | 6 ------ 2 files changed, 11 deletions(-) diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h index 3afc99b485..9b616de8e4 100644 --- a/include/mbedtls/mbedtls_config.h +++ b/include/mbedtls/mbedtls_config.h @@ -2483,11 +2483,6 @@ * Enable the CMAC (Cipher-based Message Authentication Code) mode for block * ciphers. * - * \note When the underlying implementation of the CMAC algorithm is provided - * by an alternate implementation, that alternate implementation may opt - * to not support AES-192 or 3DES as underlying block ciphers for the CMAC - * operation. - * * Module: library/cmac.c * * Requires: MBEDTLS_CIPHER_C, MBEDTLS_AES_C or MBEDTLS_DES_C diff --git a/tf-psa-crypto/drivers/builtin/include/mbedtls/cmac.h b/tf-psa-crypto/drivers/builtin/include/mbedtls/cmac.h index 0fa08e404c..03179a2a90 100644 --- a/tf-psa-crypto/drivers/builtin/include/mbedtls/cmac.h +++ b/tf-psa-crypto/drivers/builtin/include/mbedtls/cmac.h @@ -79,12 +79,6 @@ struct mbedtls_cmac_context_t { * To start a CMAC computation using the same key as a previous * CMAC computation, use mbedtls_cipher_cmac_finish(). * - * \note When the CMAC implementation is supplied by an alternate - * implementation (through a PSA driver), some ciphers - * may not be supported by that implementation, and thus - * return an error. Alternate implementations must support - * AES-128 and AES-256, and may support AES-192 and 3DES. - * * \param ctx The cipher context used for the CMAC operation, initialized * as one of the following types: MBEDTLS_CIPHER_AES_128_ECB, * MBEDTLS_CIPHER_AES_192_ECB, MBEDTLS_CIPHER_AES_256_ECB,