Skip to content

Add support for wolfSSL in CHERIoT#90

Draft
wbeasley-thegoodpenguin wants to merge 5 commits into
CHERIoT-Platform:mainfrom
The-Capable-Hub:wbeasely/add-wolfssl-support-clean
Draft

Add support for wolfSSL in CHERIoT#90
wbeasley-thegoodpenguin wants to merge 5 commits into
CHERIoT-Platform:mainfrom
The-Capable-Hub:wbeasely/add-wolfssl-support-clean

Conversation

@wbeasley-thegoodpenguin

Copy link
Copy Markdown
Contributor

I've added compartments and example projects for using wolfTLS rather than the existing BearSSL.

I've added a few configuration options to the compartment but wolfSSL is quite flexible so adding one for every option might be beyond the scope.

At the moment this relies on a few patches to wolfSSL here that are not upstream (yet).

wolfSSL comes with wolfcrypttest and wolfcryptbenchmark for testing and benchmarking that wolfCrypt (their crypto engine) . I have added a project to test/wolfssl/wolfcrypt.

@wbeasley-thegoodpenguin wbeasley-thegoodpenguin force-pushed the wbeasely/add-wolfssl-support-clean branch from 8daf59c to 694d41d Compare June 8, 2026 14:33
Signed-off-by: William Beasley (The Capable Hub) <wbeasley@thegoodpenguin.co.uk>
wolfSSL comes bundled with wolfcrypttest and wolfcryptbenchmark applications.
This project creates calls into these to verify wolfSSL cryptography & performance on CHERIoT

Signed-off-by: William Beasley (The Capable Hub) <wbeasley@thegoodpenguin.co.uk>
06.HTTPS is functionally the same as the existing test. Connects to example.com and prints the contents
07.HTTPS-wolfssl-concurrent is an attempt to have two connections going at the same time to flex the mutex locking etc.

Signed-off-by: William Beasley (The Capable Hub) <wbeasley@thegoodpenguin.co.uk>
Replaces the use of BearSSL with wolfSSL effectively

Signed-off-by: William Beasley (The Capable Hub) <wbeasley@thegoodpenguin.co.uk>
Signed-off-by: William Beasley (The Capable Hub) <wbeasley@thegoodpenguin.co.uk>
@wbeasley-thegoodpenguin wbeasley-thegoodpenguin force-pushed the wbeasely/add-wolfssl-support-clean branch from 694d41d to 71cc6ba Compare June 9, 2026 14:56
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.

1 participant