From d0abfbf3f3416a82d4879234ecf22e30e08195b5 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Mon, 15 Jan 2018 16:00:31 -0700 Subject: [PATCH] turn on AES Direct if AES-CFB is enabled --- wolfssl/wolfcrypt/settings.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 6e9001291..49f10b2c4 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -1405,6 +1405,12 @@ extern void uITRON4_free(void *p) ; #define WOLFSSL_AES_DIRECT #endif #endif + #ifdef WOLFSSL_AES_CFB + /* AES-CFB makes calls to AES direct functions */ + #ifndef WOLFSSL_AES_DIRECT + #define WOLFSSL_AES_DIRECT + #endif + #endif #endif /* if desktop type system and fastmath increase default max bits */