Comparison of TLS implementations
![]() |
The Transport Layer Security (TLS) protocol provides the ability to secure communications across or inside networks. This comparison of TLS implementations compares several of the most notable libraries. There are several TLS implementations which are free software and open source.
All comparison categories use the stable version of each implementation listed in the overview section. The comparison is limited to features that directly relate to the TLS protocol.
Overview
[edit]Implementation | Developed by | Open source | Software license | Copyright holder | Written in | Latest stable version, release date | Origin | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Jack Lloyd | Yes | Simplified BSD License | Jack Lloyd | C++ | 3.5.0 (July 8, 2024[1]) [±] | US (Vermont) | ||||||||||
BoringSSL | Yes | OpenSSL-SSLeay dual-license, ISC license | Eric Young, Tim Hudson, Sun, OpenSSL project, Google, and others | C, C++, Go, assembly | ?? | Australia/EU | |||||||||||
Bouncy Castle | The Legion of the Bouncy Castle Inc. | Yes | MIT License | Legion of the Bouncy Castle Inc. | Java, C# |
| Australia | ||||||||||
BSAFE | Dell, formerly RSA Security | No | Proprietary | Dell | Java, C, assembly | SSL-J 6.6 (July 2, 2024[7]) [±] SSL-J 7.2.1 (July 2, 2024[8]) [±] | Australia | ||||||||||
cryptlib | Peter Gutmann | Yes | Sleepycat License and commercial license | Peter Gutmann | C | 3.4.5 (2019[11]) [±] | NZ | ||||||||||
GnuTLS | GnuTLS project | Yes | LGPL-2.1-or-later | Free Software Foundation | C | 3.8.5[12] ![]() | EU (Greece and Sweden) | ||||||||||
Java Secure Socket Extension (JSSE) | Oracle | Yes | GNU GPLv2 and commercial license | Oracle | Java | 22.0.1 (April 19, 2024[±] 21.0.0 LTS (September 19, 2023 ) [±] | ) US | ||||||||||
LibreSSL | OpenBSD Project | Yes | Apache-1.0, BSD-4-Clause, ISC, and public domain | Eric Young, Tim Hudson, Sun, OpenSSL project, OpenBSD Project, and others | C, assembly | 3.9.2[15] ![]() | Canada | ||||||||||
MatrixSSL[16] | PeerSec Networks | Yes | GNU GPLv2+ and commercial license | PeerSec Networks | C | 4.2.2 (September 11, 2019[17]) [±] | US | ||||||||||
Mbed TLS (previously PolarSSL) | Arm | Yes | Apache License 2.0, GNU GPLv2+ and commercial license | Arm Holdings | C | 3.6.0[18]![]() | EU (Netherlands) | ||||||||||
Network Security Services (NSS) | Mozilla, AOL, Red Hat, Sun, Oracle, Google and others | Yes | MPL 2.0 | NSS contributors | C, assembly |
| US | ||||||||||
OpenSSL | OpenSSL project | Yes | Apache-2.0[a] | Eric Young, Tim Hudson, Sun, OpenSSL project, and others | C, assembly | 3.3.1[20] ![]() | Australia/EU | ||||||||||
Rustls | Joe Birr-Pixton, Dirkjan Ochtman, Daniel McCarney, Josh Aas, and open source contributors | Yes | Apache-2.0, MIT License and ISC | Open source contributors | Rust | v0.23.12 (July 23, 2024[21]) [±] | United Kingdom | ||||||||||
s2n | Amazon | Yes | Apache License 2.0, GNU GPLv2+ and commercial license | Amazon, Inc. | C | Continuous | US | ||||||||||
Schannel | Microsoft | No | Proprietary | Microsoft Inc. | Windows 11, 2021-10-05 | US | |||||||||||
Secure Transport | Apple Inc. | Yes | APSL 2.0 | Apple Inc. | 57337.20.44 (OS X 10.11.2), 2015-12-08 | US | |||||||||||
wolfSSL (previously CyaSSL) | wolfSSL[22] | Yes | GNU GPLv2+ and commercial license | wolfSSL Inc.[23] | C, assembly | 5.6.4 (October 30, 2023[24]) [±] | US | ||||||||||
Erlang/OTP SSL application | Ericsson | Yes | Apache License 2.0 | Ericsson | Erlang | OTP-21, 2018-06-19 | Sweden | ||||||||||
Implementation | Developed by | Open source | Software license | Copyright owner | Written in | Latest stable version, release date | Origin |
- ^ Apache-2.0 for OpenSSL 3.0 and later releases. OpenSSL-SSLeay dual-license for any release before OpenSSL 3.0.
TLS/SSL protocol version support
[edit]Several versions of the TLS protocol exist. SSL 2.0 is a deprecated[25] protocol version with significant weaknesses. SSL 3.0 (1996) and TLS 1.0 (1999) are successors with two weaknesses in CBC-padding that were explained in 2001 by Serge Vaudenay.[26] TLS 1.1 (2006) fixed only one of the problems, by switching to random initialization vectors (IV) for CBC block ciphers, whereas the more problematic use of mac-pad-encrypt instead of the secure pad-mac-encrypt was addressed with RFC 7366.[27] A workaround for SSL 3.0 and TLS 1.0, roughly equivalent to random IVs from TLS 1.1, was widely adopted by many implementations in late 2011.[28] In 2014, the POODLE vulnerability of SSL 3.0 was discovered, which takes advantage of the known vulnerabilities in CBC, and an insecure fallback negotiation used in browsers.[29]
TLS 1.2 (2008) introduced a means to identify the hash used for digital signatures. While permitting the use of stronger hash functions for digital signatures in the future (rsa,sha256/sha384/sha512) over the SSL 3.0 conservative choice (rsa,sha1+md5), the TLS 1.2 protocol change inadvertently and substantially weakened the default digital signatures and provides (rsa,sha1) and even (rsa,md5).[30]
Datagram Transport Layer Security (DTLS or Datagram TLS) 1.0 is a modification of TLS 1.1 for a packet-oriented transport layer, where packet loss and packet reordering have to be tolerated. The revision DTLS 1.2 based on TLS 1.2 was published in January 2012.[31]
TLS 1.3 (2018) specified in RFC 8446 includes major optimizations and security improvements. QUIC (2021) specified in RFC 9000 and DTLS 1.3 (2022) specified in RFC 9147 builds on TLS 1.3. The publishing of TLS 1.3 and DTLS 1.3 obsoleted TLS 1.2 and DTLS 1.2.
Note that there are known vulnerabilities in SSL 2.0 and SSL 3.0. In 2021, IETF published RFC 8996 also forbidding negotiation of TLS 1.0, TLS 1.1, and DTLS 1.0 due to known vulnerabilities. NIST SP 800-52 requires support of TLS 1.3 by January 2024. Support of TLS 1.3 means that two compliant nodes will never negotiate TLS 1.2.
Implementation | SSL 2.0 (insecure)[32] | SSL 3.0 (insecure)[33] | TLS 1.0 (deprecated)[34] | TLS 1.1 (deprecated)[35] | TLS 1.2[36] | TLS 1.3 | DTLS 1.0 (deprecated)[37] | DTLS 1.2[31] | DTLS 1.3[citation needed] |
---|---|---|---|---|---|---|---|---|---|
Botan | No | No[38] | No | No | Yes | Yes | No | Yes | No |
BoringSSL | Yes | Yes | Yes | Yes | Yes | Yes | No | ||
Bouncy Castle | No | No | Yes | Yes | Yes | Yes (draft version) | Yes | Yes | No |
BSAFE SSL-J[39] | No | Disabled by default | No[a] | No[a] | Yes | Yes | No | No | No |
cryptlib | No | Disabled by default at compile time | Yes | Yes | Yes | No | No | No | |
GnuTLS | No[b] | Disabled by default[40] | Yes | Yes | Yes | Yes[41] | Yes | Yes | No |
JSSE | No[b] | Disabled by default[42] | Disabled by default[43] | Disabled by default[43] | Yes | Yes | Yes | Yes | No |
LibreSSL | No[44] | No[45] | Yes | Yes | Yes | Yes | Yes | Yes[46] | No |
MatrixSSL | No | Disabled by default at compile time[47] | Yes | Yes | Yes | Yes | Yes | Yes | No |
Mbed TLS | No | No[48] | No[48] | No[48] | Yes | Yes (experimental) | Yes[49] | Yes[49] | No |
NSS | No[c] | Disabled by default[50] | Yes | Yes[51] | Yes[52] | Yes[53] | Yes[51] | Yes[54] | No |
OpenSSL | No[55] | Disabled by default | Yes | Yes[56] | Yes[56] | Yes | Yes | Yes[57] | No |
Rustls | No[58] | No[58] | No[58] | No[58] | Yes[58] | Yes[58] | No | No | No |
s2n[59] | No | Disabled by default | Yes | Yes | Yes | Yes | No | No | No |
Schannel XP, 2003[60] | Disabled by default in MSIE 7 | Enabled by default | Enabled by default in MSIE 7 | No | No | No | No | No | No |
Schannel Vista[61] | Disabled by default | Enabled by default | Yes | No | No | No | No | No | No |
Schannel 2008[61] | Disabled by default | Enabled by default | Yes | Disabled by default (KB4019276) | Disabled by default (KB4019276) | No | No | No | No |
Schannel 7, 2008R2[62] | Disabled by default | Disabled by default in MSIE 11 | Yes | Enabled by default in MSIE 11 | Enabled by default in MSIE 11 | No | Yes[63] | No[63] | No |
Schannel 8, 2012[62] | Disabled by default | Enabled by default | Yes | Disabled by default | Disabled by default | No | Yes | No | No |
Schannel 8.1, 2012R2, 10 RTM & v1511[62] | Disabled by default | Disabled by default in MSIE 11 | Yes | Yes | Yes | No | Yes | No | No |
Schannel 10 v1607 / 2016[64] | No | Disabled by default | Yes | Yes | Yes | No | Yes | Yes | No |
Schannel 11 / 2022[65] | No | Disabled by default | Yes | Yes | Yes | Yes | Yes | Yes | No |
Secure Transport OS X 10.2-10.7, iOS 1-4 | Yes | Yes | Yes | No | No | No | No | No | |
Secure Transport OS X 10.8-10.10, iOS 5-8 | No[d] | Yes | Yes | Yes[d] | Yes[d] | Yes[d] | No | No | |
Secure Transport OS X 10.11, iOS 9 | No | No[d] | Yes | Yes | Yes | Yes | Unknown | No | |
Secure Transport OS X 10.13, iOS 11 | No | No[d] | Yes | Yes | Yes | Yes (draft version)[66] | Yes | Unknown | No |
wolfSSL | No | Disabled by default[67] | Disabled by default[68] | Yes | Yes | Yes | Yes | Yes | Yes |
Erlang/OTP SSL application[69] | No [e] | No [f] | Disabled by default [e] | Disabled by default [e] | Yes | Partially [g] | Disabled by default [e] | Yes | No |
Implementation | SSL 2.0 (insecure)[32] | SSL 3.0 (insecure)[33] | TLS 1.0 (deprecated)[34] | TLS 1.1 (deprecated)[35] | TLS 1.2[36] | TLS 1.3 | DTLS 1.0 (deprecated)[37] | DTLS 1.2[31] | DTLS 1.3[citation needed] |
- ^ a b As of SSL-J 7.0, support for TLS 1.0 and 1.1 has been removed
- ^ a b SSL 2.0 client hello is supported for backward compatibility reasons even though SSL 2.0 is not supported.
- ^ Server-side implementation of the SSL/TLS protocol still supports processing of received v2-compatible client hello messages."NSS 3.24 release notes". Mozilla Developer Network. Mozilla. Archived from the original on 2016-08-26. Retrieved 2016-06-19.
- ^ a b c d e f Secure Transport: SSL 2.0 was discontinued in OS X 10.8. SSL 3.0 was discontinued in OS X 10.11 and iOS 9.TLS 1.1, 1.2 and DTLS are available on iOS 5.0 and later, and OS X 10.9 and later."Technical Note TN2287: iOS 5 and TLS 1.2 Interoperability Issues". iOS Developer Library. Apple Inc. Retrieved 2012-05-03.
- ^ a b c d Since OTP 22
- ^ Since OTP 23
- ^ "Erlang OTP SSL application TLS 1.3 compliance table".
NSA Suite B Cryptography
[edit]Required components for NSA Suite B Cryptography (RFC 6460) are:
- Advanced Encryption Standard (AES) with key sizes of 128 and 256 bits. For traffic flow, AES should be used with either the Counter Mode (CTR) for low bandwidth traffic or the Galois/Counter Mode (GCM) mode of operation for high bandwidth traffic (see Block cipher modes of operation) — symmetric encryption
- Elliptic Curve Digital Signature Algorithm (ECDSA) — digital signatures
- Elliptic Curve Diffie–Hellman (ECDH) — key agreement
- Secure Hash Algorithm 2 (SHA-256 and SHA-384) — message digest
Per CNSSP-15, the 256-bit elliptic curve (specified in FIPS 186-2), SHA-256, and AES with 128-bit keys are sufficient for protecting classified information up to the Secret level, while the 384-bit elliptic curve (specified in FIPS 186-2), SHA-384, and AES with 256-bit keys are necessary for the protection of Top Secret information.
Implementation | TLS 1.2 Suite B |
---|---|
Botan | Yes |
Bouncy Castle | Yes |
BSAFE | Yes[39] |
cryptlib | Yes |
GnuTLS | Yes |
JSSE | Yes[70] |
LibreSSL | Yes |
MatrixSSL | Yes |
Mbed TLS | Yes |
NSS | No[71] |
OpenSSL | Yes[57] |
Rustls | Yes[58] |
S2n | |
Schannel | Yes[72] |
Secure Transport | No |
wolfSSL | Yes |
Implementation | TLS 1.2 Suite B |
Certifications
[edit]Note that certain certifications have received serious negative criticism from people who are actually involved in them.[73]
Implementation | FIPS 140-1, FIPS 140-2[74] | FIPS 140-3 | Embedded FIPS Solution | |
---|---|---|---|---|
Level 1 | Level 2[disputed – discuss] | Level 1 | ||
Botan[75] | ||||
Bouncy Castle | BC-FJA 1.0.0 (#2768) BC-FJA 1.0.1 (#3152) | |||
BSAFE SSL-J[76] | Crypto-J 6.0 (1785, 1786) Crypto-J 6.1 / 6.1.1.0.1 (2057, 2058) Crypto-J 6.2 / 6.2.1.1 (2468, 2469) Crypto-J 6.2.4 (3172, 3184) Crypto-J 6.2.5 (#3819, #3820) Crypto-J 6.3 (#4696, #4697) | |||
cryptlib[77] | ||||
GnuTLS[78] | Red Hat Enterprise Linux GnuTLS Cryptographic Module (#2780) | |||
JSSE | ||||
LibreSSL[44] | no support | |||
MatrixSSL[79] | SafeZone FIPS Cryptographic Module: 1.1 (#2389) | |||
Mbed TLS[80] | ||||
NSS[81] | Network Security Services: 3.2.2 (#247) Network Security Services Cryptographic Module: 3.11.4 (#815), 3.12.4 (#1278), 3.12.9.1 (#1837) | Netscape Security Module: 1 (#7[notes 1]), 1.01 (#47[notes 2]) Network Security Services: 3.2.2 (#248[notes 3]) Network Security Services Cryptographic Module: 3.11.4 (#814[notes 4]), 3.12.4 (#1279, #1280[notes 5]) | ||
OpenSSL[82] | OpenSSL FIPS Object Module: 1.0 (#624), 1.1.1 (#733), 1.1.2 (#918), 1.2, 1.2.1, 1.2.2, 1.2.3 or 1.2.4 (#1051) 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7 or 2.0.8 (#1747) | |||
Rustls | aws-lc FIPS module[83] (#4759) | |||
Schannel[84] | Cryptographic modules in Windows NT 4.0, 95, 95, 2000, XP, Server 2003, CE 5, CE 6, Mobile 6.x, Vista, Server 2008, 7, Server 2008 R2, 8, Server 2012, RT, Surface, Phone 8 See details on Microsoft FIPS 140 Validated Cryptographic Modules | |||
Secure Transport | Apple FIPS Cryptographic Module: 1.0 (OS X 10.6, #1514), 1.1 (OS X 10.7, #1701) Apple OS X CoreCrypto Module; CoreCrypto Kernel Module: 3.0 (OS X 10.8, #1964, #1956), 4.0 (OS X 10.9, #2015, #2016) Apple iOS CoreCrypto Module; CoreCrypto Kernel Module: 3.0 (iOS 6, #1963, #1944), 4.0 (iOS 7, #2020, #2021) | |||
wolfSSL[85] | wolfCrypt FIPS Module: 4.0 (#3389) See details on NIST certificate for validated Operating Environments wolfCrypt FIPS Module: 3.6.0 (#2425) See details on NIST certificate for validated Operating Environments | wolfCrypt FIPS Module (#4178) See details on NIST certificate | Yes | |
Implementation | Level 1 | Level 2 | Level 1 | Embedded FIPS Solution |
FIPS 140-1, FIPS 140-2 | FIPS 140-3 |
- ^ with Sun Sparc 5 w/ Sun Solaris v 2.4SE (ITSEC-rated)
- ^ with Sun Ultra-5 w/ Sun Trusted Solaris version 2.5.1 (ITSEC-rated)
- ^ with Solaris v8.0 with AdminSuite 3.0.1 as specified in UK IT SEC CC Report No. P148 EAL4 on a SUN SPARC Ultra-1
- ^ with these platforms; Red Hat Enterprise Linux Version 4 Update 1 AS on IBM xSeries 336 with Intel Xeon CPU, Trusted Solaris 8 4/01 on Sun Blade 2500 Workstation with UltraSPARC IIIi CPU
- ^ with these platforms; Red Hat Enterprise Linux v5 running on an IBM System x3550, Red Hat Enterprise Linux v5 running on an HP ProLiant DL145, Sun Solaris 10 5/08 running on a Sun SunBlade 2000 workstation, Sun Solaris 10 5/08 running on a Sun W2100z workstation
Key exchange algorithms (certificate-only)
[edit]This section lists the certificate verification functionality available in the various implementations.
Implementation | RSA[36] | RSA-EXPORT (insecure)[36] | DHE-RSA (forward secrecy)[36] | DHE-DSS (forward secrecy)[36] | ECDH-ECDSA[86] | ECDHE-ECDSA (forward secrecy)[86] | ECDH-RSA[86] | ECDHE-RSA (forward secrecy)[86] | GOST R 34.10-94, 34.10-2001[87] |
---|---|---|---|---|---|---|---|---|---|
Botan | Disabled by default | No | Yes | Disabled by default | No | Yes | No | Yes | No |
BSAFE | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | No |
cryptlib | Yes | No | Yes | Yes | No | Yes | No | No | No |
GnuTLS | Yes | No | Yes | Disabled by default[40] | No | Yes | No | Yes | No |
JSSE | Yes | Disabled by default | Yes | Yes | Yes | Yes | Yes | Yes | No |
LibreSSL | Yes | No[44] | Yes | Yes | No | Yes | No | Yes | Yes[88] |
MatrixSSL | Yes | No | Yes | No | Yes | Yes | Yes | Yes | No |
Mbed TLS | Yes | No | Yes | No | Yes | Yes | Yes | Yes | No |
NSS | Yes | Disabled by default | Yes[89] | Yes | Yes | Yes | Yes | Yes | No[90][91] |
OpenSSL | Yes | No[55] | Yes | Disabled by default[55] | No | Yes | No | Yes | Yes[92] |
Rustls | No | No | No | No | No | Yes[58] | No | Yes[58] | No |
Schannel XP/2003 | Yes | Yes | No | XP: Max 1024 bits 2003: 1024 bits only | No | No | No | No | No[93] |
Schannel Vista/2008 | Yes | Disabled by default | No | 1024 bits by default[94] | No | Yes | No | except AES_GCM | No[93] |
Schannel 8/2012 | Yes | Disabled by default | AES_GCM only[95][96][97] | 1024 bits by default[94] | No | Yes | No | except AES_GCM | No[93] |
Schannel 7/2008R2, 8.1/2012R2 | Yes | Disabled by default | Yes | 2048 bits by default[94] | No | Yes | No | except AES_GCM | No[93] |
Schannel 10 | Yes | Disabled by default | Yes | 2048 bits by default[94] | No | Yes | No | Yes | No[93] |
Secure Transport OS X 10.6 | Yes | Yes | except AES_GCM | Yes | Yes | except AES_GCM | yes | except AES_GCM | No |
Secure Transport OS X 10.8-10.10 | Yes | No | except AES_GCM | No | Yes | except AES_GCM | Yes | except AES_GCM | No |
Secure Transport OS X 10.11 | Yes | No | Yes | No | No | Yes | No | Yes | No |
wolfSSL | Yes | No | Yes | No | Yes | Yes | Yes | Yes | No |
Erlang/OTP SSL application | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | No |
Implementation | RSA[36] | RSA-EXPORT (insecure)[36] | DHE-RSA (forward secrecy)[36] | DHE-DSS (forward secrecy)[36] | ECDH-ECDSA[86] | ECDHE-ECDSA (forward secrecy)[86] | ECDH-RSA[86] | ECDHE-RSA (forward secrecy)[86] | GOST R 34.10-94, 34.10-2001[87] |
Key exchange algorithms (alternative key-exchanges)
[edit]Implementation | SRP[98] | SRP-DSS[98] | SRP-RSA[98] | PSK-RSA[99] | PSK[99] | DHE-PSK (forward secrecy)[99] | ECDHE-PSK (forward secrecy)[100] | KRB5[101] | DH-ANON[36] (insecure) | ECDH-ANON[86] (insecure) |
---|---|---|---|---|---|---|---|---|---|---|
Botan | No | No | No | No | Yes | No | Yes | No | No | No |
BSAFE SSL-J | No | No | No | No | Yes[102] | No | No | No | Disabled by default | Disabled by default |
cryptlib | No | No | No | No | Yes | Yes | No | Unknown | No | No |
GnuTLS | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Disabled by default | Disabled by default |
JSSE | No | No | No | No | No | No | No | No | Disabled by default | Disabled by default |
LibreSSL | No[103] | No[103] | No[103] | No | No | No | No | No | Yes | Yes |
MatrixSSL | No | No | No | Yes | Yes | Yes | No | No | Disabled by default | No |
Mbed TLS | No | No | No | Yes | Yes | Yes | Yes | No | No | No |
NSS | No[104] | No[104] | No[104] | No[105] | No[105] | No[105] | No[105] | No | Client side only, disabled by default[106] | Disabled by default[107] |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes[108] | Disabled by default[109] | Disabled by default[109] |
Rustls | No | No | No | No | No | No | No | No | No | No |
Schannel | No | No | No | No | No | No | No | Yes | No | No |
Secure Transport | No | No | No | No | No | No | No | Unknown | Yes | Yes |
wolfSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes[110] | Yes | No | No |
Erlang/OTP SSL application | Disabled by default | Disabled by default | Disabled by default | Disabled by default | Disabled by default | Disabled by default | No | No | Disabled by default | Disabled by default |
Implementation | SRP[98] | SRP-DSS[98] | SRP-RSA[98] | PSK-RSA[99] | PSK[99] | DHE-PSK (forward secrecy)[99] | ECDHE-PSK (forward secrecy)[100] | KRB5[101] | DH-ANON[36] (insecure) | ECDH-ANON[86] (insecure) |
Certificate verification methods
[edit]Implementation | Application-defined | PKIX path validation[111] | CRL[112] | OCSP[113] | DANE (DNSSEC)[114][115] | Trust on First Use (TOFU) | CT[116] |
---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | No | No | Unknown |
Bouncy Castle | Yes | Yes | Yes | Yes | Yes | No | Unknown |
BSAFE | Yes | Yes | Yes | Yes | No | No | Unknown |
cryptlib | Yes | Yes | Yes | Yes | No | No | Unknown |
GnuTLS | Yes | Yes | Yes | Yes | Yes | Yes | Unknown |
JSSE | Yes | Yes | Yes | Yes | No | No | No |
LibreSSL | Yes | Yes | Yes | Yes | No | No | Unknown |
MatrixSSL | Yes | Yes | Yes | Yes[117] | No | No | Unknown |
Mbed TLS | Yes | Yes | Yes | No[118] | No | No | Unknown |
NSS | Yes | Yes | Yes | Yes | No[119] | No | Unknown |
OpenSSL | Yes | Yes | Yes | Yes | Yes | No | Yes |
Rustls | Yes | Yes | Yes | No | No | No | No |
s2n | No [120] | Unknown [121] | Unknown [122] | ||||
Schannel | Unknown | Yes | Yes[123] | Yes[123] | No | No | Unknown |
Secure Transport | Yes | Yes | Yes | Yes | No | No | Unknown |
wolfSSL | Yes | Yes | Yes | Yes | No | No | Unknown |
Erlang/OTP SSL application | Yes | Yes | Yes | No | No | No | Unknown |
Implementation | Application-defined | PKIX path validation | CRL | OCSP | DANE (DNSSEC) | Trust on First Use (TOFU) | CT |
Encryption algorithms
[edit]Implementation | Block cipher with mode of operation | Stream cipher | None | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AES GCM [124] | AES CCM [125] | AES CBC | Camellia GCM [126] | Camellia CBC [127][126] | ARIA GCM [128] | ARIA CBC [128] | SEED CBC [129] | 3DES EDE CBC (insecure)[130] | GOST 28147-89 CNT (proposed) [87][n 1] | ChaCha20-Poly1305 [131] | Null (insecure) [n 2] | |
Botan | Yes | Yes | Yes | Yes | Yes | No | No | Disabled by default | Disabled by default | No | Yes[132] | Not implemented |
BoringSSL | Yes | No | Yes | No | No | No | No | No | Yes | No | Yes | |
BSAFE SSL-J | Yes | Yes | Yes | No | No | No | No | No | Disabled by default | No | No | Disabled by default |
cryptlib | Yes | No | Yes | No | No | No | No | No | Yes | No | No | Not implemented |
GnuTLS | Yes | Yes[40] | Yes | Yes | Yes | No | No | No | Disabled by default[133] | No | Yes[134] | Disabled by default |
JSSE | Yes | No | Yes | No | No | No | No | No | Disabled by default[135] | No | Yes (JDK 12+)[136] | Disabled by default |
LibreSSL | Yes[44] | No | Yes | No | Yes[88] | No | No | No[44] | Yes | Yes[88] | Yes[44] | Disabled by default |
MatrixSSL | Yes | No | Yes | No | No | No | No | Yes | Disabled by default | No | Yes[137] | Disabled by default |
Mbed TLS | Yes | Yes [138] | Yes | Yes | Yes | Yes[139] | Yes[139] | No | No[48] | No | Yes[140] | Disabled by default at compile time |
NSS | Yes[141] | No | Yes | No[142][n 3] | Yes[143] | No | No | Yes[144] | Yes | No[90][91] | Yes[145] | Disabled by default |
OpenSSL | Yes[146] | Disabled by default[55] | Yes | No | Disabled by default[55] | Disabled by default[147] | No | Disabled by default[55] | Disabled by default[55] | Yes[92] | Yes[55] | Disabled by default |
Rustls | Yes[58] | No | No | No | No | No | No | No | No | No | Yes[58] | Not implemented |
Schannel XP/2003 | No | No | 2003 only[148] | No | No | No | No | No | Yes | No[93] | No | Disabled by default |
Schannel Vista/2008, 2008R2, 2012 | No | No | Yes | No | No | No | No | No | Yes | No[93] | No | Disabled by default |
Schannel 7, 8, 8.1/2012R2 | Yes except ECDHE_RSA [95][96] | No | Yes | No | No | No | No | No | Yes | No[93] | No | Disabled by default |
Schannel 10[149] | Yes | No | Yes | No | No | No | No | No | Yes | No[93] | No | Disabled by default |
Secure Transport OS X 10.6 - 10.10 | No | No | Yes | No | No | No | No | No | Yes | No | No | Disabled by default |
Secure Transport OS X 10.11 | Yes | No | Yes | No | No | No | No | No | Yes | No | No | Disabled by default |
wolfSSL | Yes | Yes | Yes | No | No | No | No | No | Yes | No | Yes | Disabled by default |
Erlang/OTP SSL application | Yes | No | Yes | No | No | No | No | No | Disabled by default | No | Experimental | Disable by default |
Implementation | Block cipher with mode of operation | Stream cipher | None | |||||||||
AES GCM [124] | AES CCM [125] | AES CBC | Camellia GCM [126] | Camellia CBC [127][126] | ARIA GCM [128] | ARIA CBC [128] | SEED CBC [129] | 3DES EDE CBC (insecure)[130] | GOST 28147-89 CNT (proposed) [87][n 1] | ChaCha20-Poly1305 [131] | Null (insecure) [n 2] |
- Notes
Obsolete algorithms
[edit]Implementation | Block cipher with mode of operation | Stream cipher | ||||
---|---|---|---|---|---|---|
IDEA CBC [n 1](insecure)[151] | DES CBC (insecure) [n 1] | DES-40 CBC (EXPORT, insecure) [n 2] | RC2-40 CBC (EXPORT, insecure) [n 2] | RC4-128 (insecure) [n 3] | RC4-40 (EXPORT, insecure) [n 4][n 2] | |
Botan | No | No | No | No | No[152] | No |
BoringSSL | No | No | No | No | Disabled by default at compile time | No |
BSAFE SSL-J | No | Disabled by default | Disabled by default | No | Disabled by default | Disabled by default |
cryptlib | No | Disabled by default at compile time | No | No | Disabled by default at compile time | No |
GnuTLS | No | No | No | No | Disabled by default[40] | No |
JSSE | No | Disabled by default | Disabled by default | No | Disabled by default | Disabled by default [153] |
LibreSSL | Yes | Yes | No[44] | No[44] | Yes | No[44] |
MatrixSSL | Yes | No | No | No | Disabled by default | No |
Mbed TLS | No | Disabled by default at compile time | No | No | Disabled by default at compile time[49] | No |
NSS | Yes | Disabled by default | Disabled by default | Disabled by default | Lowest priority[154][155] | Disabled by default |
OpenSSL | Disabled by default[55] | Disabled by default | No[55] | No[55] | Disabled by default | No[55] |
Rustls | No | No | No | No | No | No |
Schannel XP/2003 | No | Yes | Yes | Yes | Yes | Yes |
Schannel Vista/2008 | No | Disabled by default | Disabled by default | Disabled by default | Yes | Disabled by default |
Schannel 7/2008R2 | No | Disabled by default | Disabled by default | Disabled by default | Lowest priority will be disabled soon[156] | Disabled by default |
Schannel 8/2012 | No | Disabled by default | Disabled by default | Disabled by default | Only as fallback | Disabled by default |
Schannel 8.1/2012R2 | No | Disabled by default | Disabled by default | Disabled by default | Disabled by default[156] | Disabled by default |
Schannel 10[149] | No | Disabled by default | Disabled by default | Disabled by default | Disabled by default[156] | Disabled by default |
Secure Transport OS X 10.6 | Yes | Yes | Yes | Yes | Yes | Yes |
Secure Transport OS X 10.7 | Yes | Unknown | Unknown | Unknown | Yes | Unknown |
Secure Transport OS X 10.8-10.9 | Yes | Disabled by default | Disabled by default | Disabled by default | Yes | Disabled by default |
Secure Transport OS X 10.10-10.11 | Yes | Disabled by default | Disabled by default | Disabled by default | Lowest priority | Disabled by default |
Secure Transport macOS 10.12 | Yes | Disabled by default | Disabled by default | Disabled by default | Disabled by default | Disabled by default |
wolfSSL | Disabled by default[157] | No | No | No | Disabled by default | No |
Erlang/OTP SSL application | no | Disabled by default | no | no | Disabled by default | no |
Implementation | Block cipher with mode of operation | Stream cipher | ||||
IDEA CBC [n 1](insecure)[151] | DES CBC (insecure) [n 1] | DES-40 CBC (EXPORT, insecure) [n 2] | RC2-40 CBC (EXPORT, insecure) [n 2] | RC4-128 (insecure) [n 3] | RC4-40 (EXPORT, insecure) [n 4][n 2] |
- Notes
- ^ a b c d IDEA and DES have been removed from TLS 1.2.[150]
- ^ a b c d e f 40 bits strength of cipher suites were designed to operate at reduced key lengths in order to comply with US regulations about the export of cryptographic software containing certain strong encryption algorithms (see Export of cryptography from the United States). These weak suites are forbidden in TLS 1.1 and later.
- ^ a b The RC4 attacks weaken or break RC4 used in SSL/TLS. Use of RC4 is prohibited by RFC 7465.
- ^ a b The RC4 attacks weaken or break RC4 used in SSL/TLS.
Supported elliptic curves
[edit]This section lists the supported elliptic curves by each implementation.
Defined curves in RFC 8446 (for TLS 1.3) and RFC 8422, 7027 (for TLS 1.2 and earlier)
[edit]applicable TLS version | TLS 1.3 and earlier | TLS 1.2 and earlier | ||||||
---|---|---|---|---|---|---|---|---|
Implementation | secp256r1 prime256v1 NIST P-256 (0x0017,[158] 23[159]) | secp384r1 NIST P-384 (0x0018,[158] 24[159]) | secp521r1 NIST P-521 (0x0019,[158] 25[159]) | X25519 (0x001D,[158] 29[159]) | X448 (0x001E,[158] 30[159]) | brainpoolP256r1 (26)[160] | brainpoolP384r1 (27)[160] | brainpoolP512r1 (28)[160] |
Botan | Yes | Yes | Yes | Yes[132] | No | Yes[161] | Yes[161] | Yes[161] |
BoringSSL | Yes | Yes | Yes (disabled by default) | Yes | No | No | No | No |
BSAFE | Yes | Yes | Yes | No | No | No | No | No |
GnuTLS | Yes | Yes | Yes | Yes[162] | Yes[163] | No | No | No |
JSSE | Yes | Yes | Yes | Yes x25519: JDK 13+[164] Ed25519:JDK 15+[165] | Yes x448: JDK 13+[164] Ed448: JDK 15+[165] | No | No | No |
LibreSSL | Yes | Yes | Yes | Yes[166] | No | Yes[44] | Yes[44] | Yes[44] |
MatrixSSL | Yes | Yes | Yes | TLS 1.3 only[167] | No | Yes | Yes | Yes |
Mbed TLS | Yes | Yes | Yes | Primitive only[168] | Primitive only[169] | Yes[170] | Yes[170] | Yes[170] |
NSS | Yes | Yes | Yes | Yes[171] | No[172][173] | No[174] | No[174] | No[174] |
OpenSSL | Yes | Yes | Yes | Yes[175][176] | Yes[177][178] | Yes[57] | Yes[57] | Yes[57] |
Rustls | Yes | Yes | No | Yes | No | No | No | No |
Schannel Vista/2008, 7/2008R2, 8/2012, 8.1/2012R2, 10 | Yes | Yes | Yes | No | No | No | No | No |
Secure Transport | Yes | Yes | Yes | No | No | No | No | No |
wolfSSL | Yes | Yes | Yes | Yes[179] | Yes[180] | Yes | Yes | Yes |
Erlang/OTP SSL application | Yes | Yes | Yes | No | No | Yes | Yes | Yes |
Implementation | secp256r1 prime256v1 NIST P-256 (0x0017, 23) | secp384r1 NIST P-384 (0x0018, 24) | secp521r1 NIST P-521 (0x0019, 25) | X25519 (0x001D, 29) | X448 (0x001E, 30) | brainpoolP256r1 (26) | brainpoolP384r1 (27) | brainpoolP512r1 (28) |
Proposed curves
[edit]Implementation | M221 Curve2213 [181] | E222 [181] | Curve1174 [181] | E382 [181] | M383 [181] | Curve383187 [181] | Curve41417 Curve3617 [181] | M511 Curve511187 [181] | E521 [181] |
---|---|---|---|---|---|---|---|---|---|
Botan | No | No | No | No | No | No | No | No | No |
BoringSSL | No | No | No | No | No | No | No | No | No |
BSAFE | No | No | No | No | No | No | No | No | No |
GnuTLS | No | No | No | No | No | No | No | No | No |
JSSE | No | No | No | No | No | No | No | No | No |
LibreSSL | No | No | No | No | No | No | No | No | No |
MatrixSSL | No | No | No | No | No | No | No | No | No |
Mbed TLS | No | No | No | No | No | No | No | No | No |
NSS | No | No | No | No | No | No | No | No | No |
OpenSSL | No | No | No | No | No | No | No | No | No |
Rustls | No | No | No | No | No | No | No | No | No |
Schannel Vista/2008, 7/2008R2, 8/2012, 8.1/2012R2, 10 | No | No | No | No | No | No | No | No | No |
Secure Transport | No | No | No | No | No | No | No | No | No |
wolfSSL | No | No | No | No | No | No | No | No | No |
Erlang/OTP SSL application | No | No | No | No | No | No | No | No | No |
Implementation | M221 Curve2213 | E222 | Curve1174 | E382 | M383 | Curve383187 | Curve41417 Curve3617 | M511 Curve511187 | E521 |
Deprecated curves in RFC 8422
[edit]Implementation | sect163k1 NIST K-163 (1)[86] | sect163r1 (2)[86] | sect163r2 NIST B-163 (3)[86] | sect193r1 (4)[86] | sect193r2 (5)[86] | sect233k1 NIST K-233 (6)[86] | sect233r1 NIST B-233 (7)[86] | sect239k1 (8)[86] | sect283k1 NIST K-283 (9)[86] | sect283r1 NIST B-283 (10)[86] | sect409k1 NIST K-409 (11)[86] | sect409r1 NIST B-409 (12)[86] | sect571k1 NIST K-571 (13)[86] | sect571r1 NIST B-571 (14)[86] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Botan | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
BoringSSL | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
BSAFE | Yes | No | Yes | No | No | Yes | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes |
GnuTLS | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
JSSE | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] |
LibreSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
MatrixSSL | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
Mbed TLS | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
NSS | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Rustls | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
Schannel Vista/2008, 7/2008R2, 8/2012, 8.1/2012R2, 10 | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
Secure Transport | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
wolfSSL | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
Erlang/OTP SSL application | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Implementation | sect163k1 NIST K-163 (1) | sect163r1 (2) | sect163r2 NIST B-163 (3) | sect193r1 (4) | sect193r2 (5) | sect233k1 NIST K-233 (6) | sect233r1 NIST B-233 (7) | sect239k1 (8) | sect283k1 NIST K-283 (9) | sect283r1 NIST B-283 (10) | sect409k1 NIST K-409 (11) | sect409r1 NIST B-409 (12) | sect571k1 NIST K-571 (13) | sect571r1 NIST B-571 (14) |
Implementation | secp160k1 (15)[86] | secp160r1 (16)[86] | secp160r2 (17)[86] | secp192k1 (18)[86] | secp192r1 prime192v1 NIST P-192 (19)[86] | secp224k1 (20)[86] | secp224r1 NIST P-244 (21)[86] | secp256k1 (22)[86] | arbitrary prime curves (0xFF01)[86][184] | arbitrary char2 curves (0xFF02)[86][184] |
---|---|---|---|---|---|---|---|---|---|---|
Botan | No | No | No | No | No | No | No | No | No | No |
BoringSSL | No | No | No | No | No | No | Yes | No | No | No |
BSAFE | No | No | No | No | Yes | No | Yes | No | No | No |
GnuTLS | No | No | No | No | Yes | No | Yes | No | No | No |
JSSE | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | Notes[a][b] | No | No |
LibreSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No |
MatrixSSL | No | No | No | No | Yes | No | Yes | No | No | No |
Mbed TLS | No | No | No | Yes | Yes | Yes | Yes | Yes | No | No |
NSS | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No |
Rustls | No | No | No | No | No | No | No | No | No | No |
Schannel Vista/2008, 7/2008R2, 8/2012, 8.1/2012R2, 10 | No | No | No | No | No | No | No | No | No | No |
Secure Transport | No | No | No | No | Yes | No | No | No | No | No |
wolfSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No |
Erlang/OTP SSL application | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No |
Implementation | secp160k1 (15) | secp160r1 (16) | secp160r2 (17) | secp192k1 (18) | secp192r1 prime192v1 NIST P-192 (19) | secp224k1 (20) | secp224r1 NIST P-244 (21) | secp256k1 (22) | arbitrary prime curves (0xFF01) | arbitrary char2 curves (0xFF02) |
- Notes
Data integrity
[edit]Implementation | HMAC-MD5 | HMAC-SHA1 | HMAC-SHA256/384 | AEAD | GOST 28147-89 IMIT[87] | GOST R 34.11-94[87] |
---|---|---|---|---|---|---|
Botan | No | Yes | Yes | Yes | No | No |
BSAFE | Yes | Yes | Yes | Yes | No | No |
cryptlib | Yes | Yes | Yes | Yes | No | No |
GnuTLS | Yes | Yes | Yes | Yes | No | No |
JSSE | Disabled by Default | Yes | Yes | Yes | No | No |
LibreSSL | Yes | Yes | Yes | Yes | Yes[88] | Yes[88] |
MatrixSSL | Yes | Yes | Yes | Yes | No | No |
Mbed TLS | Yes | Yes | Yes | Yes | No | No |
NSS | Yes | Yes | Yes | Yes | No[90][91] | No[90][91] |
OpenSSL | Yes | Yes | Yes | Yes | Yes[92] | Yes[92] |
Rustls | No | No | No | Yes | No | No |
Schannel XP/2003, Vista/2008 | Yes | Yes | XP SP3, 2003 SP2 via hotfix[185] | No | No[93] | No[93] |
Schannel 7/2008R2, 8/2012, 8.1/2012R2 | Yes | Yes | Yes | except ECDHE_RSA[95][96][97] | No[93] | No[93] |
Schannel 10 | Yes | Yes | Yes | Yes[149] | No[93] | No[93] |
Secure Transport | Yes | Yes | Yes | Yes | No | No |
wolfSSL | Yes | Yes | Yes | Yes | No | No |
Erlang/OTP SSL application | Yes | Yes | Yes | Yes | No | No |
Implementation | HMAC-MD5 | HMAC-SHA1 | HMAC-SHA256/384 | AEAD | GOST 28147-89 IMIT | GOST R 34.11-94 |
Compression
[edit]Note the CRIME security exploit takes advantage of TLS compression, so conservative implementations do not enable compression at the TLS level. HTTP compression is unrelated and unaffected by this exploit, but is exploited by the related BREACH attack.
Implementation | DEFLATE[186] (insecure) |
---|---|
Botan | No |
BSAFE[39] | No |
cryptlib | No |
GnuTLS | Disabled by default |
JSSE | No |
LibreSSL | No[44] |
MatrixSSL | Disabled by default |
Mbed TLS | Disabled by default |
NSS | Disabled by default |
OpenSSL | Disabled by default |
Rustls | No |
Schannel | No |
Secure Transport | No |
wolfSSL | Disabled by default |
Erlang/OTP SSL application | No |
Implementation | DEFLATE |
Extensions
[edit]In this section the extensions each implementation supports are listed. Note that the Secure Renegotiation extension is critical for HTTPS client security [citation needed]. TLS clients not implementing it are vulnerable to attacks, irrespective of whether the client implements TLS renegotiation.
Implementation | Secure Renegotiation [187] | Server Name Indication [188] | ALPN [189] | Certificate Status Request [188] | OpenPGP [190] | Supplemental Data [191] | Session Ticket [192] | Keying Material Exporter [193] | Maximum Fragment Length [188] | Truncated HMAC [188] | Encrypt-then-MAC [27] | TLS Fallback SCSV [194] | Extended Master Secret [195] | ClientHello Padding [196] | Raw Public Keys [197] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes[198] | No | No | No | Yes | Yes | Yes | No | Yes | Yes[199] | Yes[200] | No | Unknown |
BSAFE SSL-J | Yes | Yes | No | Yes | No | No | No | No | Yes | No | No | No | Yes | No | No |
cryptlib | Yes | Yes | No | No | No | Yes | No | No | No[201] | No | Yes | Yes | Yes | No | Unknown |
GnuTLS | Yes | Yes | Yes[202] | Yes | No[203] | Yes | Yes | Yes | Yes | No | Yes[40] | Yes[204] | Yes[40] | Yes[205] | Yes[206] |
JSSE | Yes | Yes[70] | Yes[70] | Yes | No | No | Yes | No | Yes | No | No | No | Yes | No | No |
LibreSSL | Yes | Yes | Yes[207] | Yes | No | No? | Yes | Yes? | No | No | No | Server side only[208] | No | Yes | No |
MatrixSSL | Yes | Yes | Yes[209] | Yes[137] | No | No | Yes | No | Yes | Yes | No | Yes[137] | Yes[137] | No | Unknown |
Mbed TLS | Yes | Yes | Yes[210] | No | No | No | Yes | No | Yes | Disabled by default[49] | Yes[211] | Yes[211] | Yes[211] | No | No |
NSS | Yes | Yes | Yes[212] | Yes | No[213] | No | Yes | Yes | No | No | No[214] | Yes[215] | Yes[216] | Yes[212] | Unknown |
OpenSSL | Yes | Yes | Yes[57] | Yes | No | No? | Yes | Yes | Yes | No | Yes | Yes[217] | Yes[55] | Yes[218] | Yes[219] |
Rustls | Yes | Yes | Yes | Yes | No | No | Yes | Yes | No | No | No | No [220] | Yes | No | Unknown |
Schannel XP/2003 | No | No | No | No | No | Yes | No | No | No | No | No | No | No | No | Unknown |
Schannel Vista/2008 | Yes | Yes | No | No | No | Yes | No | No | No | No | No | No | Yes[221] | No | Unknown |
Schannel 7/2008R2 | Yes | Yes | No | Yes | No | Yes | No | No | No | No | No | No | Yes[221] | No | Unknown |
Schannel 8/2012 | Yes | Yes | No | Yes | No | Yes | Client side only[222] | No | No | No | No | No | Yes[221] | No | Unknown |
Schannel 8.1/2012R2, 10 | Yes | Yes | Yes | Yes | No | Yes | Yes[222] | No | No | No | No | No | Yes[221] | No | Unknown |
Secure Transport | Yes | Yes | Unknown | No | No | Yes | No | No | No | No | No | No | No | No | Unknown |
wolfSSL | Yes | Yes | Yes[157] | Yes | No | No | Yes | No | Yes | Yes | Yes[223] | No | Yes | No | Unknown |
Erlang/OTP SSL application | Yes | Yes | Yes | No | No | No | No | No | No | No | No | Yes | No | No | Unknown |
Implementation | Secure Renegotiation | Server Name Indication | ALPN | Certificate Status Request | OpenPGP | Supplemental Data | Session Ticket | Keying Material Exporter | Maximum Fragment Length | Truncated HMAC | Encrypt-then-MAC | TLS Fallback SCSV | Extended Master Secret | ClientHello Padding | Raw Public Keys |
Assisted cryptography
[edit]This section lists the known ability of an implementation to take advantage of CPU instruction sets that optimize encryption, or utilize system specific devices that allow access to underlying cryptographic hardware for acceleration or for data separation.
Implementation | PKCS #11 device | Intel AES-NI | VIA PadLock | ARMv8-A | Intel SGX | Intel QAT | Intel SHA | NXP CAAM |
---|---|---|---|---|---|---|---|---|
Botan | Yes[224] | Yes | No | Yes | No | No | No | |
BSAFE SSL-J [a][b] | Yes | Yes | No | Yes | No | No | Yes | No |
cryptlib | Yes | Yes | Yes | No | No | |||
Crypto++ | Yes | No | Yes | |||||
GnuTLS | Yes | Yes | Yes | Yes[227] | No | No | Yes | |
JSSE | Yes | Yes[228] | No | No | No | No | ||
LibreSSL | No | Yes | Yes | No | No | |||
MatrixSSL | Yes | Yes | No | Yes | No | No | ||
Mbed TLS | Yes | Yes[229] | Yes | No | No | No | ||
NSS | Yes[230] | Yes[231] | No[232] | No | No | No | ||
OpenSSL | Yes[233] | Yes | Yes | Yes[234] | No | Yes | Partial | |
Rustls | Yes | Yes | Yes | |||||
Schannel | No | Yes | No | No | No | No | ||
Secure Transport | No | Yes[235][236] | No | Yes | No | No | ||
wolfSSL | Yes | Yes | No | Yes | Yes | Yes[237] | Yes[238] | |
Implementation | PKCS #11 device | Intel AES-NI | VIA PadLock | ARMv8-A | Intel SGX | Intel QAT | Intel SHA | NXP CAAM |
System-specific backends
[edit]This section lists the ability of an implementation to take advantage of the available operating system specific backends, or even the backends provided by another implementation.
Implementation | /dev/crypto | af_alg | Windows CSP | CommonCrypto | OpenSSL engine |
---|---|---|---|---|---|
Botan | No | No | No | No | Partial |
BSAFE | No | No | No | No | No |
cryptlib | No | No | No | No | No |
GnuTLS | Yes | Yes | No | No | No |
JSSE | No | No | Yes | No | No |
LibreSSL | No | No | No | No | No[239] |
MatrixSSL | No | No | No | Yes | Yes |
Mbed TLS | No | No | No | No | No |
NSS | No | No | No | No | No |
OpenSSL | Yes | Yes | No | No | Yes |
Rustls | No | Yes [240] | No | No | No |
Schannel | No | No | Yes | No | No |
Secure Transport | No | No | No | Yes | No |
wolfSSL | Yes | Yes | Partial | No | Yes[241] |
Erlang/OTP SSL application | No | No | No | No | Yes |
Implementation | /dev/crypto | af_alg | Windows CSP | CommonCrypto | OpenSSL engine |
Cryptographic module/token support
[edit]Implementation | TPM support | Hardware token support | Objects identified via |
---|---|---|---|
Botan | Partial[200] | PKCS #11 | |
BSAFE SSL-J | No | No | |
cryptlib | No | PKCS #11 | User-defined label |
GnuTLS | Yes | PKCS #11 | RFC 7512 PKCS #11 URLs[242] |
JSSE | No | PKCS11 Java Cryptography Architecture, Java Cryptography Extension | |
LibreSSL | Yes | PKCS #11 (via 3rd party module) | Custom method |
MatrixSSL | No | PKCS #11 | |
Mbed TLS | No | PKCS #11 (via libpkcs11-helper) or standard hooks | Custom method |
NSS | No | PKCS #11 | |
OpenSSL | Yes | PKCS #11 (via 3rd party module)[243] | RFC 7512 PKCS #11 URLs[242] |
Rustls | No | Microsoft CryptoAPI [244] | Custom method |
Schannel | No | Microsoft CryptoAPI | UUID, User-defined label |
Secure Transport | |||
wolfSSL | Yes | PKCS #11 | |
Implementation | TPM support | Hardware token support | Objects identified via |
Code dependencies
[edit]Implementation | Dependencies | Optional dependencies |
---|---|---|
Botan | C++20 | SQLite zlib (compression) bzip2 (compression) liblzma (compression) boost trousers (TPM) |
GnuTLS | libc nettle gmp | zlib (compression) p11-kit (PKCS #11) trousers (TPM) libunbound (DANE) |
JSSE | Java | |
MatrixSSL | none | zlib (compression) |
MatrixSSL-open | libc or newlib | |
Mbed TLS | libc | libpkcs11-helper (PKCS #11) zlib (compression) |
NSS | libc libnspr4 libsoftokn3 libplc4 libplds4 | zlib (compression) |
Rustls | rust core library | rust std library zlib-rs (compression) brotli (compression) ring (cryptography) aws-lc-rs (cryptography) |
OpenSSL | libc | zlib (compression) brotli (compression) zstd (compression) |
wolfSSL | None | libc zlib (compression) |
Erlang/OTP SSL application | libcrypto (from OpenSSL), Erlang/OTP and its public_key, crypto and asn1 applications | Erlang/OTP -inets (http fetching of CRLs) |
Implementation | Dependencies | Optional dependencies |
Development environment
[edit]Implementation | Namespace | Build tools | API manual | Crypto back-end | OpenSSL compatibility Layer[clarify] |
---|---|---|---|---|---|
Botan | Botan::TLS | Makefile | Sphinx | Included (pluggable) | No |
Bouncy Castle | org.bouncycastle | Java Development Environment | Programmers reference manual (PDF) | Included (pluggable) | No |
BSAFE SSL-J | com.rsa.asn1[a] com.rsa.certj[b] | Java classloader | Javadoc, Developer's guide (HTML) | Included | No |
cryptlib | crypt* | makefile, MSVC project workspaces | Programmers reference manual (PDF), architecture design manual (PDF) | Included (monolithic) | No |
GnuTLS | gnutls_* | Autoconf, automake, libtool | Manual and API reference (HTML, PDF) | External, libnettle | Yes (limited) |
JSSE | javax.net.ssl sun.security.ssl | Makefile | API Reference (HTML) + | Java Cryptography Architecture, Java Cryptography Extension | No |
MatrixSSL | matrixSsl_* ps* | Makefile, MSVC project workspaces, Xcode projects for OS X and iOS | API Reference (PDF), Integration Guide | Included (pluggable) | Yes (Subset: SSL_read, SSL_write, etc.) |
Mbed TLS | mbedtls_ssl_* mbedtls_sha1_* | Makefile, CMake, MSVC project workspaces, yotta | API Reference + High Level and Module Level Documentation (HTML) | Included (monolithic) | No |
NSS | CERT_* SEC_* | Makefile | Manual (HTML) | Included, PKCS#11 based[245] | Yes (separate package called nss_compat_ossl[246]) |
OpenSSL | SSL_* SHA1_* | Makefile | Man pages | Included (monolithic) | — |
Rustls | rustls:: | cargo | API reference and design manual | Two options included (pluggable) | Yes[247] (subset) |
wolfSSL | wolfSSL_* CyaSSL_* | Autoconf, automake, libtool, MSVC project workspaces, XCode projects, CodeWarrior projects, MPLAB X projects, Keil, IAR, Clang, GCC, e2Studio | Manual and API Reference (HTML, PDF) | Included (monolithic) | Yes (about 60% of API) |
Implementation | Namespace | Build tools | API manual | Crypto back-end | OpenSSL compatibility layer |
Portability concerns
[edit]Implementation | Platform requirements | Network requirements | Thread safety | Random seed | Able to cross-compile | No OS (bare metal) | Supported operating systems |
---|---|---|---|---|---|---|---|
Botan | C++11 | None | Thread-safe | Platform-dependent | Yes | Windows, Linux, macOS, Android, iOS, FreeBSD, OpenBSD, Solaris, AIX, HP-UX, QNX, BeOS, IncludeOS | |
BSAFE SSL-J | Java | Java SE network components | Thread-safe | Depends on java.security.SecureRandom | Yes | No | FreeBSD, Linux, macOS, Microsoft Windows, Android, AIX, Solaris |
cryptlib | C89 | POSIX send() and recv(). API to supply your own replacement | Thread-safe | Platform-dependent, including hardware sources | Yes | Yes | AMX, BeOS, ChorusOS, DOS, eCos, FreeRTOS/OpenRTOS, uItron, MVS, OS/2, Palm OS, QNX Neutrino, RTEMS, Tandem NonStop, ThreadX, uC/OS II, Unix (AIX, FreeBSD, HPUX, Linux, macOS, Solaris, etc.), VDK, VM/CMS, VxWorks, Win16, Win32, Win64, WinCE/PocketPC/etc, XMK |
GnuTLS | C89 | POSIX send() and recv(). API to supply your own replacement. | Thread-safe, needs custom mutex hooks if neither POSIX nor Windows threads are available. | Platform dependent | Yes | No | Generally any POSIX platforms or Windows, commonly tested platforms include Linux, Win32/64, macOS, Solaris, OpenWRT, FreeBSD, NetBSD, OpenBSD. |
JSSE | Java | Java SE network components | Thread-safe | Depends on java.security.SecureRandom | Yes | Java based, platform-independent | |
MatrixSSL | C89 | None | Thread-safe | Platform dependent | Yes | Yes | All |
Mbed TLS | C89 | POSIX read() and write(). API to supply your own replacement. | Threading layer available (POSIX or own hooks) | Random seed set through entropy pool | Yes | Yes | Known to work on: Win32/64, Linux, macOS, Solaris, FreeBSD, NetBSD, OpenBSD, OpenWRT, iPhone (iOS), Xbox, Android, eCos, SeggerOS, RISC OS |
NSS | C89, NSPR[248] | NSPR[248] PR_Send() and PR_Recv(). API to supply your own replacement. | Thread-safe | Platform dependent[249] | Yes (but cumbersome) | No | AIX, Android, FreeBSD, NetBSD, OpenBSD, BeOS, HP-UX, IRIX, Linux, macOS, OS/2, Solaris, OpenVMS, Amiga DE, Windows, WinCE, Sony PlayStation |
Rustls | Rust (programming language) | None | Thread-safe | Platform dependent | Yes | Yes | All supported by Rust (programming language) |
OpenSSL | C89 | None | Thread-safe | Platform dependent | Yes | No | Unix-like, DOS (with djgpp), Windows, OpenVMS, NetWare, eCos |
wolfSSL | C89 | POSIX send() and recv(). API to supply your own replacement. | Thread-safe | Random seed set through wolfCrypt | Yes | Yes | Win32/64, Linux, macOS, Solaris, ThreadX, VxWorks, FreeBSD, NetBSD, OpenBSD, embedded Linux, Yocto Project, OpenEmbedded, WinCE, Haiku, OpenWRT, iPhone (iOS), Android, Nintendo Wii and Gamecube through DevKitPro, QNX, MontaVista, NonStop, TRON/ITRON/μITRON, eCos, Micrium μC/OS-III, FreeRTOS, SafeRTOS, NXP/Freescale MQX, Nucleus, TinyOS, HP/UX, AIX, ARC MQX, Keil RTX, TI-RTOS, uTasker, embOS, INtime, Mbed, uT-Kernel, RIOT, CMSIS-RTOS, FROSTED, Green Hills INTEGRITY, TOPPERS, PetaLinux, Apache mynewt |
Implementation | Platform requirements | Network requirements | Thread safety | Random seed | Able to cross-compile | No OS (bare metal) | Supported operating systems |
See also
[edit]- SCTP — with DTLS support
- DCCP — with DTLS support
- SRTP — with DTLS support (DTLS-SRTP) and Secure Real-Time Transport Control Protocol (SRTCP)
References
[edit]- ^ "Botan: Release Notes". Retrieved 2024-08-13.
- ^ "Release Notes - bouncycastle.org". 2023-11-13. Retrieved 2023-11-18.
- ^ "Java LTS Resources - bouncycastle.org". 2024-03-01. Retrieved 2024-03-31.
- ^ "Java FIPS Resources - bouncycastle.org". 2023-09-28. Retrieved 2022-09-29.
- ^ "The Legion of the Bouncy Castle C# Cryptography APIs". 2024-02-05. Retrieved 2024-02-06.
- ^ "C# .NET FIPS Resources - bouncycastle.org". 2023-02-28. Retrieved 2023-02-28.
- ^ "Dell BSAFE SSL-J 6.6 Release Advisory". Dell.
- ^ "Dell BSAFE SSL-J 7.2.1 Release Advisory". Dell.
- ^ "Dell BSAFE Micro Edition Suite 4.6.2 Release Advisory".
- ^ "Dell BSAFE Micro Edition Suite 5.0.2.1 Release Advisory".
- ^ Gutmann, Peter (2019). "Downloading". cryptlib. University of Auckland School of Computer Science. Retrieved 2019-08-07.
- ^ "gnutls 3.8.5".
- ^ "JDK Releases". Oracle Corporation. Retrieved 2022-12-09.
- ^ "JDK Releases". Oracle Corporation. Retrieved 2024-01-17.
- ^ Brent Cook (12 May 2024). "LibreSSL 3.9.2 Released". Retrieved 12 May 2024.
- ^ The features listed are for the closed source version
- ^ "MatrixSSL 4.2.2 Open release". 2019-09-11. Retrieved 2020-03-20.
- ^ "Release 3.6.0". 28 March 2024. Retrieved 23 April 2024.
- ^ a b "NSS:Release versions". Mozilla Wiki. Retrieved 7 November 2022.
- ^ "OpenSSL version 3.3.1 published". 4 June 2024. Retrieved 5 June 2024.
- ^ "rustls/rustls releases". Github. Retrieved 28 August 2024.
- ^ "wolfSSL product description". Retrieved 2016-05-03.
- ^ "wolfSSL Embedded SSL/TLS". Retrieved 2016-05-03.
- ^ "wolfSSL ChangeLog". 2023-10-31. Retrieved 2023-10-31.
- ^ Prohibiting Secure Sockets Layer (SSL) Version 2.0. doi:10.17487/RFC6176. RFC 6176.
- ^ Vaudenay