Improved AES comment

Signed-off-by: Thomas Daubney <[email protected]>
This commit is contained in:
Thomas Daubney
2024-07-12 16:15:55 +01:00
parent ebeef1508a
commit 478efd7fd1
+3 -2
View File
@@ -1860,8 +1860,9 @@ int mbedtls_aes_self_test(int verbose)
/*
* AES-192 is an optional feature that may be unavailable when
* there is an alternative underlying implementation such as a
* PSA driver.
* there is an alternative underlying implementation i.e when
* MBEDTLS_AES_SETKEY_ENC_ALT or MBEDTLS_AES_SETKEY_DEC_ALT
* are defined.
*/
if (ret == MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED && keybits == 192) {
mbedtls_printf("skipped\n");