[openssl-users] cipher names

Matt Caswell matt at openssl.org
Tue Jan 15 13:36:07 UTC 2019



On 15/01/2019 13:08, Jeremy Harris wrote:
> Hi,
> 
> RFC 8316 section 4.3 gives a need for cipher names per the
> IANA registry https://www.iana.org/assignments/tls-parameters
> 
> Those have underbars not hyphens, lead with a "TLS_" and
> have an embedded "WITH_", in contrast with the strings
> returned by SSL_get_current_cipher().
> 
> Is there a supported way of getting the IANA-format name?
> 

You can use SSL_CIPHER_standard_name() for this:

https://www.openssl.org/docs/man1.1.1/man3/SSL_CIPHER_standard_name.html

Matt


More information about the openssl-users mailing list