[crypto] Atomize all traces of MbedTLS, and require OpenSSL 3+ #3606
No reviewers
Labels
No labels
android
audio
bug
ci
cmake
confirmed
core
desktop
duplicate
enhancement
frontend
fw
git
graphics
loader
nv gpu
ui
vulkan
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
eden-emu/eden!3606
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lizzie/mbedtls-nuke1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3137
Closes #3465
CAVEATS:
TESTERS PLEASE TEST:
Co-authored-by: crueter crueter@eden-emu.dev
Signed-off-by: lizzie lizzie@eden-emu.dev
DraVee referenced this pull request2026-02-22 23:05:14 +01:00
WIP: [crypto] Replace mbedtls3 usage with OpenSSLto [crypto] Atomize all traces of MbedTLS, and require OpenSSL 3+@ -121,7 +120,7 @@ sudo emerge -a \dev-util/vulkan-utility-libraries dev-util/glslang \media-gfx/renderdoc media-libs/libva media-libs/opus media-video/ffmpeg \media-libs/VulkanMemoryAllocator media-libs/libsdl2 media-libs/cubeb \net-libs/enet net-libs/mbedtls \Need to remove mention on every other system too
System MbedTLS with AVX-512 is marginally better than a bundled OpenSSL, but on the AppImage they are identical, if not OpenSSL being a bit faster.
Everything works on my end but idk what xts_archive is used for so can't test
There are multiple things to clean up perf-wise still, this was mostly ad-hoc
b21e7929f077ba33d5fcIntegrity verification is dramatically faster, upwards of 4-5x
Firmware installation is also noticeably faster
No regressions, and OpenSSL is generally faster + responds significantly better to mtune and march options.
Not much difference on Android side (probably another thing is making it slow)
Tested on Gentoo, everything working fine, gonna check on Windows
Working fine on MSVC and MingW