We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29dc0f5 commit c6df620Copy full SHA for c6df620
1 file changed
wolfssl/wolfcrypt/aes.h
@@ -189,7 +189,15 @@ enum {
189
#endif
190
191
WC_AES_BLOCK_SIZE = 16,
192
-#ifndef OPENSSL_COEXIST
+#ifdef OPENSSL_COEXIST
193
+ /* allow OPENSSL_COEXIST applications to detect absence of AES_BLOCK_SIZE
194
+ * and presence of WC_AES_BLOCK_SIZE.
195
+ *
196
+ * if WC_NO_COMPAT_AES_BLOCK_SIZE is defined, WC_AES_BLOCK_SIZE is
197
+ * available, otherwise AES_BLOCK_SIZE is available.
198
+ */
199
+ #define WC_NO_COMPAT_AES_BLOCK_SIZE
200
+#else
201
#define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
202
203
0 commit comments