dyu / openssl-wasm

OpenSSL 3 compiled for WebAssembly/WASI (up-to-date, maintained)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenSSL 3 (libcrypto and libtls) for WebAssembly

This is OpenSSL, compiled to WebAssembly/WASI.

Up-to-date. Maintained.

Related: BoringSSL for WebAssembly.

Precompiled library

For convenience, precompiled files libraries for WebAssembly can be directly downloaded from this repository.

They can be directly linked to C, Rust, Zig, etc. as regular static libraries.

OpenSSL submodule

This repository includes an unmodified version of OpenSSL as a submodule. If you didn't clone it with the --recursive flag, the following command can be used to pull the submodule:

git submodule update --init --recursive --depth=1

Dependencies

The only required dependencies to rebuild the library are:

  • Perl - Required by OpenSSL to generate files
  • Zig - To compile C code to WebAssembly

Building

./patch.sh
./build.sh

The resulting files can be found in the precompiled directory.

About

OpenSSL 3 compiled for WebAssembly/WASI (up-to-date, maintained)

License:Other


Languages

Language:C 100.0%Language:Shell 0.0%