Fix for KCAPI AES with WOLFSSL_NO_KCAPI_AES_CBC.

This commit is contained in:
David Garske
2022-03-29 12:50:28 -07:00
parent 1abcd4b035
commit d10e72bc98

View File

@ -1065,7 +1065,7 @@ block cipher mechanism that uses n-bit binary string parameter key with 128-bits
#if defined(WOLFSSL_AES_COUNTER) || defined(HAVE_AESCCM) || \ #if defined(WOLFSSL_AES_COUNTER) || defined(HAVE_AESCCM) || \
defined(WOLFSSL_CMAC) || defined(WOLFSSL_AES_OFB) || \ defined(WOLFSSL_CMAC) || defined(WOLFSSL_AES_OFB) || \
defined(WOLFSSL_AES_CFB) || defined(HAVE_AES_ECB) || \ defined(WOLFSSL_AES_CFB) || defined(HAVE_AES_ECB) || \
defined(HAVE_AES_CBC) (defined(HAVE_AES_CBC) && defined(WOLFSSL_NO_KCAPI_AES_CBC))
#define NEED_AES_TABLES #define NEED_AES_TABLES
#endif #endif