Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6.20, 11.4.4
-
None
Description
When connecting to a server linked against OpenSSL TLS v1.3 specific ciphers have their name start with just TLS_, e.g.: TLS_AES_128_GCM_SHA256 for cipher ID 0x1301.
When the server is linked against WolfSSL it shows a TLS13_ prefix and slightly different formatting, e.g. TLS13-AES128-GCM-SHA256
I think it's a WolfSSL bug. WolfSSL has its own "cipher name" and "IANA cipher name" (matches OpenSSL name). It has wolfSSL_get_cipher_name() function that returns WolfSSL name and wolfSSL_get_cipher_name_iana() which returns IANA name. And it has OpenSSL compatibility header openssl/ssl.h which defines
I think it's wrong, OpenSSL compatible function should return OpenSSL compatible cipher names, that is SSL_get_cipher should be mapped to wolfSSL_get_cipher (which uses GetCipherNameIana internally)