Update comment to only apply to AES-192
Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
diff --git a/library/cmac.c b/library/cmac.c
index 35cca16..06f8eec 100644
--- a/library/cmac.c
+++ b/library/cmac.c
@@ -783,8 +783,8 @@
{
/* 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 @@
{
/* 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 ) {