Look up a cipher suite by its two-byte TLS cipher ID.
Declared in <openssl/ssl.h>
SSL_CIPHER const*
SSL_CIPHER_find(
SSL* ssl,
unsigned char const* ptr);
Matching SSL_CIPHER, or NULL if not found or on error.
| Name | Description |
|---|---|
| ssl | SSL object used to resolve the ID against known suites (may be unused by the implementation). |
| ptr | Two-byte cipher ID in network byte order (for example from SSL_client_hello_get0_ciphers). |