Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

openssl-android-prebuilt

Prebuilt OpenSSL 3.4.x libraries for Android arm64-v8a.

Purpose

Stock Android 16+ and HyperOS ship with BoringSSL. Some applications (particularly Unity IL2CPP games loaded via custom launchers) require OpenSSL's libcrypto.so and libssl.so to function correctly. Using BoringSSL as a drop-in replacement causes SIGSEGV crashes in certain crypto codepaths.

Contents

  • arm64-v8a/libcrypto.so — OpenSSL libcrypto (3.4.x)
  • arm64-v8a/libssl.so — OpenSSL libssl (3.4.x)

Usage

Place the .so files alongside your application's native libraries, or set LD_LIBRARY_PATH to include this directory.

For NextBep launcher: the libraries are bundled into the launcher APK and loaded via NativeLibraryManager hooks before Unity initializes.

Building from source

# Requires Android NDK r27+
export ANDROID_NDK_HOME=/path/to/ndk

# Clone OpenSSL
git clone https://github.com/openssl/openssl.git -b openssl-3.4
cd openssl

# Configure for Android arm64
./Configure android-arm64 -D__ANDROID_API__=28 \
  --prefix=$PWD/../install/arm64-v8a \
  no-shared no-tests

# Build
make -j$(nproc)
make install

The wrapper scripts in scripts/ automate cross-compilation with the NDK toolchain.

License

OpenSSL is dual-licensed under the OpenSSL License and the SSLeay License. See openssl.org for details.

About

Prebuilt OpenSSL libraries for Android arm64-v8a

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors