Skip to content

Fix for using STM32 AES hardware crypto with WOLFSSL_ARMASM set#10311

Open
dgarske wants to merge 1 commit intowolfSSL:masterfrom
dgarske:stm32_gmac
Open

Fix for using STM32 AES hardware crypto with WOLFSSL_ARMASM set#10311
dgarske wants to merge 1 commit intowolfSSL:masterfrom
dgarske:stm32_gmac

Conversation

@dgarske
Copy link
Copy Markdown
Member

@dgarske dgarske commented Apr 25, 2026

Description

Fix for using STM32 AES hardware crypto with WOLFSSL_ARMASM set (ZD 21262)

Testing

Using actual STM32F4 hardware and new wolfssl-examples-stm32 coming soon.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@dgarske dgarske self-assigned this Apr 25, 2026
Copilot AI review requested due to automatic review settings April 25, 2026 00:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adjusts AES-GCM key setup to avoid the ARM assembly AES ECB helper when building for STM32 hardware crypto, preventing use of an implementation that requires an expanded key schedule.

Changes:

  • Adds STM32-specific rationale and disables the WOLFSSL_ARMASM path when STM32_CRYPTO is enabled.
  • Ensures AES-GCM key setup can fall back to the STM32 CRYP-backed encrypt path rather than AES_ECB_encrypt.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread wolfcrypt/src/aes.c Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

MemBrowse Memory Report

No memory changes detected for:

@dgarske dgarske assigned wolfSSL-Bot and unassigned dgarske Apr 28, 2026
@dgarske dgarske requested a review from douzzer April 28, 2026 00:09
@dgarske
Copy link
Copy Markdown
Member Author

dgarske commented Apr 28, 2026

Jenkins retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants