OPENSSL_cipher_name

Map an RFC cipher suite name to the corresponding OpenSSL cipher name.

Synopsis

Declared in <openssl/ssl.h>

char const*
OPENSSL_cipher_name(char const* rfc_name);

Return Value

OpenSSL cipher name string (do not free), or "UNKNOWN" if unmapped.

Parameters

NameDescription
rfc_nameRFC standard name (for example "TLS_AES_128_GCM_SHA256").