STM32_Bare_Test: crypto-callback HW AES/ECDSA targets - #16
Open
dgarske wants to merge 10 commits into
Open
Conversation
dgarske
force-pushed
the
stm32_cubemx_aes_cb
branch
from
July 22, 2026 17:27
17cb7aa to
1f300ff
Compare
dgarske
force-pushed
the
stm32_cubemx_aes_cb
branch
from
July 22, 2026 17:55
1f300ff to
50426e6
Compare
dgarske
force-pushed
the
stm32_cubemx_aes_cb
branch
from
July 31, 2026 18:15
302730f to
ed9f1ef
Compare
dgarske
force-pushed
the
stm32_cubemx_aes_cb
branch
from
August 3, 2026 21:05
ed9f1ef to
625f87c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
STM32_Bare_Test targets exercising the STM32 crypto-callback hardware AES/ECDSA work on real NUCLEO boards. Companion to wolfSSL PR wolfSSL/wolfssl#10970 (required to build).
Targets
cubeaes-- CubeMX AES-GCM crypto-callback KAT underWOLF_CRYPTO_CB_ONLY_AES(McGrew TC3/TC4).cubecrypto-- CubeMX HW ECDSA sign + verify + tamper-reject via the PKA, plus CCB and AES, underWOLF_CRYPTO_CB_ONLY_ECC+_AES(the customer configuration).aesplain-- plaintext-key AES vs DHUK-seed AES, both registered and selected perAesby devId: a plaintext AES-GCM KAT (whole-block + AAD/partial-block) and coexistence (same key bytes -> distinct ciphertext per devId). SAES+DHUK boards.plaingcm-- directwc_Stm32_Aes_GcmHW AES-GCM encrypt + decrypt KAT with no software fallback, confirming the bare HW GCM engine on both the CRYP IP and TinyAES parts.Testing
All
Result: 0 (PASS): NUCLEO-U385RG-Q (CubeMX + bare), NUCLEO-U585 (bare), NUCLEO-F439ZI (CRYP IP).