From c7da6a48dd799004629961d55d640e957124c64e Mon Sep 17 00:00:00 2001 From: Steven Cooreman Date: Fri, 29 Jan 2021 11:09:50 +0100 Subject: [PATCH] Update comment to only apply to AES-192 Signed-off-by: Steven Cooreman --- library/cmac.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/cmac.c b/library/cmac.c index 35cca1672..06f8eec0d 100644 --- a/library/cmac.c +++ b/library/cmac.c @@ -783,8 +783,8 @@ static int cmac_test_subkeys( int verbose, { /* When CMAC is implemented by an alternative implementation, or * the underlying primitive itself is implemented alternatively, - * certain features (e.g. AES-192) may be unavailable. This should - * not cause the selftest function to fail. */ + * AES-192 may be unavailable. This should not cause the selftest + * function to fail. */ if( ( ret == MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED || ret == MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE ) && cipher_type == MBEDTLS_CIPHER_AES_192_ECB ) { @@ -867,8 +867,8 @@ static int cmac_test_wth_cipher( int verbose, { /* When CMAC is implemented by an alternative implementation, or * the underlying primitive itself is implemented alternatively, - * certain features (e.g. AES-192) may be unavailable. This should - * not cause the selftest function to fail. */ + * AES-192 may be unavailable. This should not cause the selftest + * function to fail. */ if( ( ret == MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED || ret == MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE ) && cipher_type == MBEDTLS_CIPHER_AES_192_ECB ) {