Skip to content

Latest commit

 

History

History
75 lines (40 loc) · 1.76 KB

openssl-variants.md

File metadata and controls

75 lines (40 loc) · 1.76 KB

OpenSSL Variants

There are many forks of OpenSSL available, this doc will show you how to build with them.

Tongsuo

See Tongsuo for more introduction.

When

If you want to support the following protocols:

  • GB/T 38636-2020, TLCP
  • RFC 8998, TLS1.3 + SM2

then you need to use Tongsuo.

How

Build

Use --features vendored-tongsuo cargo build option.

Package

Switch to branch rel/tlcp-tongsuo, then run the build script or create the release tarball as usual.

BoringSSL

See BoringSSL for more introduction.

When

OpenSSL below 3.0 is not supported anymore, but the 3.0 - 3.2 versions all have significant performance degradation. As an alternative, you can switch to use BoringSSl as a solution.

How

BoringSSL is supported in branch rel/boringssl.

Build

  • Make sure you have cmake, pkg-configinstalled

  • Build with --features vendored-boringssl cargo option

Package

Switch to branch rel/boringssl, then run the build script or create the release tarball as usual.

AWS-LC

See AWS-LC for more introduction.

When

OpenSSL below 3.0 is not supported anymore, but the 3.0 - 3.2 versions all have significant performance degradation. As an alternative, you can switch to use AWS-LC as a solution on AWS EC2 hosts.

How

AWS-LC is supported in branch rel/aws-lc.

Build

  • Make sure you have cmake, pkg-config installed

  • Install a recent version of go if you want to do AWS-LC code generation.

  • Build with --features vendored-aws-lc cargo build option.

Package

Switch to branch rel/aws-lc, then run the build script or create the release tarball as usual.