20241221-wolfCrypt-more-AES_BLOCK_SIZE #8310
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
wolfssl/wolfcrypt/aes.h: fix stray reference to
AES_BLOCK_SIZE
in def forGHASH_ONE_BLOCK()
.In
wolfcrypt/src/port/
andIDE/
, replace remaining uses ofAES_BLOCK_SIZE
withWC_AES_BLOCKSIZE
for compatibility withOPENSSL_COEXIST
.Automated replacement with
Checked for mis-transformations with
Checked for residual hits with
Deliberately excluded:
ChangeLog.md
-- do not alter history.doc/
-- do not confuse documentation with newly prefixed macro, becauseAES_BLOCK_SIZE
is available unless-DOPENSSL_COEXIST
.tests/api.c
-- the unit tests deliberately use compatibility names, and are not compatible with-DOPENSSL_COEXIST
(tests/unit.h
expressly undefines it).wrapper/CSharp/wolfSSL_CSharp/wolfCrypt.cs
-- false positive hits on C# names.wrapper/CSharp/wolfCrypt-Test/wolfCrypt-Test.cs
-- false positive hits on C# names.wolfssl/wolfcrypt/aes.h
that definesAES_BLOCK_SIZE
when-UOPENSSL_COEXIST
.wolfssl/wolfcrypt/settings.h
that definesWC_AES_BLOCK_SIZE
for old FIPS when-UWC_AES_BLOCK_SIZE
.Tested with
wolfssl-multi-test.sh ... check-source-text quantum-safe-wolfssl-all-g++-latest-debug quantum-safe-wolfssl-all-cppcheck clang-tidy-all-sp-all sanitizer-all-intelasm-c-fallback-fuzzer
Note, this PR extends the work merged in #8265.