Skip to content

Make SE05x SCP03-only builds slimmer - #356

Open
LinuxJedi wants to merge 3 commits into
wolfSSL:masterfrom
LinuxJedi:se05x-scp03
Open

Make SE05x SCP03-only builds slimmer#356
LinuxJedi wants to merge 3 commits into
wolfSSL:masterfrom
LinuxJedi:se05x-scp03

Conversation

@LinuxJedi

Copy link
Copy Markdown
Member

SCP03-only builds only need AES-CBC, AES-CMAC and RNG. This path reduces those builds to those algorithms. In testing on our Docker builds this reduced the binary from 423K to 165K.

SCP03-only builds only need AES-CBC, AES-CMAC and RNG. This path
reduces those builds to those algorithms. In testing on our Docker
builds this reduced the binary from 423K to 165K.
Copilot AI lite review requested due to automatic review settings August 13, 2026 14:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum diff size. Try reducing the number of changed files and lines, and requesting a review from Copilot again.

The wolfSSL HostCrypto adapter declared and implemented sss_wolfssl_generate_ecc_key unconditionally. Removing HAVE_ECC from a minimal SE05x build therefore left the adapter referencing unavailable curve identifiers and wolfCrypt ECC APIs.

Guard the declaration, classic ECC key-generation cases, and implementation with HAVE_ECC in both the SE05x middleware v04.02.00 and v04.07.01 patches. Keep the independently configured Montgomery and EdDSA cases available.
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