cipher names

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

cipher names

Jeremy Harris
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?
--
Thanks,
  Jeremy
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: cipher names

Matt Caswell-2


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
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users