Skip to content

Commit

Permalink
mbedtls: Disable AESCE on Linux ARM32, doesn't compile on our target …
Browse files Browse the repository at this point in the history
…arch

Our current Linux SDK for ARM32 from https://github.com/godotengine/buildroot
targets a relatively conservative baseline of neon-fp-armv8, and (at least based
on build issues I got) this doesn't seem to include hardware AES support.

Fixes #91352.
  • Loading branch information
akien-mga committed Apr 30, 2024
1 parent 89850d5 commit 13b42d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thirdparty/mbedtls/include/godot_module_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@
#undef MBEDTLS_DES_C
#undef MBEDTLS_DHM_C

#ifndef __linux__
#if !(defined(__linux__) && defined(__aarch64__))
// ARMv8 hardware AES operations. Detection only possible on linux.
// May technically be supported on some ARM32 arches but doesn't seem
// to be in our current Linux SDK's neon-fp-armv8.
#undef MBEDTLS_AESCE_C
#endif

Expand Down

0 comments on commit 13b42d9

Please sign in to comment.