s2n-tls

An implementation of the TLS/SSL protocols

Latest version: 1.7.12

Add to xmake.lua

add_requires("s2n-tls 1.7.12")

Learn how to add and link packages with Xmake →

Information

License
Apache-2.0
Recipe updated
2026-10-19T07:16:18.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
  • cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
  • android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
  • macosx: arm64

Options

pq
Enables all Post Quantum Crypto code. You likely want this for older compilers or uncommon platforms. · Type: boolean · Default: false
pq_asm
Turns on the ASM for PQ Crypto even if it's available for the toolchain. You likely want this on older compilers. · Type: boolean · Default: false
stacktrace
Enables stacktrace functionality in s2n-tls. Note that this functionality is only available on platforms that support execinfo. · Type: boolean · Default: false

Versions

  • v1.5.0
  • v1.5.1
  • v1.5.5
  • v1.5.6
  • v1.5.7
  • v1.5.9
  • v1.5.10
  • v1.5.12
  • v1.5.14
  • v1.5.15
  • v1.5.17
  • v1.5.21
  • v1.5.23
  • v1.5.25
  • v1.6.1
  • v1.6.2
  • v1.7.0
  • v1.7.2
  • v1.7.3
  • v1.7.6
  • v1.7.10
  • v1.7.12

Dependencies

Used by (1)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "s2n-tls 1.7.12"

show info

xrepo info "s2n-tls"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("s2n-tls 1.7.12")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("s2n-tls")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "s2n-tls 1.7.12" shell