aboutsummaryrefslogtreecommitdiff
path: root/.patch
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-02-23 02:50:13 +0100
committercrueter <crueter@eden-emu.dev>2026-02-23 02:50:13 +0100
commit0a687b82d49f5b944379ce2522c8f7778150b034 (patch)
treec25b49f40b6864a44f312f70578d6d3c86b6ac26 /.patch
parent80d6172084cea72688c1663d676f0df9ba2839bb (diff)
[crypto] Atomize all traces of MbedTLS, and require OpenSSL 3+ (#3606)
Closes #3137 Closes #3465 - Replace all mbedtls usage with OpenSSL - require OpenSSL - Up OpenSSL version to 3, cuz that's what we actually need... CAVEATS: - httplib also now required - other ssl backends for svc are unused, maybe remove later * To be fair, our CI never used them anyways. And we never tested those TESTERS PLEASE TEST: - All games and applets boot - Boot, load, exit, etc. times Co-authored-by: crueter <crueter@eden-emu.dev> Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3606 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: DraVee <dravee@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to '.patch')
-rw-r--r--.patch/mbedtls/0001-aesni-fix.patch35
-rw-r--r--.patch/mbedtls/0002-arm64-aes-fix.patch20
2 files changed, 0 insertions, 55 deletions
diff --git a/.patch/mbedtls/0001-aesni-fix.patch b/.patch/mbedtls/0001-aesni-fix.patch
deleted file mode 100644
index 5587e4c22d..0000000000
--- a/.patch/mbedtls/0001-aesni-fix.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/library/aesni.h b/library/aesni.h
-index 754c984c79..59e27afd3e 100644
---- a/library/aesni.h
-+++ b/library/aesni.h
-@@ -35,7 +35,7 @@
- /* GCC-like compilers: currently, we only support intrinsics if the requisite
- * target flag is enabled when building the library (e.g. `gcc -mpclmul -msse2`
- * or `clang -maes -mpclmul`). */
--#if (defined(__GNUC__) || defined(__clang__)) && defined(__AES__) && defined(__PCLMUL__)
-+#if defined(__GNUC__) || defined(__clang__)
- #define MBEDTLS_AESNI_HAVE_INTRINSICS
- #endif
- /* For 32-bit, we only support intrinsics */
-diff --git a/library/aesni.c b/library/aesni.c
-index 2857068..3e104ab 100644
---- a/library/aesni.c
-+++ b/library/aesni.c
-@@ -31,16 +31,14 @@
- #include <immintrin.h>
- #endif
-
--#if defined(MBEDTLS_ARCH_IS_X86)
- #if defined(MBEDTLS_COMPILER_IS_GCC)
- #pragma GCC push_options
- #pragma GCC target ("pclmul,sse2,aes")
- #define MBEDTLS_POP_TARGET_PRAGMA
--#elif defined(__clang__) && (__clang_major__ >= 5)
-+#elif defined(__clang__)
- #pragma clang attribute push (__attribute__((target("pclmul,sse2,aes"))), apply_to=function)
- #define MBEDTLS_POP_TARGET_PRAGMA
- #endif
--#endif
-
- #if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
- /*
diff --git a/.patch/mbedtls/0002-arm64-aes-fix.patch b/.patch/mbedtls/0002-arm64-aes-fix.patch
deleted file mode 100644
index 2140943426..0000000000
--- a/.patch/mbedtls/0002-arm64-aes-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/library/common.h b/library/common.h
-index 50f2a29..c60d9dc 100644
---- a/library/common.h
-+++ b/library/common.h
-@@ -19,11 +19,11 @@
- #include <stdint.h>
- #include <stddef.h>
-
--#if defined(__ARM_NEON)
--#include <arm_neon.h>
-+#if defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
-+#include <arm64_neon.h>
- #define MBEDTLS_HAVE_NEON_INTRINSICS
--#elif defined(MBEDTLS_PLATFORM_IS_WINDOWS_ON_ARM64)
--#include <arm64_neon.h>
-+#elif (defined(__ANDROID__) && defined(__ARM_FP)) || defined(__ARM_NEON)
-+#include <arm_neon.h>
- #define MBEDTLS_HAVE_NEON_INTRINSICS
- #endif
-