Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20241126-WC_NO_COMPAT_AES_BLOCK_SIZE #8228

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion wolfssl/wolfcrypt/aes.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,15 @@ enum {
#endif

WC_AES_BLOCK_SIZE = 16,
#ifndef OPENSSL_COEXIST
#ifdef OPENSSL_COEXIST
/* allow OPENSSL_COEXIST applications to detect absence of AES_BLOCK_SIZE
* and presence of WC_AES_BLOCK_SIZE.
*
* if WC_NO_COMPAT_AES_BLOCK_SIZE is defined, WC_AES_BLOCK_SIZE is
* available, otherwise AES_BLOCK_SIZE is available.
*/
#define WC_NO_COMPAT_AES_BLOCK_SIZE
#else
#define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
#endif

Expand Down