Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
ssl.h File Reference
#include <openssl/e_os2.h>
#include <openssl/opensslconf.h>
#include <openssl/comp.h>
#include <openssl/bio.h>
#include <openssl/x509.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/lhash.h>
#include <openssl/pem.h>
#include <openssl/hmac.h>
#include <openssl/async.h>
#include <openssl/safestack.h>
#include <openssl/symhacks.h>
#include <openssl/ct.h>
#include <openssl/sslerr.h>
#include <openssl/ssl2.h>
#include <openssl/ssl3.h>
#include <openssl/tls1.h>
#include <openssl/dtls1.h>
#include <openssl/srtp.h>
+ Include dependency graph for ssl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  srtp_protection_profile_st
 

Macros

#define SSL_SESSION_ASN1_VERSION   0x0001
 
#define SSL_MAX_SSL_SESSION_ID_LENGTH   32
 
#define SSL_MAX_SID_CTX_LENGTH   32
 
#define SSL_MIN_RSA_MODULUS_LENGTH_IN_BYTES   (512/8)
 
#define SSL_MAX_KEY_ARG_LENGTH   8
 
#define SSL_MAX_MASTER_KEY_LENGTH   48
 
#define SSL_MAX_PIPELINES   32
 
#define SSL_TXT_LOW   "LOW"
 
#define SSL_TXT_MEDIUM   "MEDIUM"
 
#define SSL_TXT_HIGH   "HIGH"
 
#define SSL_TXT_FIPS   "FIPS"
 
#define SSL_TXT_aNULL   "aNULL"
 
#define SSL_TXT_eNULL   "eNULL"
 
#define SSL_TXT_NULL   "NULL"
 
#define SSL_TXT_kRSA   "kRSA"
 
#define SSL_TXT_kDHr   "kDHr"/* this cipher class has been removed */
 
#define SSL_TXT_kDHd   "kDHd"/* this cipher class has been removed */
 
#define SSL_TXT_kDH   "kDH"/* this cipher class has been removed */
 
#define SSL_TXT_kEDH   "kEDH"/* alias for kDHE */
 
#define SSL_TXT_kDHE   "kDHE"
 
#define SSL_TXT_kECDHr   "kECDHr"/* this cipher class has been removed */
 
#define SSL_TXT_kECDHe   "kECDHe"/* this cipher class has been removed */
 
#define SSL_TXT_kECDH   "kECDH"/* this cipher class has been removed */
 
#define SSL_TXT_kEECDH   "kEECDH"/* alias for kECDHE */
 
#define SSL_TXT_kECDHE   "kECDHE"
 
#define SSL_TXT_kPSK   "kPSK"
 
#define SSL_TXT_kRSAPSK   "kRSAPSK"
 
#define SSL_TXT_kECDHEPSK   "kECDHEPSK"
 
#define SSL_TXT_kDHEPSK   "kDHEPSK"
 
#define SSL_TXT_kGOST   "kGOST"
 
#define SSL_TXT_kSRP   "kSRP"
 
#define SSL_TXT_aRSA   "aRSA"
 
#define SSL_TXT_aDSS   "aDSS"
 
#define SSL_TXT_aDH   "aDH"/* this cipher class has been removed */
 
#define SSL_TXT_aECDH   "aECDH"/* this cipher class has been removed */
 
#define SSL_TXT_aECDSA   "aECDSA"
 
#define SSL_TXT_aPSK   "aPSK"
 
#define SSL_TXT_aGOST94   "aGOST94"
 
#define SSL_TXT_aGOST01   "aGOST01"
 
#define SSL_TXT_aGOST12   "aGOST12"
 
#define SSL_TXT_aGOST   "aGOST"
 
#define SSL_TXT_aSRP   "aSRP"
 
#define SSL_TXT_DSS   "DSS"
 
#define SSL_TXT_DH   "DH"
 
#define SSL_TXT_DHE   "DHE"/* same as "kDHE:-ADH" */
 
#define SSL_TXT_EDH   "EDH"/* alias for DHE */
 
#define SSL_TXT_ADH   "ADH"
 
#define SSL_TXT_RSA   "RSA"
 
#define SSL_TXT_ECDH   "ECDH"
 
#define SSL_TXT_EECDH   "EECDH"/* alias for ECDHE" */
 
#define SSL_TXT_ECDHE   "ECDHE"/* same as "kECDHE:-AECDH" */
 
#define SSL_TXT_AECDH   "AECDH"
 
#define SSL_TXT_ECDSA   "ECDSA"
 
#define SSL_TXT_PSK   "PSK"
 
#define SSL_TXT_SRP   "SRP"
 
#define SSL_TXT_DES   "DES"
 
#define SSL_TXT_3DES   "3DES"
 
#define SSL_TXT_RC4   "RC4"
 
#define SSL_TXT_RC2   "RC2"
 
#define SSL_TXT_IDEA   "IDEA"
 
#define SSL_TXT_SEED   "SEED"
 
#define SSL_TXT_AES128   "AES128"
 
#define SSL_TXT_AES256   "AES256"
 
#define SSL_TXT_AES   "AES"
 
#define SSL_TXT_AES_GCM   "AESGCM"
 
#define SSL_TXT_AES_CCM   "AESCCM"
 
#define SSL_TXT_AES_CCM_8   "AESCCM8"
 
#define SSL_TXT_CAMELLIA128   "CAMELLIA128"
 
#define SSL_TXT_CAMELLIA256   "CAMELLIA256"
 
#define SSL_TXT_CAMELLIA   "CAMELLIA"
 
#define SSL_TXT_CHACHA20   "CHACHA20"
 
#define SSL_TXT_GOST   "GOST89"
 
#define SSL_TXT_ARIA   "ARIA"
 
#define SSL_TXT_ARIA_GCM   "ARIAGCM"
 
#define SSL_TXT_ARIA128   "ARIA128"
 
#define SSL_TXT_ARIA256   "ARIA256"
 
#define SSL_TXT_MD5   "MD5"
 
#define SSL_TXT_SHA1   "SHA1"
 
#define SSL_TXT_SHA   "SHA"/* same as "SHA1" */
 
#define SSL_TXT_GOST94   "GOST94"
 
#define SSL_TXT_GOST89MAC   "GOST89MAC"
 
#define SSL_TXT_GOST12   "GOST12"
 
#define SSL_TXT_GOST89MAC12   "GOST89MAC12"
 
#define SSL_TXT_SHA256   "SHA256"
 
#define SSL_TXT_SHA384   "SHA384"
 
#define SSL_TXT_SSLV3   "SSLv3"
 
#define SSL_TXT_TLSV1   "TLSv1"
 
#define SSL_TXT_TLSV1_1   "TLSv1.1"
 
#define SSL_TXT_TLSV1_2   "TLSv1.2"
 
#define SSL_TXT_ALL   "ALL"
 
#define SSL_TXT_CMPALL   "COMPLEMENTOFALL"
 
#define SSL_TXT_CMPDEF   "COMPLEMENTOFDEFAULT"
 
#define SSL_DEFAULT_CIPHER_LIST   "ALL:!COMPLEMENTOFDEFAULT:!eNULL"
 
#define TLS_DEFAULT_CIPHERSUITES
 
#define SSL_SENT_SHUTDOWN   1
 
#define SSL_RECEIVED_SHUTDOWN   2
 
#define SSL_FILETYPE_ASN1   X509_FILETYPE_ASN1
 
#define SSL_FILETYPE_PEM   X509_FILETYPE_PEM
 
#define SSL_EXT_TLS_ONLY   0x0001
 
#define SSL_EXT_DTLS_ONLY   0x0002
 
#define SSL_EXT_TLS_IMPLEMENTATION_ONLY   0x0004
 
#define SSL_EXT_SSL3_ALLOWED   0x0008
 
#define SSL_EXT_TLS1_2_AND_BELOW_ONLY   0x0010
 
#define SSL_EXT_TLS1_3_ONLY   0x0020
 
#define SSL_EXT_IGNORE_ON_RESUMPTION   0x0040
 
#define SSL_EXT_CLIENT_HELLO   0x0080
 
#define SSL_EXT_TLS1_2_SERVER_HELLO   0x0100
 
#define SSL_EXT_TLS1_3_SERVER_HELLO   0x0200
 
#define SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS   0x0400
 
#define SSL_EXT_TLS1_3_HELLO_RETRY_REQUEST   0x0800
 
#define SSL_EXT_TLS1_3_CERTIFICATE   0x1000
 
#define SSL_EXT_TLS1_3_NEW_SESSION_TICKET   0x2000
 
#define SSL_EXT_TLS1_3_CERTIFICATE_REQUEST   0x4000
 
#define SSL_OP_LEGACY_SERVER_CONNECT   0x00000004U
 
#define SSL_OP_TLSEXT_PADDING   0x00000010U
 
#define SSL_OP_SAFARI_ECDHE_ECDSA_BUG   0x00000040U
 
#define SSL_OP_ALLOW_NO_DHE_KEX   0x00000400U
 
#define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS   0x00000800U
 
#define SSL_OP_NO_QUERY_MTU   0x00001000U
 
#define SSL_OP_COOKIE_EXCHANGE   0x00002000U
 
#define SSL_OP_NO_TICKET   0x00004000U
 
#define SSL_OP_CISCO_ANYCONNECT   0x00008000U
 
#define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   0x00010000U
 
#define SSL_OP_NO_COMPRESSION   0x00020000U
 
#define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION   0x00040000U
 
#define SSL_OP_NO_ENCRYPT_THEN_MAC   0x00080000U
 
#define SSL_OP_ENABLE_MIDDLEBOX_COMPAT   0x00100000U
 
#define SSL_OP_PRIORITIZE_CHACHA   0x00200000U
 
#define SSL_OP_CIPHER_SERVER_PREFERENCE   0x00400000U
 
#define SSL_OP_TLS_ROLLBACK_BUG   0x00800000U
 
#define SSL_OP_NO_ANTI_REPLAY   0x01000000U
 
#define SSL_OP_NO_SSLv3   0x02000000U
 
#define SSL_OP_NO_TLSv1   0x04000000U
 
#define SSL_OP_NO_TLSv1_2   0x08000000U
 
#define SSL_OP_NO_TLSv1_1   0x10000000U
 
#define SSL_OP_NO_TLSv1_3   0x20000000U
 
#define SSL_OP_NO_DTLSv1   0x04000000U
 
#define SSL_OP_NO_DTLSv1_2   0x08000000U
 
#define SSL_OP_NO_SSL_MASK
 
#define SSL_OP_NO_DTLS_MASK   (SSL_OP_NO_DTLSv1|SSL_OP_NO_DTLSv1_2)
 
#define SSL_OP_NO_RENEGOTIATION   0x40000000U
 
#define SSL_OP_CRYPTOPRO_TLSEXT_BUG   0x80000000U
 
#define SSL_OP_ALL
 
#define SSL_OP_MICROSOFT_SESS_ID_BUG   0x0
 
#define SSL_OP_NETSCAPE_CHALLENGE_BUG   0x0
 
#define SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG   0x0
 
#define SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG   0x0
 
#define SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER   0x0
 
#define SSL_OP_MSIE_SSLV2_RSA_PADDING   0x0
 
#define SSL_OP_SSLEAY_080_CLIENT_DH_BUG   0x0
 
#define SSL_OP_TLS_D5_BUG   0x0
 
#define SSL_OP_TLS_BLOCK_PADDING_BUG   0x0
 
#define SSL_OP_SINGLE_ECDH_USE   0x0
 
#define SSL_OP_SINGLE_DH_USE   0x0
 
#define SSL_OP_EPHEMERAL_RSA   0x0
 
#define SSL_OP_NO_SSLv2   0x0
 
#define SSL_OP_PKCS1_CHECK_1   0x0
 
#define SSL_OP_PKCS1_CHECK_2   0x0
 
#define SSL_OP_NETSCAPE_CA_DN_BUG   0x0
 
#define SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG   0x0
 
#define SSL_MODE_ENABLE_PARTIAL_WRITE   0x00000001U
 
#define SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER   0x00000002U
 
#define SSL_MODE_AUTO_RETRY   0x00000004U
 
#define SSL_MODE_NO_AUTO_CHAIN   0x00000008U
 
#define SSL_MODE_RELEASE_BUFFERS   0x00000010U
 
#define SSL_MODE_SEND_CLIENTHELLO_TIME   0x00000020U
 
#define SSL_MODE_SEND_SERVERHELLO_TIME   0x00000040U
 
#define SSL_MODE_SEND_FALLBACK_SCSV   0x00000080U
 
#define SSL_MODE_ASYNC   0x00000100U
 
#define SSL_MODE_DTLS_SCTP_LABEL_LENGTH_BUG   0x00000400U
 
#define SSL_CERT_FLAG_TLS_STRICT   0x00000001U
 
#define SSL_CERT_FLAG_SUITEB_128_LOS_ONLY   0x10000
 
#define SSL_CERT_FLAG_SUITEB_192_LOS   0x20000
 
#define SSL_CERT_FLAG_SUITEB_128_LOS   0x30000
 
#define SSL_CERT_FLAG_BROKEN_PROTOCOL   0x10000000
 
#define SSL_BUILD_CHAIN_FLAG_UNTRUSTED   0x1
 
#define SSL_BUILD_CHAIN_FLAG_NO_ROOT   0x2
 
#define SSL_BUILD_CHAIN_FLAG_CHECK   0x4
 
#define SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR   0x8
 
#define SSL_BUILD_CHAIN_FLAG_CLEAR_ERROR   0x10
 
#define CERT_PKEY_VALID   0x1
 
#define CERT_PKEY_SIGN   0x2
 
#define CERT_PKEY_EE_SIGNATURE   0x10
 
#define CERT_PKEY_CA_SIGNATURE   0x20
 
#define CERT_PKEY_EE_PARAM   0x40
 
#define CERT_PKEY_CA_PARAM   0x80
 
#define CERT_PKEY_EXPLICIT_SIGN   0x100
 
#define CERT_PKEY_ISSUER_NAME   0x200
 
#define CERT_PKEY_CERT_TYPE   0x400
 
#define CERT_PKEY_SUITEB   0x800
 
#define SSL_CONF_FLAG_CMDLINE   0x1
 
#define SSL_CONF_FLAG_FILE   0x2
 
#define SSL_CONF_FLAG_CLIENT   0x4
 
#define SSL_CONF_FLAG_SERVER   0x8
 
#define SSL_CONF_FLAG_SHOW_ERRORS   0x10
 
#define SSL_CONF_FLAG_CERTIFICATE   0x20
 
#define SSL_CONF_FLAG_REQUIRE_PRIVATE   0x40
 
#define SSL_CONF_TYPE_UNKNOWN   0x0
 
#define SSL_CONF_TYPE_STRING   0x1
 
#define SSL_CONF_TYPE_FILE   0x2
 
#define SSL_CONF_TYPE_DIR   0x3
 
#define SSL_CONF_TYPE_NONE   0x4
 
#define SSL_COOKIE_LENGTH   4096
 
#define SSL_CTX_set_mode(ctx, op)    SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
 
#define SSL_CTX_clear_mode(ctx, op)    SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_MODE,(op),NULL)
 
#define SSL_CTX_get_mode(ctx)    SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL)
 
#define SSL_clear_mode(ssl, op)    SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)
 
#define SSL_set_mode(ssl, op)    SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
 
#define SSL_get_mode(ssl)    SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL)
 
#define SSL_set_mtu(ssl, mtu)    SSL_ctrl((ssl),SSL_CTRL_SET_MTU,(mtu),NULL)
 
#define DTLS_set_link_mtu(ssl, mtu)    SSL_ctrl((ssl),DTLS_CTRL_SET_LINK_MTU,(mtu),NULL)
 
#define DTLS_get_link_min_mtu(ssl)    SSL_ctrl((ssl),DTLS_CTRL_GET_LINK_MIN_MTU,0,NULL)
 
#define SSL_get_secure_renegotiation_support(ssl)    SSL_ctrl((ssl), SSL_CTRL_GET_RI_SUPPORT, 0, NULL)
 
#define SSL_heartbeat(ssl)    SSL_ctrl((ssl),SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT,0,NULL)
 
#define SSL_CTX_set_cert_flags(ctx, op)    SSL_CTX_ctrl((ctx),SSL_CTRL_CERT_FLAGS,(op),NULL)
 
#define SSL_set_cert_flags(s, op)    SSL_ctrl((s),SSL_CTRL_CERT_FLAGS,(op),NULL)
 
#define SSL_CTX_clear_cert_flags(ctx, op)    SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_CERT_FLAGS,(op),NULL)
 
#define SSL_clear_cert_flags(s, op)    SSL_ctrl((s),SSL_CTRL_CLEAR_CERT_FLAGS,(op),NULL)
 
#define SSL_CTX_set_msg_callback_arg(ctx, arg)   SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg))
 
#define SSL_set_msg_callback_arg(ssl, arg)   SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg))
 
#define SSL_get_extms_support(s)    SSL_ctrl((s),SSL_CTRL_GET_EXTMS_SUPPORT,0,NULL)
 
#define SSL_MAX_CERT_LIST_DEFAULT   1024*100
 
#define SSL_SESSION_CACHE_MAX_SIZE_DEFAULT   (1024*20)
 
#define SSL_SESS_CACHE_OFF   0x0000
 
#define SSL_SESS_CACHE_CLIENT   0x0001
 
#define SSL_SESS_CACHE_SERVER   0x0002
 
#define SSL_SESS_CACHE_BOTH   (SSL_SESS_CACHE_CLIENT|SSL_SESS_CACHE_SERVER)
 
#define SSL_SESS_CACHE_NO_AUTO_CLEAR   0x0080
 
#define SSL_SESS_CACHE_NO_INTERNAL_LOOKUP   0x0100
 
#define SSL_SESS_CACHE_NO_INTERNAL_STORE   0x0200
 
#define SSL_SESS_CACHE_NO_INTERNAL    (SSL_SESS_CACHE_NO_INTERNAL_LOOKUP|SSL_SESS_CACHE_NO_INTERNAL_STORE)
 
#define SSL_CTX_sess_number(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_NUMBER,0,NULL)
 
#define SSL_CTX_sess_connect(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT,0,NULL)
 
#define SSL_CTX_sess_connect_good(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT_GOOD,0,NULL)
 
#define SSL_CTX_sess_connect_renegotiate(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT_RENEGOTIATE,0,NULL)
 
#define SSL_CTX_sess_accept(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT,0,NULL)
 
#define SSL_CTX_sess_accept_renegotiate(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT_RENEGOTIATE,0,NULL)
 
#define SSL_CTX_sess_accept_good(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT_GOOD,0,NULL)
 
#define SSL_CTX_sess_hits(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_HIT,0,NULL)
 
#define SSL_CTX_sess_cb_hits(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CB_HIT,0,NULL)
 
#define SSL_CTX_sess_misses(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_MISSES,0,NULL)
 
#define SSL_CTX_sess_timeouts(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_TIMEOUTS,0,NULL)
 
#define SSL_CTX_sess_cache_full(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CACHE_FULL,0,NULL)
 
#define SSL_CTX_set_npn_advertised_cb   SSL_CTX_set_next_protos_advertised_cb
 
#define SSL_CTX_set_npn_select_cb   SSL_CTX_set_next_proto_select_cb
 
#define SSL_get0_npn_negotiated   SSL_get0_next_proto_negotiated
 
#define OPENSSL_NPN_UNSUPPORTED   0
 
#define OPENSSL_NPN_NEGOTIATED   1
 
#define OPENSSL_NPN_NO_OVERLAP   2
 
#define PSK_MAX_IDENTITY_LEN   128
 
#define PSK_MAX_PSK_LEN   256
 
#define SSL_NOTHING   1
 
#define SSL_WRITING   2
 
#define SSL_READING   3
 
#define SSL_X509_LOOKUP   4
 
#define SSL_ASYNC_PAUSED   5
 
#define SSL_ASYNC_NO_JOBS   6
 
#define SSL_CLIENT_HELLO_CB   7
 
#define SSL_want_nothing(s)   (SSL_want(s) == SSL_NOTHING)
 
#define SSL_want_read(s)   (SSL_want(s) == SSL_READING)
 
#define SSL_want_write(s)   (SSL_want(s) == SSL_WRITING)
 
#define SSL_want_x509_lookup(s)   (SSL_want(s) == SSL_X509_LOOKUP)
 
#define SSL_want_async(s)   (SSL_want(s) == SSL_ASYNC_PAUSED)
 
#define SSL_want_async_job(s)   (SSL_want(s) == SSL_ASYNC_NO_JOBS)
 
#define SSL_want_client_hello_cb(s)   (SSL_want(s) == SSL_CLIENT_HELLO_CB)
 
#define SSL_MAC_FLAG_READ_MAC_STREAM   1
 
#define SSL_MAC_FLAG_WRITE_MAC_STREAM   2
 
#define SSL_set_app_data(s, arg)   (SSL_set_ex_data(s,0,(char *)(arg)))
 
#define SSL_get_app_data(s)   (SSL_get_ex_data(s,0))
 
#define SSL_SESSION_set_app_data(s, a)
 
#define SSL_SESSION_get_app_data(s)   (SSL_SESSION_get_ex_data(s,0))
 
#define SSL_CTX_get_app_data(ctx)   (SSL_CTX_get_ex_data(ctx,0))
 
#define SSL_CTX_set_app_data(ctx, arg)
 
#define SSL_KEY_UPDATE_NONE   -1
 
#define SSL_KEY_UPDATE_NOT_REQUESTED   0
 
#define SSL_KEY_UPDATE_REQUESTED   1
 
#define SSL_ST_CONNECT   0x1000
 
#define SSL_ST_ACCEPT   0x2000
 
#define SSL_ST_MASK   0x0FFF
 
#define SSL_CB_LOOP   0x01
 
#define SSL_CB_EXIT   0x02
 
#define SSL_CB_READ   0x04
 
#define SSL_CB_WRITE   0x08
 
#define SSL_CB_ALERT   0x4000/* used in callback */
 
#define SSL_CB_READ_ALERT   (SSL_CB_ALERT|SSL_CB_READ)
 
#define SSL_CB_WRITE_ALERT   (SSL_CB_ALERT|SSL_CB_WRITE)
 
#define SSL_CB_ACCEPT_LOOP   (SSL_ST_ACCEPT|SSL_CB_LOOP)
 
#define SSL_CB_ACCEPT_EXIT   (SSL_ST_ACCEPT|SSL_CB_EXIT)
 
#define SSL_CB_CONNECT_LOOP   (SSL_ST_CONNECT|SSL_CB_LOOP)
 
#define SSL_CB_CONNECT_EXIT   (SSL_ST_CONNECT|SSL_CB_EXIT)
 
#define SSL_CB_HANDSHAKE_START   0x10
 
#define SSL_CB_HANDSHAKE_DONE   0x20
 
#define SSL_in_connect_init(a)   (SSL_in_init(a) && !SSL_is_server(a))
 
#define SSL_in_accept_init(a)   (SSL_in_init(a) && SSL_is_server(a))
 
#define SSL_ST_READ_HEADER   0xF0
 
#define SSL_ST_READ_BODY   0xF1
 
#define SSL_ST_READ_DONE   0xF2
 
#define SSL_VERIFY_NONE   0x00
 
#define SSL_VERIFY_PEER   0x01
 
#define SSL_VERIFY_FAIL_IF_NO_PEER_CERT   0x02
 
#define SSL_VERIFY_CLIENT_ONCE   0x04
 
#define SSL_VERIFY_POST_HANDSHAKE   0x08
 
#define OpenSSL_add_ssl_algorithms()   SSL_library_init()
 
#define SSLeay_add_ssl_algorithms()   SSL_library_init()
 
#define SSL_get_cipher(s)    SSL_CIPHER_get_name(SSL_get_current_cipher(s))
 
#define SSL_get_cipher_bits(s, np)    SSL_CIPHER_get_bits(SSL_get_current_cipher(s),np)
 
#define SSL_get_cipher_version(s)    SSL_CIPHER_get_version(SSL_get_current_cipher(s))
 
#define SSL_get_cipher_name(s)    SSL_CIPHER_get_name(SSL_get_current_cipher(s))
 
#define SSL_get_time(a)   SSL_SESSION_get_time(a)
 
#define SSL_set_time(a, b)   SSL_SESSION_set_time((a),(b))
 
#define SSL_get_timeout(a)   SSL_SESSION_get_timeout(a)
 
#define SSL_set_timeout(a, b)   SSL_SESSION_set_timeout((a),(b))
 
#define d2i_SSL_SESSION_bio(bp, s_id)   ASN1_d2i_bio_of(SSL_SESSION,SSL_SESSION_new,d2i_SSL_SESSION,bp,s_id)
 
#define i2d_SSL_SESSION_bio(bp, s_id)   ASN1_i2d_bio_of(SSL_SESSION,i2d_SSL_SESSION,bp,s_id)
 
#define SSL_AD_REASON_OFFSET
 
#define SSL_AD_CLOSE_NOTIFY   SSL3_AD_CLOSE_NOTIFY
 
#define SSL_AD_UNEXPECTED_MESSAGE   SSL3_AD_UNEXPECTED_MESSAGE
 
#define SSL_AD_BAD_RECORD_MAC   SSL3_AD_BAD_RECORD_MAC
 
#define SSL_AD_DECRYPTION_FAILED   TLS1_AD_DECRYPTION_FAILED
 
#define SSL_AD_RECORD_OVERFLOW   TLS1_AD_RECORD_OVERFLOW
 
#define SSL_AD_DECOMPRESSION_FAILURE   SSL3_AD_DECOMPRESSION_FAILURE
 
#define SSL_AD_HANDSHAKE_FAILURE   SSL3_AD_HANDSHAKE_FAILURE
 
#define SSL_AD_NO_CERTIFICATE   SSL3_AD_NO_CERTIFICATE
 
#define SSL_AD_BAD_CERTIFICATE   SSL3_AD_BAD_CERTIFICATE
 
#define SSL_AD_UNSUPPORTED_CERTIFICATE   SSL3_AD_UNSUPPORTED_CERTIFICATE
 
#define SSL_AD_CERTIFICATE_REVOKED   SSL3_AD_CERTIFICATE_REVOKED
 
#define SSL_AD_CERTIFICATE_EXPIRED   SSL3_AD_CERTIFICATE_EXPIRED
 
#define SSL_AD_CERTIFICATE_UNKNOWN   SSL3_AD_CERTIFICATE_UNKNOWN
 
#define SSL_AD_ILLEGAL_PARAMETER   SSL3_AD_ILLEGAL_PARAMETER
 
#define SSL_AD_UNKNOWN_CA   TLS1_AD_UNKNOWN_CA
 
#define SSL_AD_ACCESS_DENIED   TLS1_AD_ACCESS_DENIED
 
#define SSL_AD_DECODE_ERROR   TLS1_AD_DECODE_ERROR
 
#define SSL_AD_DECRYPT_ERROR   TLS1_AD_DECRYPT_ERROR
 
#define SSL_AD_EXPORT_RESTRICTION   TLS1_AD_EXPORT_RESTRICTION
 
#define SSL_AD_PROTOCOL_VERSION   TLS1_AD_PROTOCOL_VERSION
 
#define SSL_AD_INSUFFICIENT_SECURITY   TLS1_AD_INSUFFICIENT_SECURITY
 
#define SSL_AD_INTERNAL_ERROR   TLS1_AD_INTERNAL_ERROR
 
#define SSL_AD_USER_CANCELLED   TLS1_AD_USER_CANCELLED
 
#define SSL_AD_NO_RENEGOTIATION   TLS1_AD_NO_RENEGOTIATION
 
#define SSL_AD_MISSING_EXTENSION   TLS13_AD_MISSING_EXTENSION
 
#define SSL_AD_CERTIFICATE_REQUIRED   TLS13_AD_CERTIFICATE_REQUIRED
 
#define SSL_AD_UNSUPPORTED_EXTENSION   TLS1_AD_UNSUPPORTED_EXTENSION
 
#define SSL_AD_CERTIFICATE_UNOBTAINABLE   TLS1_AD_CERTIFICATE_UNOBTAINABLE
 
#define SSL_AD_UNRECOGNIZED_NAME   TLS1_AD_UNRECOGNIZED_NAME
 
#define SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE   TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE
 
#define SSL_AD_BAD_CERTIFICATE_HASH_VALUE   TLS1_AD_BAD_CERTIFICATE_HASH_VALUE
 
#define SSL_AD_UNKNOWN_PSK_IDENTITY   TLS1_AD_UNKNOWN_PSK_IDENTITY
 
#define SSL_AD_INAPPROPRIATE_FALLBACK   TLS1_AD_INAPPROPRIATE_FALLBACK
 
#define SSL_AD_NO_APPLICATION_PROTOCOL   TLS1_AD_NO_APPLICATION_PROTOCOL
 
#define SSL_ERROR_NONE   0
 
#define SSL_ERROR_SSL   1
 
#define SSL_ERROR_WANT_READ   2
 
#define SSL_ERROR_WANT_WRITE   3
 
#define SSL_ERROR_WANT_X509_LOOKUP   4
 
#define SSL_ERROR_SYSCALL
 
#define SSL_ERROR_ZERO_RETURN   6
 
#define SSL_ERROR_WANT_CONNECT   7
 
#define SSL_ERROR_WANT_ACCEPT   8
 
#define SSL_ERROR_WANT_ASYNC   9
 
#define SSL_ERROR_WANT_ASYNC_JOB   10
 
#define SSL_ERROR_WANT_CLIENT_HELLO_CB   11
 
#define SSL_CTRL_SET_TMP_DH   3
 
#define SSL_CTRL_SET_TMP_ECDH   4
 
#define SSL_CTRL_SET_TMP_DH_CB   6
 
#define SSL_CTRL_GET_CLIENT_CERT_REQUEST   9
 
#define SSL_CTRL_GET_NUM_RENEGOTIATIONS   10
 
#define SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS   11
 
#define SSL_CTRL_GET_TOTAL_RENEGOTIATIONS   12
 
#define SSL_CTRL_GET_FLAGS   13
 
#define SSL_CTRL_EXTRA_CHAIN_CERT   14
 
#define SSL_CTRL_SET_MSG_CALLBACK   15
 
#define SSL_CTRL_SET_MSG_CALLBACK_ARG   16
 
#define SSL_CTRL_SET_MTU   17
 
#define SSL_CTRL_SESS_NUMBER   20
 
#define SSL_CTRL_SESS_CONNECT   21
 
#define SSL_CTRL_SESS_CONNECT_GOOD   22
 
#define SSL_CTRL_SESS_CONNECT_RENEGOTIATE   23
 
#define SSL_CTRL_SESS_ACCEPT   24
 
#define SSL_CTRL_SESS_ACCEPT_GOOD   25
 
#define SSL_CTRL_SESS_ACCEPT_RENEGOTIATE   26
 
#define SSL_CTRL_SESS_HIT   27
 
#define SSL_CTRL_SESS_CB_HIT   28
 
#define SSL_CTRL_SESS_MISSES   29
 
#define SSL_CTRL_SESS_TIMEOUTS   30
 
#define SSL_CTRL_SESS_CACHE_FULL   31
 
#define SSL_CTRL_MODE   33
 
#define SSL_CTRL_GET_READ_AHEAD   40
 
#define SSL_CTRL_SET_READ_AHEAD   41
 
#define SSL_CTRL_SET_SESS_CACHE_SIZE   42
 
#define SSL_CTRL_GET_SESS_CACHE_SIZE   43
 
#define SSL_CTRL_SET_SESS_CACHE_MODE   44
 
#define SSL_CTRL_GET_SESS_CACHE_MODE   45
 
#define SSL_CTRL_GET_MAX_CERT_LIST   50
 
#define SSL_CTRL_SET_MAX_CERT_LIST   51
 
#define SSL_CTRL_SET_MAX_SEND_FRAGMENT   52
 
#define SSL_CTRL_SET_TLSEXT_SERVERNAME_CB   53
 
#define SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG   54
 
#define SSL_CTRL_SET_TLSEXT_HOSTNAME   55
 
#define SSL_CTRL_SET_TLSEXT_DEBUG_CB   56
 
#define SSL_CTRL_SET_TLSEXT_DEBUG_ARG   57
 
#define SSL_CTRL_GET_TLSEXT_TICKET_KEYS   58
 
#define SSL_CTRL_SET_TLSEXT_TICKET_KEYS   59
 
#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB   63
 
#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG   64
 
#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE   65
 
#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS   66
 
#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS   67
 
#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS   68
 
#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS   69
 
#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP   70
 
#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP   71
 
#define SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB   72
 
#define SSL_CTRL_SET_TLS_EXT_SRP_USERNAME_CB   75
 
#define SSL_CTRL_SET_SRP_VERIFY_PARAM_CB   76
 
#define SSL_CTRL_SET_SRP_GIVE_CLIENT_PWD_CB   77
 
#define SSL_CTRL_SET_SRP_ARG   78
 
#define SSL_CTRL_SET_TLS_EXT_SRP_USERNAME   79
 
#define SSL_CTRL_SET_TLS_EXT_SRP_STRENGTH   80
 
#define SSL_CTRL_SET_TLS_EXT_SRP_PASSWORD   81
 
#define SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT   85
 
#define SSL_CTRL_GET_DTLS_EXT_HEARTBEAT_PENDING   86
 
#define SSL_CTRL_SET_DTLS_EXT_HEARTBEAT_NO_REQUESTS   87
 
#define DTLS_CTRL_GET_TIMEOUT   73
 
#define DTLS_CTRL_HANDLE_TIMEOUT   74
 
#define SSL_CTRL_GET_RI_SUPPORT   76
 
#define SSL_CTRL_CLEAR_MODE   78
 
#define SSL_CTRL_SET_NOT_RESUMABLE_SESS_CB   79
 
#define SSL_CTRL_GET_EXTRA_CHAIN_CERTS   82
 
#define SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS   83
 
#define SSL_CTRL_CHAIN   88
 
#define SSL_CTRL_CHAIN_CERT   89
 
#define SSL_CTRL_GET_GROUPS   90
 
#define SSL_CTRL_SET_GROUPS   91
 
#define SSL_CTRL_SET_GROUPS_LIST   92
 
#define SSL_CTRL_GET_SHARED_GROUP   93
 
#define SSL_CTRL_SET_SIGALGS   97
 
#define SSL_CTRL_SET_SIGALGS_LIST   98
 
#define SSL_CTRL_CERT_FLAGS   99
 
#define SSL_CTRL_CLEAR_CERT_FLAGS   100
 
#define SSL_CTRL_SET_CLIENT_SIGALGS   101
 
#define SSL_CTRL_SET_CLIENT_SIGALGS_LIST   102
 
#define SSL_CTRL_GET_CLIENT_CERT_TYPES   103
 
#define SSL_CTRL_SET_CLIENT_CERT_TYPES   104
 
#define SSL_CTRL_BUILD_CERT_CHAIN   105
 
#define SSL_CTRL_SET_VERIFY_CERT_STORE   106
 
#define SSL_CTRL_SET_CHAIN_CERT_STORE   107
 
#define SSL_CTRL_GET_PEER_SIGNATURE_NID   108
 
#define SSL_CTRL_GET_PEER_TMP_KEY   109
 
#define SSL_CTRL_GET_RAW_CIPHERLIST   110
 
#define SSL_CTRL_GET_EC_POINT_FORMATS   111
 
#define SSL_CTRL_GET_CHAIN_CERTS   115
 
#define SSL_CTRL_SELECT_CURRENT_CERT   116
 
#define SSL_CTRL_SET_CURRENT_CERT   117
 
#define SSL_CTRL_SET_DH_AUTO   118
 
#define DTLS_CTRL_SET_LINK_MTU   120
 
#define DTLS_CTRL_GET_LINK_MIN_MTU   121
 
#define SSL_CTRL_GET_EXTMS_SUPPORT   122
 
#define SSL_CTRL_SET_MIN_PROTO_VERSION   123
 
#define SSL_CTRL_SET_MAX_PROTO_VERSION   124
 
#define SSL_CTRL_SET_SPLIT_SEND_FRAGMENT   125
 
#define SSL_CTRL_SET_MAX_PIPELINES   126
 
#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE   127
 
#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB   128
 
#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG   129
 
#define SSL_CTRL_GET_MIN_PROTO_VERSION   130
 
#define SSL_CTRL_GET_MAX_PROTO_VERSION   131
 
#define SSL_CTRL_GET_SIGNATURE_NID   132
 
#define SSL_CTRL_GET_TMP_KEY   133
 
#define SSL_CERT_SET_FIRST   1
 
#define SSL_CERT_SET_NEXT   2
 
#define SSL_CERT_SET_SERVER   3
 
#define DTLSv1_get_timeout(ssl, arg)    SSL_ctrl(ssl,DTLS_CTRL_GET_TIMEOUT,0, (void *)(arg))
 
#define DTLSv1_handle_timeout(ssl)    SSL_ctrl(ssl,DTLS_CTRL_HANDLE_TIMEOUT,0, NULL)
 
#define SSL_num_renegotiations(ssl)    SSL_ctrl((ssl),SSL_CTRL_GET_NUM_RENEGOTIATIONS,0,NULL)
 
#define SSL_clear_num_renegotiations(ssl)    SSL_ctrl((ssl),SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS,0,NULL)
 
#define SSL_total_renegotiations(ssl)    SSL_ctrl((ssl),SSL_CTRL_GET_TOTAL_RENEGOTIATIONS,0,NULL)
 
#define SSL_CTX_set_tmp_dh(ctx, dh)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))
 
#define SSL_CTX_set_tmp_ecdh(ctx, ecdh)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))
 
#define SSL_CTX_set_dh_auto(ctx, onoff)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
 
#define SSL_set_dh_auto(s, onoff)    SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)
 
#define SSL_set_tmp_dh(ssl, dh)    SSL_ctrl(ssl,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))
 
#define SSL_set_tmp_ecdh(ssl, ecdh)    SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))
 
#define SSL_CTX_add_extra_chain_cert(ctx, x509)    SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)(x509))
 
#define SSL_CTX_get_extra_chain_certs(ctx, px509)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_EXTRA_CHAIN_CERTS,0,px509)
 
#define SSL_CTX_get_extra_chain_certs_only(ctx, px509)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_EXTRA_CHAIN_CERTS,1,px509)
 
#define SSL_CTX_clear_extra_chain_certs(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS,0,NULL)
 
#define SSL_CTX_set0_chain(ctx, sk)    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk))
 
#define SSL_CTX_set1_chain(ctx, sk)    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,1,(char *)(sk))
 
#define SSL_CTX_add0_chain_cert(ctx, x509)    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN_CERT,0,(char *)(x509))
 
#define SSL_CTX_add1_chain_cert(ctx, x509)    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN_CERT,1,(char *)(x509))
 
#define SSL_CTX_get0_chain_certs(ctx, px509)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERTS,0,px509)
 
#define SSL_CTX_clear_chain_certs(ctx)    SSL_CTX_set0_chain(ctx,NULL)
 
#define SSL_CTX_build_cert_chain(ctx, flags)    SSL_CTX_ctrl(ctx,SSL_CTRL_BUILD_CERT_CHAIN, flags, NULL)
 
#define SSL_CTX_select_current_cert(ctx, x509)    SSL_CTX_ctrl(ctx,SSL_CTRL_SELECT_CURRENT_CERT,0,(char *)(x509))
 
#define SSL_CTX_set_current_cert(ctx, op)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CURRENT_CERT, op, NULL)
 
#define SSL_CTX_set0_verify_cert_store(ctx, st)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
 
#define SSL_CTX_set1_verify_cert_store(ctx, st)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
 
#define SSL_CTX_set0_chain_cert_store(ctx, st)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
 
#define SSL_CTX_set1_chain_cert_store(ctx, st)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
 
#define SSL_set0_chain(s, sk)    SSL_ctrl(s,SSL_CTRL_CHAIN,0,(char *)(sk))
 
#define SSL_set1_chain(s, sk)    SSL_ctrl(s,SSL_CTRL_CHAIN,1,(char *)(sk))
 
#define SSL_add0_chain_cert(s, x509)    SSL_ctrl(s,SSL_CTRL_CHAIN_CERT,0,(char *)(x509))
 
#define SSL_add1_chain_cert(s, x509)    SSL_ctrl(s,SSL_CTRL_CHAIN_CERT,1,(char *)(x509))
 
#define SSL_get0_chain_certs(s, px509)    SSL_ctrl(s,SSL_CTRL_GET_CHAIN_CERTS,0,px509)
 
#define SSL_clear_chain_certs(s)    SSL_set0_chain(s,NULL)
 
#define SSL_build_cert_chain(s, flags)    SSL_ctrl(s,SSL_CTRL_BUILD_CERT_CHAIN, flags, NULL)
 
#define SSL_select_current_cert(s, x509)    SSL_ctrl(s,SSL_CTRL_SELECT_CURRENT_CERT,0,(char *)(x509))
 
#define SSL_set_current_cert(s, op)    SSL_ctrl(s,SSL_CTRL_SET_CURRENT_CERT, op, NULL)
 
#define SSL_set0_verify_cert_store(s, st)    SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))
 
#define SSL_set1_verify_cert_store(s, st)    SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))
 
#define SSL_set0_chain_cert_store(s, st)    SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))
 
#define SSL_set1_chain_cert_store(s, st)    SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))
 
#define SSL_get1_groups(s, glist)    SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))
 
#define SSL_CTX_set1_groups(ctx, glist, glistlen)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(int *)(glist))
 
#define SSL_CTX_set1_groups_list(ctx, s)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))
 
#define SSL_set1_groups(s, glist, glistlen)    SSL_ctrl(s,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))
 
#define SSL_set1_groups_list(s, str)    SSL_ctrl(s,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(str))
 
#define SSL_get_shared_group(s, n)    SSL_ctrl(s,SSL_CTRL_GET_SHARED_GROUP,n,NULL)
 
#define SSL_CTX_set1_sigalgs(ctx, slist, slistlen)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS,slistlen,(int *)(slist))
 
#define SSL_CTX_set1_sigalgs_list(ctx, s)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)(s))
 
#define SSL_set1_sigalgs(s, slist, slistlen)    SSL_ctrl(s,SSL_CTRL_SET_SIGALGS,slistlen,(int *)(slist))
 
#define SSL_set1_sigalgs_list(s, str)    SSL_ctrl(s,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)(str))
 
#define SSL_CTX_set1_client_sigalgs(ctx, slist, slistlen)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS,slistlen,(int *)(slist))
 
#define SSL_CTX_set1_client_sigalgs_list(ctx, s)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS_LIST,0,(char *)(s))
 
#define SSL_set1_client_sigalgs(s, slist, slistlen)    SSL_ctrl(s,SSL_CTRL_SET_CLIENT_SIGALGS,slistlen,(int *)(slist))
 
#define SSL_set1_client_sigalgs_list(s, str)    SSL_ctrl(s,SSL_CTRL_SET_CLIENT_SIGALGS_LIST,0,(char *)(str))
 
#define SSL_get0_certificate_types(s, clist)    SSL_ctrl(s, SSL_CTRL_GET_CLIENT_CERT_TYPES, 0, (char *)(clist))
 
#define SSL_CTX_set1_client_certificate_types(ctx, clist, clistlen)
 
#define SSL_set1_client_certificate_types(s, clist, clistlen)    SSL_ctrl(s,SSL_CTRL_SET_CLIENT_CERT_TYPES,clistlen,(char *)(clist))
 
#define SSL_get_signature_nid(s, pn)    SSL_ctrl(s,SSL_CTRL_GET_SIGNATURE_NID,0,pn)
 
#define SSL_get_peer_signature_nid(s, pn)    SSL_ctrl(s,SSL_CTRL_GET_PEER_SIGNATURE_NID,0,pn)
 
#define SSL_get_peer_tmp_key(s, pk)    SSL_ctrl(s,SSL_CTRL_GET_PEER_TMP_KEY,0,pk)
 
#define SSL_get_tmp_key(s, pk)    SSL_ctrl(s,SSL_CTRL_GET_TMP_KEY,0,pk)
 
#define SSL_get0_raw_cipherlist(s, plst)    SSL_ctrl(s,SSL_CTRL_GET_RAW_CIPHERLIST,0,plst)
 
#define SSL_get0_ec_point_formats(s, plst)    SSL_ctrl(s,SSL_CTRL_GET_EC_POINT_FORMATS,0,plst)
 
#define SSL_CTX_set_min_proto_version(ctx, version)    SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)
 
#define SSL_CTX_set_max_proto_version(ctx, version)    SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)
 
#define SSL_CTX_get_min_proto_version(ctx)    SSL_CTX_ctrl(ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL)
 
#define SSL_CTX_get_max_proto_version(ctx)    SSL_CTX_ctrl(ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL)
 
#define SSL_set_min_proto_version(s, version)    SSL_ctrl(s, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)
 
#define SSL_set_max_proto_version(s, version)    SSL_ctrl(s, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)
 
#define SSL_get_min_proto_version(s)    SSL_ctrl(s, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL)
 
#define SSL_get_max_proto_version(s)    SSL_ctrl(s, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL)
 
#define SSL_CTRL_GET_SERVER_TMP_KEY    SSL_CTRL_GET_PEER_TMP_KEY
 
#define SSL_get_server_tmp_key(s, pk)    SSL_get_peer_tmp_key(s, pk)
 
#define SSL_CTRL_GET_CURVES   SSL_CTRL_GET_GROUPS
 
#define SSL_CTRL_SET_CURVES   SSL_CTRL_SET_GROUPS
 
#define SSL_CTRL_SET_CURVES_LIST   SSL_CTRL_SET_GROUPS_LIST
 
#define SSL_CTRL_GET_SHARED_CURVE   SSL_CTRL_GET_SHARED_GROUP
 
#define SSL_get1_curves   SSL_get1_groups
 
#define SSL_CTX_set1_curves   SSL_CTX_set1_groups
 
#define SSL_CTX_set1_curves_list   SSL_CTX_set1_groups_list
 
#define SSL_set1_curves   SSL_set1_groups
 
#define SSL_set1_curves_list   SSL_set1_groups_list
 
#define SSL_get_shared_curve   SSL_get_shared_group
 
#define SSL_CTX_need_tmp_RSA(ctx)   0
 
#define SSL_CTX_set_tmp_rsa(ctx, rsa)   1
 
#define SSL_need_tmp_RSA(ssl)   0
 
#define SSL_set_tmp_rsa(ssl, rsa)   1
 
#define SSL_CTX_set_ecdh_auto(dummy, onoff)   ((onoff) != 0)
 
#define SSL_set_ecdh_auto(dummy, onoff)   ((onoff) != 0)
 
#define SSL_CTX_set_tmp_rsa_callback(ctx, cb)   while(0) (cb)(NULL, 0, 0)
 
#define SSL_set_tmp_rsa_callback(ssl, cb)   while(0) (cb)(NULL, 0, 0)
 
#define SSL_SERVERINFOV1   1
 
#define SSL_SERVERINFOV2   2
 
#define SSL_load_error_strings()
 
#define SSL_CLIENT_HELLO_SUCCESS   1
 
#define SSL_CLIENT_HELLO_ERROR   0
 
#define SSL_CLIENT_HELLO_RETRY   (-1)
 
#define SSL_READ_EARLY_DATA_ERROR   0
 
#define SSL_READ_EARLY_DATA_SUCCESS   1
 
#define SSL_READ_EARLY_DATA_FINISH   2
 
#define SSL_EARLY_DATA_NOT_SENT   0
 
#define SSL_EARLY_DATA_REJECTED   1
 
#define SSL_EARLY_DATA_ACCEPTED   2
 
#define SSLv23_method   TLS_method
 
#define SSLv23_server_method   TLS_server_method
 
#define SSLv23_client_method   TLS_client_method
 
#define SSL_library_init()   OPENSSL_init_ssl(0, NULL)
 
#define SSL_get0_session   SSL_get_session/* just peek at pointer */
 
#define SSL_get_ex_new_index(l, p, newf, dupf, freef)    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, l, p, newf, dupf, freef)
 
#define SSL_SESSION_get_ex_new_index(l, p, newf, dupf, freef)    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_SESSION, l, p, newf, dupf, freef)
 
#define SSL_CTX_get_ex_new_index(l, p, newf, dupf, freef)    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_CTX, l, p, newf, dupf, freef)
 
#define SSL_CTX_sess_set_cache_size(ctx, t)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_SIZE,t,NULL)
 
#define SSL_CTX_sess_get_cache_size(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_SIZE,0,NULL)
 
#define SSL_CTX_set_session_cache_mode(ctx, m)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)
 
#define SSL_CTX_get_session_cache_mode(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL)
 
#define SSL_CTX_get_default_read_ahead(ctx)   SSL_CTX_get_read_ahead(ctx)
 
#define SSL_CTX_set_default_read_ahead(ctx, m)   SSL_CTX_set_read_ahead(ctx,m)
 
#define SSL_CTX_get_read_ahead(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_READ_AHEAD,0,NULL)
 
#define SSL_CTX_set_read_ahead(ctx, m)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,m,NULL)
 
#define SSL_CTX_get_max_cert_list(ctx)    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)
 
#define SSL_CTX_set_max_cert_list(ctx, m)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)
 
#define SSL_get_max_cert_list(ssl)    SSL_ctrl(ssl,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)
 
#define SSL_set_max_cert_list(ssl, m)    SSL_ctrl(ssl,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)
 
#define SSL_CTX_set_max_send_fragment(ctx, m)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)
 
#define SSL_set_max_send_fragment(ssl, m)    SSL_ctrl(ssl,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)
 
#define SSL_CTX_set_split_send_fragment(ctx, m)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SPLIT_SEND_FRAGMENT,m,NULL)
 
#define SSL_set_split_send_fragment(ssl, m)    SSL_ctrl(ssl,SSL_CTRL_SET_SPLIT_SEND_FRAGMENT,m,NULL)
 
#define SSL_CTX_set_max_pipelines(ctx, m)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
 
#define SSL_set_max_pipelines(ssl, m)    SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
 
#define SSL_COMP_free_compression_methods()   while(0) continue
 
#define SSL_cache_hit(s)   SSL_session_reused(s)
 
#define SSL_disable_ct(s)    ((void) SSL_set_validation_callback((s), NULL, NULL))
 
#define SSL_CTX_disable_ct(ctx)    ((void) SSL_CTX_set_validation_callback((ctx), NULL, NULL))
 
#define SSL_SECOP_OTHER_TYPE   0xffff0000
 
#define SSL_SECOP_OTHER_NONE   0
 
#define SSL_SECOP_OTHER_CIPHER   (1 << 16)
 
#define SSL_SECOP_OTHER_CURVE   (2 << 16)
 
#define SSL_SECOP_OTHER_DH   (3 << 16)
 
#define SSL_SECOP_OTHER_PKEY   (4 << 16)
 
#define SSL_SECOP_OTHER_SIGALG   (5 << 16)
 
#define SSL_SECOP_OTHER_CERT   (6 << 16)
 
#define SSL_SECOP_PEER   0x1000
 
#define SSL_SECOP_CIPHER_SUPPORTED   (1 | SSL_SECOP_OTHER_CIPHER)
 
#define SSL_SECOP_CIPHER_SHARED   (2 | SSL_SECOP_OTHER_CIPHER)
 
#define SSL_SECOP_CIPHER_CHECK   (3 | SSL_SECOP_OTHER_CIPHER)
 
#define SSL_SECOP_CURVE_SUPPORTED   (4 | SSL_SECOP_OTHER_CURVE)
 
#define SSL_SECOP_CURVE_SHARED   (5 | SSL_SECOP_OTHER_CURVE)
 
#define SSL_SECOP_CURVE_CHECK   (6 | SSL_SECOP_OTHER_CURVE)
 
#define SSL_SECOP_TMP_DH   (7 | SSL_SECOP_OTHER_PKEY)
 
#define SSL_SECOP_VERSION   (9 | SSL_SECOP_OTHER_NONE)
 
#define SSL_SECOP_TICKET   (10 | SSL_SECOP_OTHER_NONE)
 
#define SSL_SECOP_SIGALG_SUPPORTED   (11 | SSL_SECOP_OTHER_SIGALG)
 
#define SSL_SECOP_SIGALG_SHARED   (12 | SSL_SECOP_OTHER_SIGALG)
 
#define SSL_SECOP_SIGALG_CHECK   (13 | SSL_SECOP_OTHER_SIGALG)
 
#define SSL_SECOP_SIGALG_MASK   (14 | SSL_SECOP_OTHER_SIGALG)
 
#define SSL_SECOP_COMPRESSION   (15 | SSL_SECOP_OTHER_NONE)
 
#define SSL_SECOP_EE_KEY   (16 | SSL_SECOP_OTHER_CERT)
 
#define SSL_SECOP_CA_KEY   (17 | SSL_SECOP_OTHER_CERT)
 
#define SSL_SECOP_CA_MD   (18 | SSL_SECOP_OTHER_CERT)
 
#define SSL_SECOP_PEER_EE_KEY   (SSL_SECOP_EE_KEY | SSL_SECOP_PEER)
 
#define SSL_SECOP_PEER_CA_KEY   (SSL_SECOP_CA_KEY | SSL_SECOP_PEER)
 
#define SSL_SECOP_PEER_CA_MD   (SSL_SECOP_CA_MD | SSL_SECOP_PEER)
 
#define OPENSSL_INIT_NO_LOAD_SSL_STRINGS   0x00100000L
 
#define OPENSSL_INIT_LOAD_SSL_STRINGS   0x00200000L
 
#define OPENSSL_INIT_SSL_DEFAULT    (OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS)
 
#define SSL_TICKET_FATAL_ERR_MALLOC   0
 
#define SSL_TICKET_FATAL_ERR_OTHER   1
 
#define SSL_TICKET_NONE   2
 
#define SSL_TICKET_EMPTY   3
 
#define SSL_TICKET_NO_DECRYPT   4
 
#define SSL_TICKET_SUCCESS   5
 
#define SSL_TICKET_SUCCESS_RENEW   6
 
#define SSL_TICKET_RETURN_ABORT   0
 
#define SSL_TICKET_RETURN_IGNORE   1
 
#define SSL_TICKET_RETURN_IGNORE_RENEW   2
 
#define SSL_TICKET_RETURN_USE   3
 
#define SSL_TICKET_RETURN_USE_RENEW   4
 

Typedefs

typedef struct ssl_st * ssl_crock_st
 
typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT
 
typedef struct ssl_method_st SSL_METHOD
 
typedef struct ssl_cipher_st SSL_CIPHER
 
typedef struct ssl_session_st SSL_SESSION
 
typedef struct tls_sigalgs_st TLS_SIGALGS
 
typedef struct ssl_conf_ctx_st SSL_CONF_CTX
 
typedef struct ssl_comp_st SSL_COMP
 
typedef struct srtp_protection_profile_st SRTP_PROTECTION_PROFILE
 
typedef int(* tls_session_ticket_ext_cb_fn) (SSL *s, const unsigned char *data, int len, void *arg)
 
typedef int(* tls_session_secret_cb_fn) (SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, const SSL_CIPHER **cipher, void *arg)
 
typedef int(* custom_ext_add_cb) (SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg)
 
typedef void(* custom_ext_free_cb) (SSL *s, unsigned int ext_type, const unsigned char *out, void *add_arg)
 
typedef int(* custom_ext_parse_cb) (SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg)
 
typedef int(* SSL_custom_ext_add_cb_ex) (SSL *s, unsigned int ext_type, unsigned int context, const unsigned char **out, size_t *outlen, X509 *x, size_t chainidx, int *al, void *add_arg)
 
typedef void(* SSL_custom_ext_free_cb_ex) (SSL *s, unsigned int ext_type, unsigned int context, const unsigned char *out, void *add_arg)
 
typedef int(* SSL_custom_ext_parse_cb_ex) (SSL *s, unsigned int ext_type, unsigned int context, const unsigned char *in, size_t inlen, X509 *x, size_t chainidx, int *al, void *parse_arg)
 
typedef int(* SSL_verify_cb) (int preverify_ok, X509_STORE_CTX *x509_ctx)
 
typedef int(* GEN_SESSION_CB) (SSL *ssl, unsigned char *id, unsigned int *id_len)
 
typedef int(* SSL_CTX_npn_advertised_cb_func) (SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg)
 
typedef int(* SSL_CTX_npn_select_cb_func) (SSL *s, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
 
typedef int(* SSL_CTX_alpn_select_cb_func) (SSL *ssl, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
 
typedef unsigned int(* SSL_psk_client_cb_func) (SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)
 
typedef unsigned int(* SSL_psk_server_cb_func) (SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len)
 
typedef int(* SSL_psk_find_session_cb_func) (SSL *ssl, const unsigned char *identity, size_t identity_len, SSL_SESSION **sess)
 
typedef int(* SSL_psk_use_session_cb_func) (SSL *ssl, const EVP_MD *md, const unsigned char **id, size_t *idlen, SSL_SESSION **sess)
 
typedef void(* SSL_CTX_keylog_cb_func) (const SSL *ssl, const char *line)
 
typedef int(* SSL_client_hello_cb_fn) (SSL *s, int *al, void *arg)
 
typedef int(* ssl_ct_validation_cb) (const CT_POLICY_EVAL_CTX *ctx, const STACK_OF(SCT) *scts, void *arg)
 
typedef int SSL_TICKET_STATUS
 
typedef int SSL_TICKET_RETURN
 
typedef int(* SSL_CTX_generate_session_ticket_fn) (SSL *s, void *arg)
 
typedef SSL_TICKET_RETURN(* SSL_CTX_decrypt_session_ticket_fn) (SSL *s, SSL_SESSION *ss, const unsigned char *keyname, size_t keyname_length, SSL_TICKET_STATUS status, void *arg)
 
typedef unsigned int(* DTLS_timer_cb) (SSL *s, unsigned int timer_us)
 
typedef int(* SSL_allow_early_data_cb_fn) (SSL *s, void *arg)
 

Enumerations

enum  OSSL_HANDSHAKE_STATE {
  TLS_ST_BEFORE , TLS_ST_OK , DTLS_ST_CR_HELLO_VERIFY_REQUEST , TLS_ST_CR_SRVR_HELLO ,
  TLS_ST_CR_CERT , TLS_ST_CR_CERT_STATUS , TLS_ST_CR_KEY_EXCH , TLS_ST_CR_CERT_REQ ,
  TLS_ST_CR_SRVR_DONE , TLS_ST_CR_SESSION_TICKET , TLS_ST_CR_CHANGE , TLS_ST_CR_FINISHED ,
  TLS_ST_CW_CLNT_HELLO , TLS_ST_CW_CERT , TLS_ST_CW_KEY_EXCH , TLS_ST_CW_CERT_VRFY ,
  TLS_ST_CW_CHANGE , TLS_ST_CW_NEXT_PROTO , TLS_ST_CW_FINISHED , TLS_ST_SW_HELLO_REQ ,
  TLS_ST_SR_CLNT_HELLO , DTLS_ST_SW_HELLO_VERIFY_REQUEST , TLS_ST_SW_SRVR_HELLO , TLS_ST_SW_CERT ,
  TLS_ST_SW_KEY_EXCH , TLS_ST_SW_CERT_REQ , TLS_ST_SW_SRVR_DONE , TLS_ST_SR_CERT ,
  TLS_ST_SR_KEY_EXCH , TLS_ST_SR_CERT_VRFY , TLS_ST_SR_NEXT_PROTO , TLS_ST_SR_CHANGE ,
  TLS_ST_SR_FINISHED , TLS_ST_SW_SESSION_TICKET , TLS_ST_SW_CERT_STATUS , TLS_ST_SW_CHANGE ,
  TLS_ST_SW_FINISHED , TLS_ST_SW_ENCRYPTED_EXTENSIONS , TLS_ST_CR_ENCRYPTED_EXTENSIONS , TLS_ST_CR_CERT_VRFY ,
  TLS_ST_SW_CERT_VRFY , TLS_ST_CR_HELLO_REQ , TLS_ST_SW_KEY_UPDATE , TLS_ST_CW_KEY_UPDATE ,
  TLS_ST_SR_KEY_UPDATE , TLS_ST_CR_KEY_UPDATE , TLS_ST_EARLY_DATA , TLS_ST_PENDING_EARLY_DATA_END ,
  TLS_ST_CW_END_OF_EARLY_DATA , TLS_ST_SR_END_OF_EARLY_DATA
}
 
enum  { SSL_CT_VALIDATION_PERMISSIVE = 0 , SSL_CT_VALIDATION_STRICT }
 

Functions

 STACK_OF (SSL_CIPHER)
 
 STACK_OF (SSL_COMP)
 
unsigned long SSL_CTX_get_options (const SSL_CTX *ctx)
 
unsigned long SSL_get_options (const SSL *s)
 
unsigned long SSL_CTX_clear_options (SSL_CTX *ctx, unsigned long op)
 
unsigned long SSL_clear_options (SSL *s, unsigned long op)
 
unsigned long SSL_CTX_set_options (SSL_CTX *ctx, unsigned long op)
 
unsigned long SSL_set_options (SSL *s, unsigned long op)
 
void SSL_CTX_set_msg_callback (SSL_CTX *ctx, void(*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
 
void SSL_set_msg_callback (SSL *ssl, void(*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
 
__owur int SSL_SRP_CTX_init (SSL *s)
 
__owur int SSL_CTX_SRP_CTX_init (SSL_CTX *ctx)
 
int SSL_SRP_CTX_free (SSL *ctx)
 
int SSL_CTX_SRP_CTX_free (SSL_CTX *ctx)
 
__owur int SSL_srp_server_param_with_username (SSL *s, int *ad)
 
__owur int SRP_Calc_A_param (SSL *s)
 
 LHASH_OF (SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx)
 
void SSL_CTX_sess_set_new_cb (SSL_CTX *ctx, int(*new_session_cb)(struct ssl_st *ssl, SSL_SESSION *sess))
 
void SSL_CTX_sess_set_remove_cb (SSL_CTX *ctx, void(*remove_session_cb)(struct ssl_ctx_st *ctx, SSL_SESSION *sess))
 
void SSL_CTX_sess_set_get_cb (SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, const unsigned char *data, int len, int *copy))
 
void SSL_CTX_set_info_callback (SSL_CTX *ctx, void(*cb)(const SSL *ssl, int type, int val))
 
void SSL_CTX_set_client_cert_cb (SSL_CTX *ctx, int(*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey))
 
__owur int SSL_CTX_set_client_cert_engine (SSL_CTX *ctx, ENGINE *e)
 
void SSL_CTX_set_cookie_generate_cb (SSL_CTX *ctx, int(*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len))
 
void SSL_CTX_set_cookie_verify_cb (SSL_CTX *ctx, int(*app_verify_cookie_cb)(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len))
 
void SSL_CTX_set_stateless_cookie_generate_cb (SSL_CTX *ctx, int(*gen_stateless_cookie_cb)(SSL *ssl, unsigned char *cookie, size_t *cookie_len))
 
void SSL_CTX_set_stateless_cookie_verify_cb (SSL_CTX *ctx, int(*verify_stateless_cookie_cb)(SSL *ssl, const unsigned char *cookie, size_t cookie_len))
 
void SSL_CTX_set_next_protos_advertised_cb (SSL_CTX *s, SSL_CTX_npn_advertised_cb_func cb, void *arg)
 
void SSL_CTX_set_next_proto_select_cb (SSL_CTX *s, SSL_CTX_npn_select_cb_func cb, void *arg)
 
void SSL_get0_next_proto_negotiated (const SSL *s, const unsigned char **data, unsigned *len)
 
__owur int SSL_select_next_proto (unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, const unsigned char *client, unsigned int client_len)
 
__owur int SSL_CTX_set_alpn_protos (SSL_CTX *ctx, const unsigned char *protos, unsigned int protos_len)
 
__owur int SSL_set_alpn_protos (SSL *ssl, const unsigned char *protos, unsigned int protos_len)
 
void SSL_CTX_set_alpn_select_cb (SSL_CTX *ctx, SSL_CTX_alpn_select_cb_func cb, void *arg)
 
void SSL_get0_alpn_selected (const SSL *ssl, const unsigned char **data, unsigned int *len)
 
void SSL_CTX_set_psk_client_callback (SSL_CTX *ctx, SSL_psk_client_cb_func cb)
 
void SSL_set_psk_client_callback (SSL *ssl, SSL_psk_client_cb_func cb)
 
void SSL_CTX_set_psk_server_callback (SSL_CTX *ctx, SSL_psk_server_cb_func cb)
 
void SSL_set_psk_server_callback (SSL *ssl, SSL_psk_server_cb_func cb)
 
__owur int SSL_CTX_use_psk_identity_hint (SSL_CTX *ctx, const char *identity_hint)
 
__owur int SSL_use_psk_identity_hint (SSL *s, const char *identity_hint)
 
const char * SSL_get_psk_identity_hint (const SSL *s)
 
const char * SSL_get_psk_identity (const SSL *s)
 
void SSL_set_psk_find_session_callback (SSL *s, SSL_psk_find_session_cb_func cb)
 
void SSL_CTX_set_psk_find_session_callback (SSL_CTX *ctx, SSL_psk_find_session_cb_func cb)
 
void SSL_set_psk_use_session_callback (SSL *s, SSL_psk_use_session_cb_func cb)
 
void SSL_CTX_set_psk_use_session_callback (SSL_CTX *ctx, SSL_psk_use_session_cb_func cb)
 
__owur int SSL_CTX_has_client_custom_ext (const SSL_CTX *ctx, unsigned int ext_type)
 
__owur int SSL_CTX_add_client_custom_ext (SSL_CTX *ctx, unsigned int ext_type, custom_ext_add_cb add_cb, custom_ext_free_cb free_cb, void *add_arg, custom_ext_parse_cb parse_cb, void *parse_arg)
 
__owur int SSL_CTX_add_server_custom_ext (SSL_CTX *ctx, unsigned int ext_type, custom_ext_add_cb add_cb, custom_ext_free_cb free_cb, void *add_arg, custom_ext_parse_cb parse_cb, void *parse_arg)
 
__owur int SSL_CTX_add_custom_ext (SSL_CTX *ctx, unsigned int ext_type, unsigned int context, SSL_custom_ext_add_cb_ex add_cb, SSL_custom_ext_free_cb_ex free_cb, void *add_arg, SSL_custom_ext_parse_cb_ex parse_cb, void *parse_arg)
 
__owur int SSL_extension_supported (unsigned int ext_type)
 
void SSL_CTX_set_keylog_callback (SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb)
 
SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback (const SSL_CTX *ctx)
 
int SSL_CTX_set_max_early_data (SSL_CTX *ctx, uint32_t max_early_data)
 
uint32_t SSL_CTX_get_max_early_data (const SSL_CTX *ctx)
 
int SSL_set_max_early_data (SSL *s, uint32_t max_early_data)
 
uint32_t SSL_get_max_early_data (const SSL *s)
 
int SSL_CTX_set_recv_max_early_data (SSL_CTX *ctx, uint32_t recv_max_early_data)
 
uint32_t SSL_CTX_get_recv_max_early_data (const SSL_CTX *ctx)
 
int SSL_set_recv_max_early_data (SSL *s, uint32_t recv_max_early_data)
 
uint32_t SSL_get_recv_max_early_data (const SSL *s)
 
int SSL_in_init (const SSL *s)
 
int SSL_in_before (const SSL *s)
 
int SSL_is_init_finished (const SSL *s)
 
size_t SSL_get_finished (const SSL *s, void *buf, size_t count)
 
size_t SSL_get_peer_finished (const SSL *s, void *buf, size_t count)
 
 DECLARE_PEM_rw (SSL_SESSION, SSL_SESSION) __owur const BIO_METHOD *BIO_f_ssl(void)
 
__owur BIOBIO_new_ssl (SSL_CTX *ctx, int client)
 
__owur BIOBIO_new_ssl_connect (SSL_CTX *ctx)
 
__owur BIOBIO_new_buffer_ssl_connect (SSL_CTX *ctx)
 
__owur int BIO_ssl_copy_session_id (BIO *to, BIO *from)
 
void BIO_ssl_shutdown (BIO *ssl_bio)
 
__owur int SSL_CTX_set_cipher_list (SSL_CTX *, const char *str)
 
__owur SSL_CTXSSL_CTX_new (const SSL_METHOD *meth)
 
int SSL_CTX_up_ref (SSL_CTX *ctx)
 
void SSL_CTX_free (SSL_CTX *)
 
__owur long SSL_CTX_set_timeout (SSL_CTX *ctx, long t)
 
__owur long SSL_CTX_get_timeout (const SSL_CTX *ctx)
 
__owur X509_STORESSL_CTX_get_cert_store (const SSL_CTX *)
 
void SSL_CTX_set_cert_store (SSL_CTX *, X509_STORE *)
 
void SSL_CTX_set1_cert_store (SSL_CTX *, X509_STORE *)
 
__owur int SSL_want (const SSL *s)
 
__owur int SSL_clear (SSL *s)
 
void SSL_CTX_flush_sessions (SSL_CTX *ctx, long tm)
 
__owur const SSL_CIPHERSSL_get_current_cipher (const SSL *s)
 
__owur const SSL_CIPHERSSL_get_pending_cipher (const SSL *s)
 
__owur int SSL_CIPHER_get_bits (const SSL_CIPHER *c, int *alg_bits)
 
__owur const char * SSL_CIPHER_get_version (const SSL_CIPHER *c)
 
__owur const char * SSL_CIPHER_get_name (const SSL_CIPHER *c)
 
__owur const char * SSL_CIPHER_standard_name (const SSL_CIPHER *c)
 
__owur const char * OPENSSL_cipher_name (const char *rfc_name)
 
__owur uint32_t SSL_CIPHER_get_id (const SSL_CIPHER *c)
 
__owur uint16_t SSL_CIPHER_get_protocol_id (const SSL_CIPHER *c)
 
__owur int SSL_CIPHER_get_kx_nid (const SSL_CIPHER *c)
 
__owur int SSL_CIPHER_get_auth_nid (const SSL_CIPHER *c)
 
__owur const EVP_MDSSL_CIPHER_get_handshake_digest (const SSL_CIPHER *c)
 
__owur int SSL_CIPHER_is_aead (const SSL_CIPHER *c)
 
__owur int SSL_get_fd (const SSL *s)
 
__owur int SSL_get_rfd (const SSL *s)
 
__owur int SSL_get_wfd (const SSL *s)
 
__owur const char * SSL_get_cipher_list (const SSL *s, int n)
 
__owur char * SSL_get_shared_ciphers (const SSL *s, char *buf, int size)
 
__owur int SSL_get_read_ahead (const SSL *s)
 
__owur int SSL_pending (const SSL *s)
 
__owur int SSL_has_pending (const SSL *s)
 
__owur int SSL_set_fd (SSL *s, int fd)
 
__owur int SSL_set_rfd (SSL *s, int fd)
 
__owur int SSL_set_wfd (SSL *s, int fd)
 
void SSL_set0_rbio (SSL *s, BIO *rbio)
 
void SSL_set0_wbio (SSL *s, BIO *wbio)
 
void SSL_set_bio (SSL *s, BIO *rbio, BIO *wbio)
 
__owur BIOSSL_get_rbio (const SSL *s)
 
__owur BIOSSL_get_wbio (const SSL *s)
 
__owur int SSL_set_cipher_list (SSL *s, const char *str)
 
__owur int SSL_CTX_set_ciphersuites (SSL_CTX *ctx, const char *str)
 
__owur int SSL_set_ciphersuites (SSL *s, const char *str)
 
void SSL_set_read_ahead (SSL *s, int yes)
 
__owur int SSL_get_verify_mode (const SSL *s)
 
__owur int SSL_get_verify_depth (const SSL *s)
 
__owur SSL_verify_cb SSL_get_verify_callback (const SSL *s)
 
void SSL_set_verify (SSL *s, int mode, SSL_verify_cb callback)
 
void SSL_set_verify_depth (SSL *s, int depth)
 
void SSL_set_cert_cb (SSL *s, int(*cb)(SSL *ssl, void *arg), void *arg)
 
__owur int SSL_use_RSAPrivateKey (SSL *ssl, RSA *rsa)
 
__owur int SSL_use_RSAPrivateKey_ASN1 (SSL *ssl, const unsigned char *d, long len)
 
__owur int SSL_use_PrivateKey (SSL *ssl, EVP_PKEY *pkey)
 
__owur int SSL_use_PrivateKey_ASN1 (int pk, SSL *ssl, const unsigned char *d, long len)
 
__owur int SSL_use_certificate (SSL *ssl, X509 *x)
 
__owur int SSL_use_certificate_ASN1 (SSL *ssl, const unsigned char *d, int len)
 
__owur int SSL_use_cert_and_key (SSL *ssl, X509 *x509, EVP_PKEY *privatekey, STACK_OF(X509) *chain, int override)
 
__owur int SSL_CTX_use_serverinfo (SSL_CTX *ctx, const unsigned char *serverinfo, size_t serverinfo_length)
 
__owur int SSL_CTX_use_serverinfo_ex (SSL_CTX *ctx, unsigned int version, const unsigned char *serverinfo, size_t serverinfo_length)
 
__owur int SSL_CTX_use_serverinfo_file (SSL_CTX *ctx, const char *file)
 
__owur int SSL_use_RSAPrivateKey_file (SSL *ssl, const char *file, int type)
 
__owur int SSL_use_PrivateKey_file (SSL *ssl, const char *file, int type)
 
__owur int SSL_use_certificate_file (SSL *ssl, const char *file, int type)
 
__owur int SSL_CTX_use_RSAPrivateKey_file (SSL_CTX *ctx, const char *file, int type)
 
__owur int SSL_CTX_use_PrivateKey_file (SSL_CTX *ctx, const char *file, int type)
 
__owur int SSL_CTX_use_certificate_file (SSL_CTX *ctx, const char *file, int type)
 
__owur int SSL_CTX_use_certificate_chain_file (SSL_CTX *ctx, const char *file)
 
__owur int SSL_use_certificate_chain_file (SSL *ssl, const char *file)
 
__owur STACK_OF (X509_NAME) *SSL_load_client_CA_file(const char *file)
 
__owur int SSL_add_file_cert_subjects_to_stack (STACK_OF(X509_NAME) *stackCAs, const char *file)
 
int SSL_add_dir_cert_subjects_to_stack (STACK_OF(X509_NAME) *stackCAs, const char *dir)
 
__owur const char * SSL_state_string (const SSL *s)
 
__owur const char * SSL_rstate_string (const SSL *s)
 
__owur const char * SSL_state_string_long (const SSL *s)
 
__owur const char * SSL_rstate_string_long (const SSL *s)
 
__owur long SSL_SESSION_get_time (const SSL_SESSION *s)
 
__owur long SSL_SESSION_set_time (SSL_SESSION *s, long t)
 
__owur long SSL_SESSION_get_timeout (const SSL_SESSION *s)
 
__owur long SSL_SESSION_set_timeout (SSL_SESSION *s, long t)
 
__owur int SSL_SESSION_get_protocol_version (const SSL_SESSION *s)
 
__owur int SSL_SESSION_set_protocol_version (SSL_SESSION *s, int version)
 
__owur const char * SSL_SESSION_get0_hostname (const SSL_SESSION *s)
 
__owur int SSL_SESSION_set1_hostname (SSL_SESSION *s, const char *hostname)
 
void SSL_SESSION_get0_alpn_selected (const SSL_SESSION *s, const unsigned char **alpn, size_t *len)
 
__owur int SSL_SESSION_set1_alpn_selected (SSL_SESSION *s, const unsigned char *alpn, size_t len)
 
__owur const SSL_CIPHERSSL_SESSION_get0_cipher (const SSL_SESSION *s)
 
__owur int SSL_SESSION_set_cipher (SSL_SESSION *s, const SSL_CIPHER *cipher)
 
__owur int SSL_SESSION_has_ticket (const SSL_SESSION *s)
 
__owur unsigned long SSL_SESSION_get_ticket_lifetime_hint (const SSL_SESSION *s)
 
void SSL_SESSION_get0_ticket (const SSL_SESSION *s, const unsigned char **tick, size_t *len)
 
__owur uint32_t SSL_SESSION_get_max_early_data (const SSL_SESSION *s)
 
__owur int SSL_SESSION_set_max_early_data (SSL_SESSION *s, uint32_t max_early_data)
 
__owur int SSL_copy_session_id (SSL *to, const SSL *from)
 
__owur X509SSL_SESSION_get0_peer (SSL_SESSION *s)
 
__owur int SSL_SESSION_set1_id_context (SSL_SESSION *s, const unsigned char *sid_ctx, unsigned int sid_ctx_len)
 
__owur int SSL_SESSION_set1_id (SSL_SESSION *s, const unsigned char *sid, unsigned int sid_len)
 
__owur int SSL_SESSION_is_resumable (const SSL_SESSION *s)
 
__owur SSL_SESSIONSSL_SESSION_new (void)
 
__owur SSL_SESSIONSSL_SESSION_dup (SSL_SESSION *src)
 
const unsigned char * SSL_SESSION_get_id (const SSL_SESSION *s, unsigned int *len)
 
const unsigned char * SSL_SESSION_get0_id_context (const SSL_SESSION *s, unsigned int *len)
 
__owur unsigned int SSL_SESSION_get_compress_id (const SSL_SESSION *s)
 
int SSL_SESSION_print_fp (FILE *fp, const SSL_SESSION *ses)
 
int SSL_SESSION_print (BIO *fp, const SSL_SESSION *ses)
 
int SSL_SESSION_print_keylog (BIO *bp, const SSL_SESSION *x)
 
int SSL_SESSION_up_ref (SSL_SESSION *ses)
 
void SSL_SESSION_free (SSL_SESSION *ses)
 
__owur int i2d_SSL_SESSION (SSL_SESSION *in, unsigned char **pp)
 
__owur int SSL_set_session (SSL *to, SSL_SESSION *session)
 
int SSL_CTX_add_session (SSL_CTX *ctx, SSL_SESSION *session)
 
int SSL_CTX_remove_session (SSL_CTX *ctx, SSL_SESSION *session)
 
__owur int SSL_CTX_set_generate_session_id (SSL_CTX *ctx, GEN_SESSION_CB cb)
 
__owur int SSL_set_generate_session_id (SSL *s, GEN_SESSION_CB cb)
 
__owur int SSL_has_matching_session_id (const SSL *s, const unsigned char *id, unsigned int id_len)
 
SSL_SESSIONd2i_SSL_SESSION (SSL_SESSION **a, const unsigned char **pp, long length)
 
__owur STACK_OF (X509) *SSL_get_peer_cert_chain(const SSL *s)
 
__owur int SSL_CTX_get_verify_mode (const SSL_CTX *ctx)
 
__owur int SSL_CTX_get_verify_depth (const SSL_CTX *ctx)
 
__owur SSL_verify_cb SSL_CTX_get_verify_callback (const SSL_CTX *ctx)
 
void SSL_CTX_set_verify (SSL_CTX *ctx, int mode, SSL_verify_cb callback)
 
void SSL_CTX_set_verify_depth (SSL_CTX *ctx, int depth)
 
void SSL_CTX_set_cert_verify_callback (SSL_CTX *ctx, int(*cb)(X509_STORE_CTX *, void *), void *arg)
 
void SSL_CTX_set_cert_cb (SSL_CTX *c, int(*cb)(SSL *ssl, void *arg), void *arg)
 
__owur int SSL_CTX_use_RSAPrivateKey (SSL_CTX *ctx, RSA *rsa)
 
__owur int SSL_CTX_use_RSAPrivateKey_ASN1 (SSL_CTX *ctx, const unsigned char *d, long len)
 
__owur int SSL_CTX_use_PrivateKey (SSL_CTX *ctx, EVP_PKEY *pkey)
 
__owur int SSL_CTX_use_PrivateKey_ASN1 (int pk, SSL_CTX *ctx, const unsigned char *d, long len)
 
__owur int SSL_CTX_use_certificate (SSL_CTX *ctx, X509 *x)
 
__owur int SSL_CTX_use_certificate_ASN1 (SSL_CTX *ctx, int len, const unsigned char *d)
 
__owur int SSL_CTX_use_cert_and_key (SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey, STACK_OF(X509) *chain, int override)
 
void SSL_CTX_set_default_passwd_cb (SSL_CTX *ctx, pem_password_cb *cb)
 
void SSL_CTX_set_default_passwd_cb_userdata (SSL_CTX *ctx, void *u)
 
pem_password_cbSSL_CTX_get_default_passwd_cb (SSL_CTX *ctx)
 
void * SSL_CTX_get_default_passwd_cb_userdata (SSL_CTX *ctx)
 
void SSL_set_default_passwd_cb (SSL *s, pem_password_cb *cb)
 
void SSL_set_default_passwd_cb_userdata (SSL *s, void *u)
 
pem_password_cbSSL_get_default_passwd_cb (SSL *s)
 
void * SSL_get_default_passwd_cb_userdata (SSL *s)
 
__owur int SSL_CTX_check_private_key (const SSL_CTX *ctx)
 
__owur int SSL_check_private_key (const SSL *ctx)
 
__owur int SSL_CTX_set_session_id_context (SSL_CTX *ctx, const unsigned char *sid_ctx, unsigned int sid_ctx_len)
 
SSLSSL_new (SSL_CTX *ctx)
 
int SSL_up_ref (SSL *s)
 
int SSL_is_dtls (const SSL *s)
 
__owur int SSL_set_session_id_context (SSL *ssl, const unsigned char *sid_ctx, unsigned int sid_ctx_len)
 
__owur int SSL_CTX_set_purpose (SSL_CTX *ctx, int purpose)
 
__owur int SSL_set_purpose (SSL *ssl, int purpose)
 
__owur int SSL_CTX_set_trust (SSL_CTX *ctx, int trust)
 
__owur int SSL_set_trust (SSL *ssl, int trust)
 
__owur int SSL_set1_host (SSL *s, const char *hostname)
 
__owur int SSL_add1_host (SSL *s, const char *hostname)
 
__owur const char * SSL_get0_peername (SSL *s)
 
void SSL_set_hostflags (SSL *s, unsigned int flags)
 
__owur int SSL_CTX_dane_enable (SSL_CTX *ctx)
 
__owur int SSL_CTX_dane_mtype_set (SSL_CTX *ctx, const EVP_MD *md, uint8_t mtype, uint8_t ord)
 
__owur int SSL_dane_enable (SSL *s, const char *basedomain)
 
__owur int SSL_dane_tlsa_add (SSL *s, uint8_t usage, uint8_t selector, uint8_t mtype, unsigned const char *data, size_t dlen)
 
__owur int SSL_get0_dane_authority (SSL *s, X509 **mcert, EVP_PKEY **mspki)
 
__owur int SSL_get0_dane_tlsa (SSL *s, uint8_t *usage, uint8_t *selector, uint8_t *mtype, unsigned const char **data, size_t *dlen)
 
SSL_DANESSL_get0_dane (SSL *ssl)
 
unsigned long SSL_CTX_dane_set_flags (SSL_CTX *ctx, unsigned long flags)
 
unsigned long SSL_CTX_dane_clear_flags (SSL_CTX *ctx, unsigned long flags)
 
unsigned long SSL_dane_set_flags (SSL *ssl, unsigned long flags)
 
unsigned long SSL_dane_clear_flags (SSL *ssl, unsigned long flags)
 
__owur int SSL_CTX_set1_param (SSL_CTX *ctx, X509_VERIFY_PARAM *vpm)
 
__owur int SSL_set1_param (SSL *ssl, X509_VERIFY_PARAM *vpm)
 
__owur X509_VERIFY_PARAMSSL_CTX_get0_param (SSL_CTX *ctx)
 
__owur X509_VERIFY_PARAMSSL_get0_param (SSL *ssl)
 
int SSL_CTX_set_srp_username (SSL_CTX *ctx, char *name)
 
int SSL_CTX_set_srp_password (SSL_CTX *ctx, char *password)
 
int SSL_CTX_set_srp_strength (SSL_CTX *ctx, int strength)
 
int SSL_CTX_set_srp_client_pwd_callback (SSL_CTX *ctx, char *(*cb)(SSL *, void *))
 
int SSL_CTX_set_srp_verify_param_callback (SSL_CTX *ctx, int(*cb)(SSL *, void *))
 
int SSL_CTX_set_srp_username_callback (SSL_CTX *ctx, int(*cb)(SSL *, int *, void *))
 
int SSL_CTX_set_srp_cb_arg (SSL_CTX *ctx, void *arg)
 
int SSL_set_srp_server_param (SSL *s, const BIGNUM *N, const BIGNUM *g, BIGNUM *sa, BIGNUM *v, char *info)
 
int SSL_set_srp_server_param_pw (SSL *s, const char *user, const char *pass, const char *grp)
 
__owur BIGNUMSSL_get_srp_g (SSL *s)
 
__owur BIGNUMSSL_get_srp_N (SSL *s)
 
__owur char * SSL_get_srp_username (SSL *s)
 
__owur char * SSL_get_srp_userinfo (SSL *s)
 
void SSL_CTX_set_client_hello_cb (SSL_CTX *c, SSL_client_hello_cb_fn cb, void *arg)
 
int SSL_client_hello_isv2 (SSL *s)
 
unsigned int SSL_client_hello_get0_legacy_version (SSL *s)
 
size_t SSL_client_hello_get0_random (SSL *s, const unsigned char **out)
 
size_t SSL_client_hello_get0_session_id (SSL *s, const unsigned char **out)
 
size_t SSL_client_hello_get0_ciphers (SSL *s, const unsigned char **out)
 
size_t SSL_client_hello_get0_compression_methods (SSL *s, const unsigned char **out)
 
int SSL_client_hello_get1_extensions_present (SSL *s, int **out, size_t *outlen)
 
int SSL_client_hello_get0_ext (SSL *s, unsigned int type, const unsigned char **out, size_t *outlen)
 
void SSL_certs_clear (SSL *s)
 
void SSL_free (SSL *ssl)
 
__owur int SSL_accept (SSL *ssl)
 
__owur int SSL_stateless (SSL *s)
 
__owur int SSL_connect (SSL *ssl)
 
__owur int SSL_read (SSL *ssl, void *buf, int num)
 
__owur int SSL_read_ex (SSL *ssl, void *buf, size_t num, size_t *readbytes)
 
__owur int SSL_read_early_data (SSL *s, void *buf, size_t num, size_t *readbytes)
 
__owur int SSL_peek (SSL *ssl, void *buf, int num)
 
__owur int SSL_peek_ex (SSL *ssl, void *buf, size_t num, size_t *readbytes)
 
__owur int SSL_write (SSL *ssl, const void *buf, int num)
 
__owur int SSL_write_ex (SSL *s, const void *buf, size_t num, size_t *written)
 
__owur int SSL_write_early_data (SSL *s, const void *buf, size_t num, size_t *written)
 
long SSL_ctrl (SSL *ssl, int cmd, long larg, void *parg)
 
long SSL_callback_ctrl (SSL *, int, void(*)(void))
 
long SSL_CTX_ctrl (SSL_CTX *ctx, int cmd, long larg, void *parg)
 
long SSL_CTX_callback_ctrl (SSL_CTX *, int, void(*)(void))
 
__owur int SSL_get_early_data_status (const SSL *s)
 
__owur int SSL_get_error (const SSL *s, int ret_code)
 
__owur const char * SSL_get_version (const SSL *s)
 
__owur int SSL_CTX_set_ssl_version (SSL_CTX *ctx, const SSL_METHOD *meth)
 
__owur const SSL_METHODTLS_method (void)
 
__owur const SSL_METHODTLS_server_method (void)
 
__owur const SSL_METHODTLS_client_method (void)
 
__owur const SSL_METHODDTLS_method (void)
 
__owur const SSL_METHODDTLS_server_method (void)
 
__owur const SSL_METHODDTLS_client_method (void)
 
__owur size_t DTLS_get_data_mtu (const SSL *s)
 
__owur int SSL_do_handshake (SSL *s)
 
int SSL_key_update (SSL *s, int updatetype)
 
int SSL_get_key_update_type (const SSL *s)
 
int SSL_renegotiate (SSL *s)
 
int SSL_renegotiate_abbreviated (SSL *s)
 
__owur int SSL_renegotiate_pending (const SSL *s)
 
int SSL_shutdown (SSL *s)
 
__owur int SSL_verify_client_post_handshake (SSL *s)
 
void SSL_CTX_set_post_handshake_auth (SSL_CTX *ctx, int val)
 
void SSL_set_post_handshake_auth (SSL *s, int val)
 
__owur const SSL_METHODSSL_CTX_get_ssl_method (const SSL_CTX *ctx)
 
__owur const SSL_METHODSSL_get_ssl_method (const SSL *s)
 
__owur int SSL_set_ssl_method (SSL *s, const SSL_METHOD *method)
 
__owur const char * SSL_alert_type_string_long (int value)
 
__owur const char * SSL_alert_type_string (int value)
 
__owur const char * SSL_alert_desc_string_long (int value)
 
__owur const char * SSL_alert_desc_string (int value)
 
void SSL_set0_CA_list (SSL *s, STACK_OF(X509_NAME) *name_list)
 
void SSL_CTX_set0_CA_list (SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list)
 
__owur int SSL_add1_to_CA_list (SSL *ssl, const X509 *x)
 
__owur int SSL_CTX_add1_to_CA_list (SSL_CTX *ctx, const X509 *x)
 
void SSL_set_client_CA_list (SSL *s, STACK_OF(X509_NAME) *name_list)
 
void SSL_CTX_set_client_CA_list (SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list)
 
__owur int SSL_add_client_CA (SSL *ssl, X509 *x)
 
__owur int SSL_CTX_add_client_CA (SSL_CTX *ctx, X509 *x)
 
void SSL_set_connect_state (SSL *s)
 
void SSL_set_accept_state (SSL *s)
 
__owur long SSL_get_default_timeout (const SSL *s)
 
__owur char * SSL_CIPHER_description (const SSL_CIPHER *, char *buf, int size)
 
__owur SSLSSL_dup (SSL *ssl)
 
__owur X509SSL_get_certificate (const SSL *ssl)
 
struct evp_pkey_st * SSL_get_privatekey (const SSL *ssl)
 
__owur X509SSL_CTX_get0_certificate (const SSL_CTX *ctx)
 
__owur EVP_PKEYSSL_CTX_get0_privatekey (const SSL_CTX *ctx)
 
void SSL_CTX_set_quiet_shutdown (SSL_CTX *ctx, int mode)
 
__owur int SSL_CTX_get_quiet_shutdown (const SSL_CTX *ctx)
 
void SSL_set_quiet_shutdown (SSL *ssl, int mode)
 
__owur int SSL_get_quiet_shutdown (const SSL *ssl)
 
void SSL_set_shutdown (SSL *ssl, int mode)
 
__owur int SSL_get_shutdown (const SSL *ssl)
 
__owur int SSL_version (const SSL *ssl)
 
__owur int SSL_client_version (const SSL *s)
 
__owur int SSL_CTX_set_default_verify_paths (SSL_CTX *ctx)
 
__owur int SSL_CTX_set_default_verify_dir (SSL_CTX *ctx)
 
__owur int SSL_CTX_set_default_verify_file (SSL_CTX *ctx)
 
__owur int SSL_CTX_load_verify_locations (SSL_CTX *ctx, const char *CAfile, const char *CApath)
 
__owur SSL_SESSIONSSL_get_session (const SSL *ssl)
 
__owur SSL_SESSIONSSL_get1_session (SSL *ssl)
 
__owur SSL_CTXSSL_get_SSL_CTX (const SSL *ssl)
 
SSL_CTXSSL_set_SSL_CTX (SSL *ssl, SSL_CTX *ctx)
 
void SSL_set_info_callback (SSL *ssl, void(*cb)(const SSL *ssl, int type, int val))
 
__owur OSSL_HANDSHAKE_STATE SSL_get_state (const SSL *ssl)
 
void SSL_set_verify_result (SSL *ssl, long v)
 
__owur long SSL_get_verify_result (const SSL *ssl)
 
__owur size_t SSL_get_client_random (const SSL *ssl, unsigned char *out, size_t outlen)
 
__owur size_t SSL_get_server_random (const SSL *ssl, unsigned char *out, size_t outlen)
 
__owur size_t SSL_SESSION_get_master_key (const SSL_SESSION *sess, unsigned char *out, size_t outlen)
 
__owur int SSL_SESSION_set1_master_key (SSL_SESSION *sess, const unsigned char *in, size_t len)
 
uint8_t SSL_SESSION_get_max_fragment_length (const SSL_SESSION *sess)
 
__owur int SSL_set_ex_data (SSL *ssl, int idx, void *data)
 
void * SSL_get_ex_data (const SSL *ssl, int idx)
 
__owur int SSL_SESSION_set_ex_data (SSL_SESSION *ss, int idx, void *data)
 
void * SSL_SESSION_get_ex_data (const SSL_SESSION *ss, int idx)
 
__owur int SSL_CTX_set_ex_data (SSL_CTX *ssl, int idx, void *data)
 
void * SSL_CTX_get_ex_data (const SSL_CTX *ssl, int idx)
 
__owur int SSL_get_ex_data_X509_STORE_CTX_idx (void)
 
void SSL_CTX_set_default_read_buffer_len (SSL_CTX *ctx, size_t len)
 
void SSL_set_default_read_buffer_len (SSL *s, size_t len)
 
void SSL_CTX_set_tmp_dh_callback (SSL_CTX *ctx, DH *(*dh)(SSL *ssl, int is_export, int keylength))
 
void SSL_set_tmp_dh_callback (SSL *ssl, DH *(*dh)(SSL *ssl, int is_export, int keylength))
 
__owur const COMP_METHODSSL_get_current_compression (const SSL *s)
 
__owur const COMP_METHODSSL_get_current_expansion (const SSL *s)
 
__owur const char * SSL_COMP_get_name (const COMP_METHOD *comp)
 
__owur const char * SSL_COMP_get0_name (const SSL_COMP *comp)
 
__owur int SSL_COMP_get_id (const SSL_COMP *comp)
 
__owur int SSL_COMP_add_compression_method (int id, COMP_METHOD *cm)
 
const SSL_CIPHERSSL_CIPHER_find (SSL *ssl, const unsigned char *ptr)
 
int SSL_CIPHER_get_cipher_nid (const SSL_CIPHER *c)
 
int SSL_CIPHER_get_digest_nid (const SSL_CIPHER *c)
 
int SSL_bytes_to_cipher_list (SSL *s, const unsigned char *bytes, size_t len, int isv2format, STACK_OF(SSL_CIPHER) **sk, STACK_OF(SSL_CIPHER) **scsvs)
 
__owur int SSL_set_session_ticket_ext (SSL *s, void *ext_data, int ext_len)
 
__owur int SSL_set_session_ticket_ext_cb (SSL *s, tls_session_ticket_ext_cb_fn cb, void *arg)
 
__owur int SSL_set_session_secret_cb (SSL *s, tls_session_secret_cb_fn session_secret_cb, void *arg)
 
void SSL_CTX_set_not_resumable_session_callback (SSL_CTX *ctx, int(*cb)(SSL *ssl, int is_forward_secure))
 
void SSL_set_not_resumable_session_callback (SSL *ssl, int(*cb)(SSL *ssl, int is_forward_secure))
 
void SSL_CTX_set_record_padding_callback (SSL_CTX *ctx, size_t(*cb)(SSL *ssl, int type, size_t len, void *arg))
 
void SSL_CTX_set_record_padding_callback_arg (SSL_CTX *ctx, void *arg)
 
void * SSL_CTX_get_record_padding_callback_arg (const SSL_CTX *ctx)
 
int SSL_CTX_set_block_padding (SSL_CTX *ctx, size_t block_size)
 
void SSL_set_record_padding_callback (SSL *ssl, size_t(*cb)(SSL *ssl, int type, size_t len, void *arg))
 
void SSL_set_record_padding_callback_arg (SSL *ssl, void *arg)
 
void * SSL_get_record_padding_callback_arg (const SSL *ssl)
 
int SSL_set_block_padding (SSL *ssl, size_t block_size)
 
int SSL_set_num_tickets (SSL *s, size_t num_tickets)
 
size_t SSL_get_num_tickets (const SSL *s)
 
int SSL_CTX_set_num_tickets (SSL_CTX *ctx, size_t num_tickets)
 
size_t SSL_CTX_get_num_tickets (const SSL_CTX *ctx)
 
__owur int SSL_session_reused (const SSL *s)
 
__owur int SSL_is_server (const SSL *s)
 
__owur __owur SSL_CONF_CTXSSL_CONF_CTX_new (void)
 
int SSL_CONF_CTX_finish (SSL_CONF_CTX *cctx)
 
void SSL_CONF_CTX_free (SSL_CONF_CTX *cctx)
 
unsigned int SSL_CONF_CTX_set_flags (SSL_CONF_CTX *cctx, unsigned int flags)
 
__owur unsigned int SSL_CONF_CTX_clear_flags (SSL_CONF_CTX *cctx, unsigned int flags)
 
__owur int SSL_CONF_CTX_set1_prefix (SSL_CONF_CTX *cctx, const char *pre)
 
void SSL_CONF_CTX_set_ssl (SSL_CONF_CTX *cctx, SSL *ssl)
 
void SSL_CONF_CTX_set_ssl_ctx (SSL_CONF_CTX *cctx, SSL_CTX *ctx)
 
__owur int SSL_CONF_cmd (SSL_CONF_CTX *cctx, const char *cmd, const char *value)
 
__owur int SSL_CONF_cmd_argv (SSL_CONF_CTX *cctx, int *pargc, char ***pargv)
 
__owur int SSL_CONF_cmd_value_type (SSL_CONF_CTX *cctx, const char *cmd)
 
void SSL_add_ssl_module (void)
 
int SSL_config (SSL *s, const char *name)
 
int SSL_CTX_config (SSL_CTX *ctx, const char *name)
 
void SSL_trace (int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)
 
int DTLSv1_listen (SSL *s, BIO_ADDR *client)
 
int SSL_set_ct_validation_callback (SSL *s, ssl_ct_validation_cb callback, void *arg)
 
int SSL_CTX_set_ct_validation_callback (SSL_CTX *ctx, ssl_ct_validation_cb callback, void *arg)
 
int SSL_enable_ct (SSL *s, int validation_mode)
 
int SSL_CTX_enable_ct (SSL_CTX *ctx, int validation_mode)
 
int SSL_ct_is_enabled (const SSL *s)
 
int SSL_CTX_ct_is_enabled (const SSL_CTX *ctx)
 
const STACK_OF (SCT) *SSL_get0_peer_scts(SSL *s)
 
int SSL_CTX_set_default_ctlog_list_file (SSL_CTX *ctx)
 
int SSL_CTX_set_ctlog_list_file (SSL_CTX *ctx, const char *path)
 
void SSL_CTX_set0_ctlog_store (SSL_CTX *ctx, CTLOG_STORE *logs)
 
const CTLOG_STORESSL_CTX_get0_ctlog_store (const SSL_CTX *ctx)
 
void SSL_set_security_level (SSL *s, int level)
 
__owur int SSL_get_security_level (const SSL *s)
 
void SSL_set_security_callback (SSL *s, int(*cb)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex))
 
void SSL_set0_security_ex_data (SSL *s, void *ex)
 
__owur void * SSL_get0_security_ex_data (const SSL *s)
 
void SSL_CTX_set_security_level (SSL_CTX *ctx, int level)
 
__owur int SSL_CTX_get_security_level (const SSL_CTX *ctx)
 
void SSL_CTX_set_security_callback (SSL_CTX *ctx, int(*cb)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex))
 
void SSL_CTX_set0_security_ex_data (SSL_CTX *ctx, void *ex)
 
__owur void * SSL_CTX_get0_security_ex_data (const SSL_CTX *ctx)
 
int OPENSSL_init_ssl (uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
 
__owur const struct openssl_ssl_test_functions * SSL_test_functions (void)
 
__owur int SSL_free_buffers (SSL *ssl)
 
__owur int SSL_alloc_buffers (SSL *ssl)
 
int SSL_CTX_set_session_ticket_cb (SSL_CTX *ctx, SSL_CTX_generate_session_ticket_fn gen_cb, SSL_CTX_decrypt_session_ticket_fn dec_cb, void *arg)
 
int SSL_SESSION_set1_ticket_appdata (SSL_SESSION *ss, const void *data, size_t len)
 
int SSL_SESSION_get0_ticket_appdata (SSL_SESSION *ss, void **data, size_t *len)
 
void DTLS_set_timer_cb (SSL *s, DTLS_timer_cb cb)
 
void SSL_CTX_set_allow_early_data_cb (SSL_CTX *ctx, SSL_allow_early_data_cb_fn cb, void *arg)
 
void SSL_set_allow_early_data_cb (SSL *s, SSL_allow_early_data_cb_fn cb, void *arg)
 

Variables

int(*)(struct ssl_st *ssl, SSL_SESSION *sess) SSL_CTX_sess_get_new_cb (SSL_CTX *ctx)
 
void(*)(struct ssl_ctx_st *ctx, SSL_SESSION *sess) SSL_CTX_sess_get_remove_cb (SSL_CTX *ctx)
 
SSL_SESSION *(*)(struct ssl_st *ssl, const unsigned char *data, int len, int *copy) SSL_CTX_sess_get_get_cb (SSL_CTX *ctx)
 
void(*)(const SSL *ssl, int type, int val) SSL_CTX_get_info_callback (SSL_CTX *ctx)
 
int(*)(SSL *ssl, X509 **x509, EVP_PKEY **pkey) SSL_CTX_get_client_cert_cb (SSL_CTX *ctx)
 
void(*)(const SSL *ssl, int type, int val) SSL_get_info_callback (const SSL *ssl)
 
int(*)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *exSSL_get_security_callback (const SSL *s)
 
int(*)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *exSSL_CTX_get_security_callback (const SSL_CTX *ctx)
 
const char SSL_version_str []
 

Macro Definition Documentation

◆ CERT_PKEY_CA_PARAM

#define CERT_PKEY_CA_PARAM   0x80

Definition at line 551 of file ssl.h.

◆ CERT_PKEY_CA_SIGNATURE

#define CERT_PKEY_CA_SIGNATURE   0x20

Definition at line 547 of file ssl.h.

◆ CERT_PKEY_CERT_TYPE

#define CERT_PKEY_CERT_TYPE   0x400

Definition at line 557 of file ssl.h.

◆ CERT_PKEY_EE_PARAM

#define CERT_PKEY_EE_PARAM   0x40

Definition at line 549 of file ssl.h.

◆ CERT_PKEY_EE_SIGNATURE

#define CERT_PKEY_EE_SIGNATURE   0x10

Definition at line 545 of file ssl.h.

◆ CERT_PKEY_EXPLICIT_SIGN

#define CERT_PKEY_EXPLICIT_SIGN   0x100

Definition at line 553 of file ssl.h.

◆ CERT_PKEY_ISSUER_NAME

#define CERT_PKEY_ISSUER_NAME   0x200

Definition at line 555 of file ssl.h.

◆ CERT_PKEY_SIGN

#define CERT_PKEY_SIGN   0x2

Definition at line 543 of file ssl.h.

◆ CERT_PKEY_SUITEB

#define CERT_PKEY_SUITEB   0x800

Definition at line 559 of file ssl.h.

◆ CERT_PKEY_VALID

#define CERT_PKEY_VALID   0x1

Definition at line 541 of file ssl.h.

◆ d2i_SSL_SESSION_bio

#define d2i_SSL_SESSION_bio ( bp,
s_id )   ASN1_d2i_bio_of(SSL_SESSION,SSL_SESSION_new,d2i_SSL_SESSION,bp,s_id)

Definition at line 1124 of file ssl.h.

◆ DTLS_CTRL_GET_LINK_MIN_MTU

#define DTLS_CTRL_GET_LINK_MIN_MTU   121

◆ DTLS_CTRL_GET_TIMEOUT

#define DTLS_CTRL_GET_TIMEOUT   73

◆ DTLS_CTRL_HANDLE_TIMEOUT

#define DTLS_CTRL_HANDLE_TIMEOUT   74

◆ DTLS_CTRL_SET_LINK_MTU

#define DTLS_CTRL_SET_LINK_MTU   120

◆ DTLS_get_link_min_mtu

#define DTLS_get_link_min_mtu ( ssl)     SSL_ctrl((ssl),DTLS_CTRL_GET_LINK_MIN_MTU,0,NULL)

Definition at line 606 of file ssl.h.

◆ DTLS_set_link_mtu

#define DTLS_set_link_mtu ( ssl,
mtu )    SSL_ctrl((ssl),DTLS_CTRL_SET_LINK_MTU,(mtu),NULL)

Definition at line 604 of file ssl.h.

◆ DTLSv1_get_timeout

#define DTLSv1_get_timeout ( ssl,
arg )    SSL_ctrl(ssl,DTLS_CTRL_GET_TIMEOUT,0, (void *)(arg))

◆ DTLSv1_handle_timeout

#define DTLSv1_handle_timeout ( ssl)     SSL_ctrl(ssl,DTLS_CTRL_HANDLE_TIMEOUT,0, NULL)

◆ i2d_SSL_SESSION_bio

#define i2d_SSL_SESSION_bio ( bp,
s_id )   ASN1_i2d_bio_of(SSL_SESSION,i2d_SSL_SESSION,bp,s_id)

Definition at line 1125 of file ssl.h.

◆ OpenSSL_add_ssl_algorithms

#define OpenSSL_add_ssl_algorithms ( )    SSL_library_init()

Definition at line 1106 of file ssl.h.

◆ OPENSSL_INIT_LOAD_SSL_STRINGS

#define OPENSSL_INIT_LOAD_SSL_STRINGS   0x00200000L

Definition at line 2357 of file ssl.h.

◆ OPENSSL_INIT_NO_LOAD_SSL_STRINGS

#define OPENSSL_INIT_NO_LOAD_SSL_STRINGS   0x00100000L

Definition at line 2356 of file ssl.h.

◆ OPENSSL_INIT_SSL_DEFAULT

#define OPENSSL_INIT_SSL_DEFAULT    (OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS)

Definition at line 2359 of file ssl.h.

◆ OPENSSL_NPN_NEGOTIATED

#define OPENSSL_NPN_NEGOTIATED   1

Definition at line 797 of file ssl.h.

◆ OPENSSL_NPN_NO_OVERLAP

#define OPENSSL_NPN_NO_OVERLAP   2

Definition at line 798 of file ssl.h.

◆ OPENSSL_NPN_UNSUPPORTED

#define OPENSSL_NPN_UNSUPPORTED   0

Definition at line 796 of file ssl.h.

◆ PSK_MAX_IDENTITY_LEN

#define PSK_MAX_IDENTITY_LEN   128

Definition at line 821 of file ssl.h.

◆ PSK_MAX_PSK_LEN

#define PSK_MAX_PSK_LEN   256

Definition at line 822 of file ssl.h.

◆ SSL_AD_ACCESS_DENIED

#define SSL_AD_ACCESS_DENIED   TLS1_AD_ACCESS_DENIED

◆ SSL_AD_BAD_CERTIFICATE

#define SSL_AD_BAD_CERTIFICATE   SSL3_AD_BAD_CERTIFICATE

◆ SSL_AD_BAD_CERTIFICATE_HASH_VALUE

#define SSL_AD_BAD_CERTIFICATE_HASH_VALUE   TLS1_AD_BAD_CERTIFICATE_HASH_VALUE

◆ SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE

#define SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE   TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE

◆ SSL_AD_BAD_RECORD_MAC

#define SSL_AD_BAD_RECORD_MAC   SSL3_AD_BAD_RECORD_MAC

◆ SSL_AD_CERTIFICATE_EXPIRED

#define SSL_AD_CERTIFICATE_EXPIRED   SSL3_AD_CERTIFICATE_EXPIRED

◆ SSL_AD_CERTIFICATE_REQUIRED

#define SSL_AD_CERTIFICATE_REQUIRED   TLS13_AD_CERTIFICATE_REQUIRED

◆ SSL_AD_CERTIFICATE_REVOKED

#define SSL_AD_CERTIFICATE_REVOKED   SSL3_AD_CERTIFICATE_REVOKED

◆ SSL_AD_CERTIFICATE_UNKNOWN

#define SSL_AD_CERTIFICATE_UNKNOWN   SSL3_AD_CERTIFICATE_UNKNOWN

◆ SSL_AD_CERTIFICATE_UNOBTAINABLE

#define SSL_AD_CERTIFICATE_UNOBTAINABLE   TLS1_AD_CERTIFICATE_UNOBTAINABLE

◆ SSL_AD_CLOSE_NOTIFY

#define SSL_AD_CLOSE_NOTIFY   SSL3_AD_CLOSE_NOTIFY

◆ SSL_AD_DECODE_ERROR

#define SSL_AD_DECODE_ERROR   TLS1_AD_DECODE_ERROR

◆ SSL_AD_DECOMPRESSION_FAILURE

#define SSL_AD_DECOMPRESSION_FAILURE   SSL3_AD_DECOMPRESSION_FAILURE

◆ SSL_AD_DECRYPT_ERROR

#define SSL_AD_DECRYPT_ERROR   TLS1_AD_DECRYPT_ERROR

◆ SSL_AD_DECRYPTION_FAILED

#define SSL_AD_DECRYPTION_FAILED   TLS1_AD_DECRYPTION_FAILED

◆ SSL_AD_EXPORT_RESTRICTION

#define SSL_AD_EXPORT_RESTRICTION   TLS1_AD_EXPORT_RESTRICTION

◆ SSL_AD_HANDSHAKE_FAILURE

#define SSL_AD_HANDSHAKE_FAILURE   SSL3_AD_HANDSHAKE_FAILURE

◆ SSL_AD_ILLEGAL_PARAMETER

#define SSL_AD_ILLEGAL_PARAMETER   SSL3_AD_ILLEGAL_PARAMETER

◆ SSL_AD_INAPPROPRIATE_FALLBACK

#define SSL_AD_INAPPROPRIATE_FALLBACK   TLS1_AD_INAPPROPRIATE_FALLBACK

◆ SSL_AD_INSUFFICIENT_SECURITY

#define SSL_AD_INSUFFICIENT_SECURITY   TLS1_AD_INSUFFICIENT_SECURITY

◆ SSL_AD_INTERNAL_ERROR

#define SSL_AD_INTERNAL_ERROR   TLS1_AD_INTERNAL_ERROR

◆ SSL_AD_MISSING_EXTENSION

#define SSL_AD_MISSING_EXTENSION   TLS13_AD_MISSING_EXTENSION

◆ SSL_AD_NO_APPLICATION_PROTOCOL

#define SSL_AD_NO_APPLICATION_PROTOCOL   TLS1_AD_NO_APPLICATION_PROTOCOL

◆ SSL_AD_NO_CERTIFICATE

#define SSL_AD_NO_CERTIFICATE   SSL3_AD_NO_CERTIFICATE

◆ SSL_AD_NO_RENEGOTIATION

#define SSL_AD_NO_RENEGOTIATION   TLS1_AD_NO_RENEGOTIATION

◆ SSL_AD_PROTOCOL_VERSION

#define SSL_AD_PROTOCOL_VERSION   TLS1_AD_PROTOCOL_VERSION

◆ SSL_AD_REASON_OFFSET

#define SSL_AD_REASON_OFFSET
Value:
1000/* offset to get SSL_R_... value
* from SSL_AD_... */

◆ SSL_AD_RECORD_OVERFLOW

#define SSL_AD_RECORD_OVERFLOW   TLS1_AD_RECORD_OVERFLOW

◆ SSL_AD_UNEXPECTED_MESSAGE

#define SSL_AD_UNEXPECTED_MESSAGE   SSL3_AD_UNEXPECTED_MESSAGE

◆ SSL_AD_UNKNOWN_CA

#define SSL_AD_UNKNOWN_CA   TLS1_AD_UNKNOWN_CA

◆ SSL_AD_UNKNOWN_PSK_IDENTITY

#define SSL_AD_UNKNOWN_PSK_IDENTITY   TLS1_AD_UNKNOWN_PSK_IDENTITY

◆ SSL_AD_UNRECOGNIZED_NAME

#define SSL_AD_UNRECOGNIZED_NAME   TLS1_AD_UNRECOGNIZED_NAME

◆ SSL_AD_UNSUPPORTED_CERTIFICATE

#define SSL_AD_UNSUPPORTED_CERTIFICATE   SSL3_AD_UNSUPPORTED_CERTIFICATE

◆ SSL_AD_UNSUPPORTED_EXTENSION

#define SSL_AD_UNSUPPORTED_EXTENSION   TLS1_AD_UNSUPPORTED_EXTENSION

◆ SSL_AD_USER_CANCELLED

#define SSL_AD_USER_CANCELLED   TLS1_AD_USER_CANCELLED

◆ SSL_add0_chain_cert

#define SSL_add0_chain_cert ( s,
x509 )    SSL_ctrl(s,SSL_CTRL_CHAIN_CERT,0,(char *)(x509))

◆ SSL_add1_chain_cert

#define SSL_add1_chain_cert ( s,
x509 )    SSL_ctrl(s,SSL_CTRL_CHAIN_CERT,1,(char *)(x509))

◆ SSL_ASYNC_NO_JOBS

#define SSL_ASYNC_NO_JOBS   6

Definition at line 897 of file ssl.h.

◆ SSL_ASYNC_PAUSED

#define SSL_ASYNC_PAUSED   5

Definition at line 896 of file ssl.h.

◆ SSL_build_cert_chain

#define SSL_build_cert_chain ( s,
flags )    SSL_ctrl(s,SSL_CTRL_BUILD_CERT_CHAIN, flags, NULL)

◆ SSL_BUILD_CHAIN_FLAG_CHECK

#define SSL_BUILD_CHAIN_FLAG_CHECK   0x4

Definition at line 533 of file ssl.h.

◆ SSL_BUILD_CHAIN_FLAG_CLEAR_ERROR

#define SSL_BUILD_CHAIN_FLAG_CLEAR_ERROR   0x10

Definition at line 537 of file ssl.h.

◆ SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR

#define SSL_BUILD_CHAIN_FLAG_IGNORE_ERROR   0x8

Definition at line 535 of file ssl.h.

◆ SSL_BUILD_CHAIN_FLAG_NO_ROOT

#define SSL_BUILD_CHAIN_FLAG_NO_ROOT   0x2

Definition at line 531 of file ssl.h.

◆ SSL_BUILD_CHAIN_FLAG_UNTRUSTED

#define SSL_BUILD_CHAIN_FLAG_UNTRUSTED   0x1

Definition at line 529 of file ssl.h.

◆ SSL_cache_hit

#define SSL_cache_hit ( s)    SSL_session_reused(s)

Definition at line 2137 of file ssl.h.

◆ SSL_CB_ACCEPT_EXIT

#define SSL_CB_ACCEPT_EXIT   (SSL_ST_ACCEPT|SSL_CB_EXIT)

Definition at line 1065 of file ssl.h.

◆ SSL_CB_ACCEPT_LOOP

#define SSL_CB_ACCEPT_LOOP   (SSL_ST_ACCEPT|SSL_CB_LOOP)

Definition at line 1064 of file ssl.h.

◆ SSL_CB_ALERT

#define SSL_CB_ALERT   0x4000/* used in callback */

Definition at line 1061 of file ssl.h.

◆ SSL_CB_CONNECT_EXIT

#define SSL_CB_CONNECT_EXIT   (SSL_ST_CONNECT|SSL_CB_EXIT)

Definition at line 1067 of file ssl.h.

◆ SSL_CB_CONNECT_LOOP

#define SSL_CB_CONNECT_LOOP   (SSL_ST_CONNECT|SSL_CB_LOOP)

Definition at line 1066 of file ssl.h.

◆ SSL_CB_EXIT

#define SSL_CB_EXIT   0x02

Definition at line 1058 of file ssl.h.

◆ SSL_CB_HANDSHAKE_DONE

#define SSL_CB_HANDSHAKE_DONE   0x20

Definition at line 1069 of file ssl.h.

◆ SSL_CB_HANDSHAKE_START

#define SSL_CB_HANDSHAKE_START   0x10

Definition at line 1068 of file ssl.h.

◆ SSL_CB_LOOP

#define SSL_CB_LOOP   0x01

Definition at line 1057 of file ssl.h.

◆ SSL_CB_READ

#define SSL_CB_READ   0x04

Definition at line 1059 of file ssl.h.

◆ SSL_CB_READ_ALERT

#define SSL_CB_READ_ALERT   (SSL_CB_ALERT|SSL_CB_READ)

Definition at line 1062 of file ssl.h.

◆ SSL_CB_WRITE

#define SSL_CB_WRITE   0x08

Definition at line 1060 of file ssl.h.

◆ SSL_CB_WRITE_ALERT

#define SSL_CB_WRITE_ALERT   (SSL_CB_ALERT|SSL_CB_WRITE)

Definition at line 1063 of file ssl.h.

◆ SSL_CERT_FLAG_BROKEN_PROTOCOL

#define SSL_CERT_FLAG_BROKEN_PROTOCOL   0x10000000

Definition at line 525 of file ssl.h.

◆ SSL_CERT_FLAG_SUITEB_128_LOS

#define SSL_CERT_FLAG_SUITEB_128_LOS   0x30000

Definition at line 522 of file ssl.h.

◆ SSL_CERT_FLAG_SUITEB_128_LOS_ONLY

#define SSL_CERT_FLAG_SUITEB_128_LOS_ONLY   0x10000

Definition at line 518 of file ssl.h.

◆ SSL_CERT_FLAG_SUITEB_192_LOS

#define SSL_CERT_FLAG_SUITEB_192_LOS   0x20000

Definition at line 520 of file ssl.h.

◆ SSL_CERT_FLAG_TLS_STRICT

#define SSL_CERT_FLAG_TLS_STRICT   0x00000001U

Definition at line 515 of file ssl.h.

◆ SSL_CERT_SET_FIRST

#define SSL_CERT_SET_FIRST   1

◆ SSL_CERT_SET_NEXT

#define SSL_CERT_SET_NEXT   2

◆ SSL_CERT_SET_SERVER

#define SSL_CERT_SET_SERVER   3

◆ SSL_clear_cert_flags

#define SSL_clear_cert_flags ( s,
op )    SSL_ctrl((s),SSL_CTRL_CLEAR_CERT_FLAGS,(op),NULL)

Definition at line 623 of file ssl.h.

◆ SSL_clear_chain_certs

#define SSL_clear_chain_certs ( s)     SSL_set0_chain(s,NULL)

◆ SSL_clear_mode

#define SSL_clear_mode ( ssl,
op )    SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)

Definition at line 596 of file ssl.h.

◆ SSL_clear_num_renegotiations

#define SSL_clear_num_renegotiations ( ssl)     SSL_ctrl((ssl),SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS,0,NULL)

◆ SSL_CLIENT_HELLO_CB

#define SSL_CLIENT_HELLO_CB   7

Definition at line 898 of file ssl.h.

◆ SSL_CLIENT_HELLO_ERROR

#define SSL_CLIENT_HELLO_ERROR   0

Definition at line 1795 of file ssl.h.

◆ SSL_CLIENT_HELLO_RETRY

#define SSL_CLIENT_HELLO_RETRY   (-1)

Definition at line 1796 of file ssl.h.

◆ SSL_CLIENT_HELLO_SUCCESS

#define SSL_CLIENT_HELLO_SUCCESS   1

Definition at line 1794 of file ssl.h.

◆ SSL_COMP_free_compression_methods

#define SSL_COMP_free_compression_methods ( )    while(0) continue

Definition at line 2085 of file ssl.h.

◆ SSL_CONF_FLAG_CERTIFICATE

#define SSL_CONF_FLAG_CERTIFICATE   0x20

Definition at line 566 of file ssl.h.

◆ SSL_CONF_FLAG_CLIENT

#define SSL_CONF_FLAG_CLIENT   0x4

Definition at line 563 of file ssl.h.

◆ SSL_CONF_FLAG_CMDLINE

#define SSL_CONF_FLAG_CMDLINE   0x1

Definition at line 561 of file ssl.h.

◆ SSL_CONF_FLAG_FILE

#define SSL_CONF_FLAG_FILE   0x2

Definition at line 562 of file ssl.h.

◆ SSL_CONF_FLAG_REQUIRE_PRIVATE

#define SSL_CONF_FLAG_REQUIRE_PRIVATE   0x40

Definition at line 567 of file ssl.h.

◆ SSL_CONF_FLAG_SERVER

#define SSL_CONF_FLAG_SERVER   0x8

Definition at line 564 of file ssl.h.

◆ SSL_CONF_FLAG_SHOW_ERRORS

#define SSL_CONF_FLAG_SHOW_ERRORS   0x10

Definition at line 565 of file ssl.h.

◆ SSL_CONF_TYPE_DIR

#define SSL_CONF_TYPE_DIR   0x3

Definition at line 572 of file ssl.h.

◆ SSL_CONF_TYPE_FILE

#define SSL_CONF_TYPE_FILE   0x2

Definition at line 571 of file ssl.h.

◆ SSL_CONF_TYPE_NONE

#define SSL_CONF_TYPE_NONE   0x4

Definition at line 573 of file ssl.h.

◆ SSL_CONF_TYPE_STRING

#define SSL_CONF_TYPE_STRING   0x1

Definition at line 570 of file ssl.h.

◆ SSL_CONF_TYPE_UNKNOWN

#define SSL_CONF_TYPE_UNKNOWN   0x0

Definition at line 569 of file ssl.h.

◆ SSL_COOKIE_LENGTH

#define SSL_COOKIE_LENGTH   4096

Definition at line 576 of file ssl.h.

◆ SSL_CTRL_BUILD_CERT_CHAIN

#define SSL_CTRL_BUILD_CERT_CHAIN   105

◆ SSL_CTRL_CERT_FLAGS

#define SSL_CTRL_CERT_FLAGS   99

◆ SSL_CTRL_CHAIN

#define SSL_CTRL_CHAIN   88

◆ SSL_CTRL_CHAIN_CERT

#define SSL_CTRL_CHAIN_CERT   89

◆ SSL_CTRL_CLEAR_CERT_FLAGS

#define SSL_CTRL_CLEAR_CERT_FLAGS   100

◆ SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS

#define SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS   83

◆ SSL_CTRL_CLEAR_MODE

#define SSL_CTRL_CLEAR_MODE   78

◆ SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS

#define SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS   11

◆ SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT

#define SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT   85

◆ SSL_CTRL_EXTRA_CHAIN_CERT

#define SSL_CTRL_EXTRA_CHAIN_CERT   14

◆ SSL_CTRL_GET_CHAIN_CERTS

#define SSL_CTRL_GET_CHAIN_CERTS   115

◆ SSL_CTRL_GET_CLIENT_CERT_REQUEST

#define SSL_CTRL_GET_CLIENT_CERT_REQUEST   9

◆ SSL_CTRL_GET_CLIENT_CERT_TYPES

#define SSL_CTRL_GET_CLIENT_CERT_TYPES   103

◆ SSL_CTRL_GET_CURVES

#define SSL_CTRL_GET_CURVES   SSL_CTRL_GET_GROUPS

◆ SSL_CTRL_GET_DTLS_EXT_HEARTBEAT_PENDING

#define SSL_CTRL_GET_DTLS_EXT_HEARTBEAT_PENDING   86

◆ SSL_CTRL_GET_EC_POINT_FORMATS

#define SSL_CTRL_GET_EC_POINT_FORMATS   111

◆ SSL_CTRL_GET_EXTMS_SUPPORT

#define SSL_CTRL_GET_EXTMS_SUPPORT   122

◆ SSL_CTRL_GET_EXTRA_CHAIN_CERTS

#define SSL_CTRL_GET_EXTRA_CHAIN_CERTS   82

◆ SSL_CTRL_GET_FLAGS

#define SSL_CTRL_GET_FLAGS   13

◆ SSL_CTRL_GET_GROUPS

#define SSL_CTRL_GET_GROUPS   90

◆ SSL_CTRL_GET_MAX_CERT_LIST

#define SSL_CTRL_GET_MAX_CERT_LIST   50

◆ SSL_CTRL_GET_MAX_PROTO_VERSION

#define SSL_CTRL_GET_MAX_PROTO_VERSION   131

◆ SSL_CTRL_GET_MIN_PROTO_VERSION

#define SSL_CTRL_GET_MIN_PROTO_VERSION   130

◆ SSL_CTRL_GET_NUM_RENEGOTIATIONS

#define SSL_CTRL_GET_NUM_RENEGOTIATIONS   10

◆ SSL_CTRL_GET_PEER_SIGNATURE_NID

#define SSL_CTRL_GET_PEER_SIGNATURE_NID   108

◆ SSL_CTRL_GET_PEER_TMP_KEY

#define SSL_CTRL_GET_PEER_TMP_KEY   109

◆ SSL_CTRL_GET_RAW_CIPHERLIST

#define SSL_CTRL_GET_RAW_CIPHERLIST   110

◆ SSL_CTRL_GET_READ_AHEAD

#define SSL_CTRL_GET_READ_AHEAD   40

◆ SSL_CTRL_GET_RI_SUPPORT

#define SSL_CTRL_GET_RI_SUPPORT   76

◆ SSL_CTRL_GET_SERVER_TMP_KEY

#define SSL_CTRL_GET_SERVER_TMP_KEY    SSL_CTRL_GET_PEER_TMP_KEY

◆ SSL_CTRL_GET_SESS_CACHE_MODE

#define SSL_CTRL_GET_SESS_CACHE_MODE   45

◆ SSL_CTRL_GET_SESS_CACHE_SIZE

#define SSL_CTRL_GET_SESS_CACHE_SIZE   43

◆ SSL_CTRL_GET_SHARED_CURVE

#define SSL_CTRL_GET_SHARED_CURVE   SSL_CTRL_GET_SHARED_GROUP

◆ SSL_CTRL_GET_SHARED_GROUP

#define SSL_CTRL_GET_SHARED_GROUP   93

◆ SSL_CTRL_GET_SIGNATURE_NID

#define SSL_CTRL_GET_SIGNATURE_NID   132

◆ SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB

#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB   128

◆ SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG

#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG   129

◆ SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS

#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS   66

◆ SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS

#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS   68

◆ SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP

#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP   70

◆ SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE

#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE   127

◆ SSL_CTRL_GET_TLSEXT_TICKET_KEYS

#define SSL_CTRL_GET_TLSEXT_TICKET_KEYS   58

◆ SSL_CTRL_GET_TMP_KEY

#define SSL_CTRL_GET_TMP_KEY   133

◆ SSL_CTRL_GET_TOTAL_RENEGOTIATIONS

#define SSL_CTRL_GET_TOTAL_RENEGOTIATIONS   12

◆ SSL_CTRL_MODE

#define SSL_CTRL_MODE   33

◆ SSL_CTRL_SELECT_CURRENT_CERT

#define SSL_CTRL_SELECT_CURRENT_CERT   116

◆ SSL_CTRL_SESS_ACCEPT

#define SSL_CTRL_SESS_ACCEPT   24

◆ SSL_CTRL_SESS_ACCEPT_GOOD

#define SSL_CTRL_SESS_ACCEPT_GOOD   25

◆ SSL_CTRL_SESS_ACCEPT_RENEGOTIATE

#define SSL_CTRL_SESS_ACCEPT_RENEGOTIATE   26

◆ SSL_CTRL_SESS_CACHE_FULL

#define SSL_CTRL_SESS_CACHE_FULL   31

◆ SSL_CTRL_SESS_CB_HIT

#define SSL_CTRL_SESS_CB_HIT   28

◆ SSL_CTRL_SESS_CONNECT

#define SSL_CTRL_SESS_CONNECT   21

◆ SSL_CTRL_SESS_CONNECT_GOOD

#define SSL_CTRL_SESS_CONNECT_GOOD   22

◆ SSL_CTRL_SESS_CONNECT_RENEGOTIATE

#define SSL_CTRL_SESS_CONNECT_RENEGOTIATE   23

◆ SSL_CTRL_SESS_HIT

#define SSL_CTRL_SESS_HIT   27

◆ SSL_CTRL_SESS_MISSES

#define SSL_CTRL_SESS_MISSES   29

◆ SSL_CTRL_SESS_NUMBER

#define SSL_CTRL_SESS_NUMBER   20

◆ SSL_CTRL_SESS_TIMEOUTS

#define SSL_CTRL_SESS_TIMEOUTS   30

◆ SSL_CTRL_SET_CHAIN_CERT_STORE

#define SSL_CTRL_SET_CHAIN_CERT_STORE   107

◆ SSL_CTRL_SET_CLIENT_CERT_TYPES

#define SSL_CTRL_SET_CLIENT_CERT_TYPES   104

◆ SSL_CTRL_SET_CLIENT_SIGALGS

#define SSL_CTRL_SET_CLIENT_SIGALGS   101

◆ SSL_CTRL_SET_CLIENT_SIGALGS_LIST

#define SSL_CTRL_SET_CLIENT_SIGALGS_LIST   102

◆ SSL_CTRL_SET_CURRENT_CERT

#define SSL_CTRL_SET_CURRENT_CERT   117

◆ SSL_CTRL_SET_CURVES

#define SSL_CTRL_SET_CURVES   SSL_CTRL_SET_GROUPS

◆ SSL_CTRL_SET_CURVES_LIST

#define SSL_CTRL_SET_CURVES_LIST   SSL_CTRL_SET_GROUPS_LIST

◆ SSL_CTRL_SET_DH_AUTO

#define SSL_CTRL_SET_DH_AUTO   118

◆ SSL_CTRL_SET_DTLS_EXT_HEARTBEAT_NO_REQUESTS

#define SSL_CTRL_SET_DTLS_EXT_HEARTBEAT_NO_REQUESTS   87

◆ SSL_CTRL_SET_GROUPS

#define SSL_CTRL_SET_GROUPS   91

◆ SSL_CTRL_SET_GROUPS_LIST

#define SSL_CTRL_SET_GROUPS_LIST   92

◆ SSL_CTRL_SET_MAX_CERT_LIST

#define SSL_CTRL_SET_MAX_CERT_LIST   51

◆ SSL_CTRL_SET_MAX_PIPELINES

#define SSL_CTRL_SET_MAX_PIPELINES   126

◆ SSL_CTRL_SET_MAX_PROTO_VERSION

#define SSL_CTRL_SET_MAX_PROTO_VERSION   124

◆ SSL_CTRL_SET_MAX_SEND_FRAGMENT

#define SSL_CTRL_SET_MAX_SEND_FRAGMENT   52

◆ SSL_CTRL_SET_MIN_PROTO_VERSION

#define SSL_CTRL_SET_MIN_PROTO_VERSION   123

◆ SSL_CTRL_SET_MSG_CALLBACK

#define SSL_CTRL_SET_MSG_CALLBACK   15

◆ SSL_CTRL_SET_MSG_CALLBACK_ARG

#define SSL_CTRL_SET_MSG_CALLBACK_ARG   16

◆ SSL_CTRL_SET_MTU

#define SSL_CTRL_SET_MTU   17

◆ SSL_CTRL_SET_NOT_RESUMABLE_SESS_CB

#define SSL_CTRL_SET_NOT_RESUMABLE_SESS_CB   79

◆ SSL_CTRL_SET_READ_AHEAD

#define SSL_CTRL_SET_READ_AHEAD   41

◆ SSL_CTRL_SET_SESS_CACHE_MODE

#define SSL_CTRL_SET_SESS_CACHE_MODE   44

◆ SSL_CTRL_SET_SESS_CACHE_SIZE

#define SSL_CTRL_SET_SESS_CACHE_SIZE   42

◆ SSL_CTRL_SET_SIGALGS

#define SSL_CTRL_SET_SIGALGS   97

◆ SSL_CTRL_SET_SIGALGS_LIST

#define SSL_CTRL_SET_SIGALGS_LIST   98

◆ SSL_CTRL_SET_SPLIT_SEND_FRAGMENT

#define SSL_CTRL_SET_SPLIT_SEND_FRAGMENT   125

◆ SSL_CTRL_SET_SRP_ARG

#define SSL_CTRL_SET_SRP_ARG   78

◆ SSL_CTRL_SET_SRP_GIVE_CLIENT_PWD_CB

#define SSL_CTRL_SET_SRP_GIVE_CLIENT_PWD_CB   77

◆ SSL_CTRL_SET_SRP_VERIFY_PARAM_CB

#define SSL_CTRL_SET_SRP_VERIFY_PARAM_CB   76

◆ SSL_CTRL_SET_TLS_EXT_SRP_PASSWORD

#define SSL_CTRL_SET_TLS_EXT_SRP_PASSWORD   81

◆ SSL_CTRL_SET_TLS_EXT_SRP_STRENGTH

#define SSL_CTRL_SET_TLS_EXT_SRP_STRENGTH   80

◆ SSL_CTRL_SET_TLS_EXT_SRP_USERNAME

#define SSL_CTRL_SET_TLS_EXT_SRP_USERNAME   79

◆ SSL_CTRL_SET_TLS_EXT_SRP_USERNAME_CB

#define SSL_CTRL_SET_TLS_EXT_SRP_USERNAME_CB   75

◆ SSL_CTRL_SET_TLSEXT_DEBUG_ARG

#define SSL_CTRL_SET_TLSEXT_DEBUG_ARG   57

◆ SSL_CTRL_SET_TLSEXT_DEBUG_CB

#define SSL_CTRL_SET_TLSEXT_DEBUG_CB   56

◆ SSL_CTRL_SET_TLSEXT_HOSTNAME

#define SSL_CTRL_SET_TLSEXT_HOSTNAME   55

◆ SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG

#define SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG   54

◆ SSL_CTRL_SET_TLSEXT_SERVERNAME_CB

#define SSL_CTRL_SET_TLSEXT_SERVERNAME_CB   53

◆ SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB

#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB   63

◆ SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG

#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG   64

◆ SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS

#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS   67

◆ SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS

#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS   69

◆ SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP

#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP   71

◆ SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE

#define SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE   65

◆ SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB

#define SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB   72

◆ SSL_CTRL_SET_TLSEXT_TICKET_KEYS

#define SSL_CTRL_SET_TLSEXT_TICKET_KEYS   59

◆ SSL_CTRL_SET_TMP_DH

#define SSL_CTRL_SET_TMP_DH   3

◆ SSL_CTRL_SET_TMP_DH_CB

#define SSL_CTRL_SET_TMP_DH_CB   6

◆ SSL_CTRL_SET_TMP_ECDH

#define SSL_CTRL_SET_TMP_ECDH   4

◆ SSL_CTRL_SET_VERIFY_CERT_STORE

#define SSL_CTRL_SET_VERIFY_CERT_STORE   106

◆ SSL_CTX_add0_chain_cert

#define SSL_CTX_add0_chain_cert ( ctx,
x509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN_CERT,0,(char *)(x509))

◆ SSL_CTX_add1_chain_cert

#define SSL_CTX_add1_chain_cert ( ctx,
x509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN_CERT,1,(char *)(x509))

◆ SSL_CTX_add_extra_chain_cert

#define SSL_CTX_add_extra_chain_cert ( ctx,
x509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)(x509))

◆ SSL_CTX_build_cert_chain

#define SSL_CTX_build_cert_chain ( ctx,
flags )    SSL_CTX_ctrl(ctx,SSL_CTRL_BUILD_CERT_CHAIN, flags, NULL)

◆ SSL_CTX_clear_cert_flags

#define SSL_CTX_clear_cert_flags ( ctx,
op )    SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_CERT_FLAGS,(op),NULL)

Definition at line 621 of file ssl.h.

◆ SSL_CTX_clear_chain_certs

#define SSL_CTX_clear_chain_certs ( ctx)     SSL_CTX_set0_chain(ctx,NULL)

◆ SSL_CTX_clear_extra_chain_certs

#define SSL_CTX_clear_extra_chain_certs ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS,0,NULL)

◆ SSL_CTX_clear_mode

#define SSL_CTX_clear_mode ( ctx,
op )    SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_MODE,(op),NULL)

Definition at line 592 of file ssl.h.

◆ SSL_CTX_disable_ct

#define SSL_CTX_disable_ct ( ctx)     ((void) SSL_CTX_set_validation_callback((ctx), NULL, NULL))

Definition at line 2201 of file ssl.h.

◆ SSL_CTX_get0_chain_certs

#define SSL_CTX_get0_chain_certs ( ctx,
px509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_CHAIN_CERTS,0,px509)

◆ SSL_CTX_get_app_data

#define SSL_CTX_get_app_data ( ctx)    (SSL_CTX_get_ex_data(ctx,0))

Definition at line 967 of file ssl.h.

◆ SSL_CTX_get_default_read_ahead

#define SSL_CTX_get_default_read_ahead ( ctx)    SSL_CTX_get_read_ahead(ctx)

Definition at line 2035 of file ssl.h.

◆ SSL_CTX_get_ex_new_index

#define SSL_CTX_get_ex_new_index ( l,
p,
newf,
dupf,
freef )    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_CTX, l, p, newf, dupf, freef)

Definition at line 2019 of file ssl.h.

◆ SSL_CTX_get_extra_chain_certs

#define SSL_CTX_get_extra_chain_certs ( ctx,
px509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_EXTRA_CHAIN_CERTS,0,px509)

◆ SSL_CTX_get_extra_chain_certs_only

#define SSL_CTX_get_extra_chain_certs_only ( ctx,
px509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_GET_EXTRA_CHAIN_CERTS,1,px509)

◆ SSL_CTX_get_max_cert_list

#define SSL_CTX_get_max_cert_list ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)

Definition at line 2041 of file ssl.h.

◆ SSL_CTX_get_max_proto_version

#define SSL_CTX_get_max_proto_version ( ctx)     SSL_CTX_ctrl(ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL)

◆ SSL_CTX_get_min_proto_version

#define SSL_CTX_get_min_proto_version ( ctx)     SSL_CTX_ctrl(ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL)

◆ SSL_CTX_get_mode

#define SSL_CTX_get_mode ( ctx)     SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL)

Definition at line 594 of file ssl.h.

◆ SSL_CTX_get_read_ahead

#define SSL_CTX_get_read_ahead ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_GET_READ_AHEAD,0,NULL)

Definition at line 2037 of file ssl.h.

◆ SSL_CTX_get_session_cache_mode

#define SSL_CTX_get_session_cache_mode ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL)

Definition at line 2032 of file ssl.h.

◆ SSL_CTX_need_tmp_RSA

#define SSL_CTX_need_tmp_RSA ( ctx)    0

◆ SSL_CTX_select_current_cert

#define SSL_CTX_select_current_cert ( ctx,
x509 )    SSL_CTX_ctrl(ctx,SSL_CTRL_SELECT_CURRENT_CERT,0,(char *)(x509))

◆ SSL_CTX_sess_accept

#define SSL_CTX_sess_accept ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT,0,NULL)

Definition at line 692 of file ssl.h.

◆ SSL_CTX_sess_accept_good

#define SSL_CTX_sess_accept_good ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT_GOOD,0,NULL)

Definition at line 696 of file ssl.h.

◆ SSL_CTX_sess_accept_renegotiate

#define SSL_CTX_sess_accept_renegotiate ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_ACCEPT_RENEGOTIATE,0,NULL)

Definition at line 694 of file ssl.h.

◆ SSL_CTX_sess_cache_full

#define SSL_CTX_sess_cache_full ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CACHE_FULL,0,NULL)

Definition at line 706 of file ssl.h.

◆ SSL_CTX_sess_cb_hits

#define SSL_CTX_sess_cb_hits ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CB_HIT,0,NULL)

Definition at line 700 of file ssl.h.

◆ SSL_CTX_sess_connect

#define SSL_CTX_sess_connect ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT,0,NULL)

Definition at line 686 of file ssl.h.

◆ SSL_CTX_sess_connect_good

#define SSL_CTX_sess_connect_good ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT_GOOD,0,NULL)

Definition at line 688 of file ssl.h.

◆ SSL_CTX_sess_connect_renegotiate

#define SSL_CTX_sess_connect_renegotiate ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_CONNECT_RENEGOTIATE,0,NULL)

Definition at line 690 of file ssl.h.

◆ SSL_CTX_sess_get_cache_size

#define SSL_CTX_sess_get_cache_size ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_SIZE,0,NULL)

Definition at line 2028 of file ssl.h.

◆ SSL_CTX_sess_hits

#define SSL_CTX_sess_hits ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_HIT,0,NULL)

Definition at line 698 of file ssl.h.

◆ SSL_CTX_sess_misses

#define SSL_CTX_sess_misses ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_MISSES,0,NULL)

Definition at line 702 of file ssl.h.

◆ SSL_CTX_sess_number

#define SSL_CTX_sess_number ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_NUMBER,0,NULL)

Definition at line 684 of file ssl.h.

◆ SSL_CTX_sess_set_cache_size

#define SSL_CTX_sess_set_cache_size ( ctx,
t )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_SIZE,t,NULL)

Definition at line 2026 of file ssl.h.

◆ SSL_CTX_sess_timeouts

#define SSL_CTX_sess_timeouts ( ctx)     SSL_CTX_ctrl(ctx,SSL_CTRL_SESS_TIMEOUTS,0,NULL)

Definition at line 704 of file ssl.h.

◆ SSL_CTX_set0_chain

#define SSL_CTX_set0_chain ( ctx,
sk )    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk))

◆ SSL_CTX_set0_chain_cert_store

#define SSL_CTX_set0_chain_cert_store ( ctx,
st )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))

◆ SSL_CTX_set0_verify_cert_store

#define SSL_CTX_set0_verify_cert_store ( ctx,
st )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))

◆ SSL_CTX_set1_chain

#define SSL_CTX_set1_chain ( ctx,
sk )    SSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,1,(char *)(sk))

◆ SSL_CTX_set1_chain_cert_store

#define SSL_CTX_set1_chain_cert_store ( ctx,
st )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))

◆ SSL_CTX_set1_client_certificate_types

#define SSL_CTX_set1_client_certificate_types ( ctx,
clist,
clistlen )
Value:
(char *)(clist))
int void BN_CTX * ctx
Definition bn.h:334
#define SSL_CTRL_SET_CLIENT_CERT_TYPES
long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)

◆ SSL_CTX_set1_client_sigalgs

#define SSL_CTX_set1_client_sigalgs ( ctx,
slist,
slistlen )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS,slistlen,(int *)(slist))

◆ SSL_CTX_set1_client_sigalgs_list

#define SSL_CTX_set1_client_sigalgs_list ( ctx,
s )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CLIENT_SIGALGS_LIST,0,(char *)(s))

◆ SSL_CTX_set1_curves

#define SSL_CTX_set1_curves   SSL_CTX_set1_groups

◆ SSL_CTX_set1_curves_list

#define SSL_CTX_set1_curves_list   SSL_CTX_set1_groups_list

◆ SSL_CTX_set1_groups

#define SSL_CTX_set1_groups ( ctx,
glist,
glistlen )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS,glistlen,(int *)(glist))

◆ SSL_CTX_set1_groups_list

#define SSL_CTX_set1_groups_list ( ctx,
s )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(s))

◆ SSL_CTX_set1_sigalgs

#define SSL_CTX_set1_sigalgs ( ctx,
slist,
slistlen )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS,slistlen,(int *)(slist))

◆ SSL_CTX_set1_sigalgs_list

#define SSL_CTX_set1_sigalgs_list ( ctx,
s )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)(s))

◆ SSL_CTX_set1_verify_cert_store

#define SSL_CTX_set1_verify_cert_store ( ctx,
st )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))

◆ SSL_CTX_set_app_data

#define SSL_CTX_set_app_data ( ctx,
arg )
Value:
(char *)(arg)))
__owur int SSL_CTX_set_ex_data(SSL_CTX *ssl, int idx, void *data)

Definition at line 968 of file ssl.h.

◆ SSL_CTX_set_cert_flags

#define SSL_CTX_set_cert_flags ( ctx,
op )    SSL_CTX_ctrl((ctx),SSL_CTRL_CERT_FLAGS,(op),NULL)

Definition at line 617 of file ssl.h.

◆ SSL_CTX_set_current_cert

#define SSL_CTX_set_current_cert ( ctx,
op )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_CURRENT_CERT, op, NULL)

◆ SSL_CTX_set_default_read_ahead

#define SSL_CTX_set_default_read_ahead ( ctx,
m )   SSL_CTX_set_read_ahead(ctx,m)

Definition at line 2036 of file ssl.h.

◆ SSL_CTX_set_dh_auto

#define SSL_CTX_set_dh_auto ( ctx,
onoff )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_DH_AUTO,onoff,NULL)

◆ SSL_CTX_set_ecdh_auto

#define SSL_CTX_set_ecdh_auto ( dummy,
onoff )   ((onoff) != 0)

◆ SSL_CTX_set_max_cert_list

#define SSL_CTX_set_max_cert_list ( ctx,
m )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)

Definition at line 2043 of file ssl.h.

◆ SSL_CTX_set_max_pipelines

#define SSL_CTX_set_max_pipelines ( ctx,
m )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)

Definition at line 2058 of file ssl.h.

◆ SSL_CTX_set_max_proto_version

#define SSL_CTX_set_max_proto_version ( ctx,
version )    SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)

◆ SSL_CTX_set_max_send_fragment

#define SSL_CTX_set_max_send_fragment ( ctx,
m )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)

Definition at line 2050 of file ssl.h.

◆ SSL_CTX_set_min_proto_version

#define SSL_CTX_set_min_proto_version ( ctx,
version )    SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)

◆ SSL_CTX_set_mode

#define SSL_CTX_set_mode ( ctx,
op )    SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)

Definition at line 590 of file ssl.h.

◆ SSL_CTX_set_msg_callback_arg

#define SSL_CTX_set_msg_callback_arg ( ctx,
arg )   SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg))

Definition at line 634 of file ssl.h.

◆ SSL_CTX_set_npn_advertised_cb

#define SSL_CTX_set_npn_advertised_cb   SSL_CTX_set_next_protos_advertised_cb

Definition at line 773 of file ssl.h.

◆ SSL_CTX_set_npn_select_cb

#define SSL_CTX_set_npn_select_cb   SSL_CTX_set_next_proto_select_cb

Definition at line 784 of file ssl.h.

◆ SSL_CTX_set_read_ahead

#define SSL_CTX_set_read_ahead ( ctx,
m )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_READ_AHEAD,m,NULL)

Definition at line 2039 of file ssl.h.

◆ SSL_CTX_set_session_cache_mode

#define SSL_CTX_set_session_cache_mode ( ctx,
m )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)

Definition at line 2030 of file ssl.h.

◆ SSL_CTX_set_split_send_fragment

#define SSL_CTX_set_split_send_fragment ( ctx,
m )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SPLIT_SEND_FRAGMENT,m,NULL)

Definition at line 2054 of file ssl.h.

◆ SSL_CTX_set_tmp_dh

#define SSL_CTX_set_tmp_dh ( ctx,
dh )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))

◆ SSL_CTX_set_tmp_ecdh

#define SSL_CTX_set_tmp_ecdh ( ctx,
ecdh )    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))

◆ SSL_CTX_set_tmp_rsa

#define SSL_CTX_set_tmp_rsa ( ctx,
rsa )   1

◆ SSL_CTX_set_tmp_rsa_callback

#define SSL_CTX_set_tmp_rsa_callback ( ctx,
cb )   while(0) (cb)(NULL, 0, 0)

◆ SSL_DEFAULT_CIPHER_LIST

#define SSL_DEFAULT_CIPHER_LIST   "ALL:!COMPLEMENTOFDEFAULT:!eNULL"

Definition at line 173 of file ssl.h.

◆ SSL_disable_ct

#define SSL_disable_ct ( s)     ((void) SSL_set_validation_callback((s), NULL, NULL))

Definition at line 2199 of file ssl.h.

◆ SSL_EARLY_DATA_ACCEPTED

#define SSL_EARLY_DATA_ACCEPTED   2

Definition at line 1849 of file ssl.h.

◆ SSL_EARLY_DATA_NOT_SENT

#define SSL_EARLY_DATA_NOT_SENT   0

Definition at line 1847 of file ssl.h.

◆ SSL_EARLY_DATA_REJECTED

#define SSL_EARLY_DATA_REJECTED   1

Definition at line 1848 of file ssl.h.

◆ SSL_ERROR_NONE

#define SSL_ERROR_NONE   0

◆ SSL_ERROR_SSL

#define SSL_ERROR_SSL   1

◆ SSL_ERROR_SYSCALL

#define SSL_ERROR_SYSCALL
Value:
5/* look at error stack/return
* value/errno */

◆ SSL_ERROR_WANT_ACCEPT

#define SSL_ERROR_WANT_ACCEPT   8

◆ SSL_ERROR_WANT_ASYNC

#define SSL_ERROR_WANT_ASYNC   9

◆ SSL_ERROR_WANT_ASYNC_JOB

#define SSL_ERROR_WANT_ASYNC_JOB   10

◆ SSL_ERROR_WANT_CLIENT_HELLO_CB

#define SSL_ERROR_WANT_CLIENT_HELLO_CB   11

◆ SSL_ERROR_WANT_CONNECT

#define SSL_ERROR_WANT_CONNECT   7

◆ SSL_ERROR_WANT_READ

#define SSL_ERROR_WANT_READ   2

◆ SSL_ERROR_WANT_WRITE

#define SSL_ERROR_WANT_WRITE   3

◆ SSL_ERROR_WANT_X509_LOOKUP

#define SSL_ERROR_WANT_X509_LOOKUP   4

◆ SSL_ERROR_ZERO_RETURN

#define SSL_ERROR_ZERO_RETURN   6

◆ SSL_EXT_CLIENT_HELLO

#define SSL_EXT_CLIENT_HELLO   0x0080

Definition at line 250 of file ssl.h.

◆ SSL_EXT_DTLS_ONLY

#define SSL_EXT_DTLS_ONLY   0x0002

Definition at line 239 of file ssl.h.

◆ SSL_EXT_IGNORE_ON_RESUMPTION

#define SSL_EXT_IGNORE_ON_RESUMPTION   0x0040

Definition at line 249 of file ssl.h.

◆ SSL_EXT_SSL3_ALLOWED

#define SSL_EXT_SSL3_ALLOWED   0x0008

Definition at line 243 of file ssl.h.

◆ SSL_EXT_TLS1_2_AND_BELOW_ONLY

#define SSL_EXT_TLS1_2_AND_BELOW_ONLY   0x0010

Definition at line 245 of file ssl.h.

◆ SSL_EXT_TLS1_2_SERVER_HELLO

#define SSL_EXT_TLS1_2_SERVER_HELLO   0x0100

Definition at line 252 of file ssl.h.

◆ SSL_EXT_TLS1_3_CERTIFICATE

#define SSL_EXT_TLS1_3_CERTIFICATE   0x1000

Definition at line 256 of file ssl.h.

◆ SSL_EXT_TLS1_3_CERTIFICATE_REQUEST

#define SSL_EXT_TLS1_3_CERTIFICATE_REQUEST   0x4000

Definition at line 258 of file ssl.h.

◆ SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS

#define SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS   0x0400

Definition at line 254 of file ssl.h.

◆ SSL_EXT_TLS1_3_HELLO_RETRY_REQUEST

#define SSL_EXT_TLS1_3_HELLO_RETRY_REQUEST   0x0800

Definition at line 255 of file ssl.h.

◆ SSL_EXT_TLS1_3_NEW_SESSION_TICKET

#define SSL_EXT_TLS1_3_NEW_SESSION_TICKET   0x2000

Definition at line 257 of file ssl.h.

◆ SSL_EXT_TLS1_3_ONLY

#define SSL_EXT_TLS1_3_ONLY   0x0020

Definition at line 247 of file ssl.h.

◆ SSL_EXT_TLS1_3_SERVER_HELLO

#define SSL_EXT_TLS1_3_SERVER_HELLO   0x0200

Definition at line 253 of file ssl.h.

◆ SSL_EXT_TLS_IMPLEMENTATION_ONLY

#define SSL_EXT_TLS_IMPLEMENTATION_ONLY   0x0004

Definition at line 241 of file ssl.h.

◆ SSL_EXT_TLS_ONLY

#define SSL_EXT_TLS_ONLY   0x0001

Definition at line 237 of file ssl.h.

◆ SSL_FILETYPE_ASN1

#define SSL_FILETYPE_ASN1   X509_FILETYPE_ASN1

Definition at line 202 of file ssl.h.

◆ SSL_FILETYPE_PEM

#define SSL_FILETYPE_PEM   X509_FILETYPE_PEM

Definition at line 203 of file ssl.h.

◆ SSL_get0_certificate_types

#define SSL_get0_certificate_types ( s,
clist )    SSL_ctrl(s, SSL_CTRL_GET_CLIENT_CERT_TYPES, 0, (char *)(clist))

◆ SSL_get0_chain_certs

#define SSL_get0_chain_certs ( s,
px509 )    SSL_ctrl(s,SSL_CTRL_GET_CHAIN_CERTS,0,px509)

◆ SSL_get0_ec_point_formats

#define SSL_get0_ec_point_formats ( s,
plst )    SSL_ctrl(s,SSL_CTRL_GET_EC_POINT_FORMATS,0,plst)

◆ SSL_get0_npn_negotiated

#define SSL_get0_npn_negotiated   SSL_get0_next_proto_negotiated

Definition at line 788 of file ssl.h.

◆ SSL_get0_raw_cipherlist

#define SSL_get0_raw_cipherlist ( s,
plst )    SSL_ctrl(s,SSL_CTRL_GET_RAW_CIPHERLIST,0,plst)

◆ SSL_get0_session

#define SSL_get0_session   SSL_get_session/* just peek at pointer */

Definition at line 1986 of file ssl.h.

◆ SSL_get1_curves

#define SSL_get1_curves   SSL_get1_groups

◆ SSL_get1_groups

#define SSL_get1_groups ( s,
glist )    SSL_ctrl(s,SSL_CTRL_GET_GROUPS,0,(int*)(glist))

◆ SSL_get_app_data

#define SSL_get_app_data ( s)    (SSL_get_ex_data(s,0))

Definition at line 963 of file ssl.h.

◆ SSL_get_cipher

#define SSL_get_cipher ( s)     SSL_CIPHER_get_name(SSL_get_current_cipher(s))

Definition at line 1111 of file ssl.h.

◆ SSL_get_cipher_bits

#define SSL_get_cipher_bits ( s,
np )    SSL_CIPHER_get_bits(SSL_get_current_cipher(s),np)

Definition at line 1113 of file ssl.h.

◆ SSL_get_cipher_name

#define SSL_get_cipher_name ( s)     SSL_CIPHER_get_name(SSL_get_current_cipher(s))

Definition at line 1117 of file ssl.h.

◆ SSL_get_cipher_version

#define SSL_get_cipher_version ( s)     SSL_CIPHER_get_version(SSL_get_current_cipher(s))

Definition at line 1115 of file ssl.h.

◆ SSL_get_ex_new_index

#define SSL_get_ex_new_index ( l,
p,
newf,
dupf,
freef )    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL, l, p, newf, dupf, freef)

Definition at line 2011 of file ssl.h.

◆ SSL_get_extms_support

#define SSL_get_extms_support ( s)     SSL_ctrl((s),SSL_CTRL_GET_EXTMS_SUPPORT,0,NULL)

Definition at line 637 of file ssl.h.

◆ SSL_get_max_cert_list

#define SSL_get_max_cert_list ( ssl)     SSL_ctrl(ssl,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)

Definition at line 2045 of file ssl.h.

◆ SSL_get_max_proto_version

#define SSL_get_max_proto_version ( s)     SSL_ctrl(s, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL)

◆ SSL_get_min_proto_version

#define SSL_get_min_proto_version ( s)     SSL_ctrl(s, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL)

◆ SSL_get_mode

#define SSL_get_mode ( ssl)     SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL)

Definition at line 600 of file ssl.h.

◆ SSL_get_peer_signature_nid

#define SSL_get_peer_signature_nid ( s,
pn )    SSL_ctrl(s,SSL_CTRL_GET_PEER_SIGNATURE_NID,0,pn)

◆ SSL_get_peer_tmp_key

#define SSL_get_peer_tmp_key ( s,
pk )    SSL_ctrl(s,SSL_CTRL_GET_PEER_TMP_KEY,0,pk)

◆ SSL_get_secure_renegotiation_support

#define SSL_get_secure_renegotiation_support ( ssl)     SSL_ctrl((ssl), SSL_CTRL_GET_RI_SUPPORT, 0, NULL)

Definition at line 609 of file ssl.h.

◆ SSL_get_server_tmp_key

#define SSL_get_server_tmp_key ( s,
pk )    SSL_get_peer_tmp_key(s, pk)

◆ SSL_get_shared_curve

#define SSL_get_shared_curve   SSL_get_shared_group

◆ SSL_get_shared_group

#define SSL_get_shared_group ( s,
n )    SSL_ctrl(s,SSL_CTRL_GET_SHARED_GROUP,n,NULL)

◆ SSL_get_signature_nid

#define SSL_get_signature_nid ( s,
pn )    SSL_ctrl(s,SSL_CTRL_GET_SIGNATURE_NID,0,pn)

◆ SSL_get_time

#define SSL_get_time ( a)    SSL_SESSION_get_time(a)

Definition at line 1119 of file ssl.h.

◆ SSL_get_timeout

#define SSL_get_timeout ( a)    SSL_SESSION_get_timeout(a)

Definition at line 1121 of file ssl.h.

◆ SSL_get_tmp_key

#define SSL_get_tmp_key ( s,
pk )    SSL_ctrl(s,SSL_CTRL_GET_TMP_KEY,0,pk)

◆ SSL_heartbeat

#define SSL_heartbeat ( ssl)     SSL_ctrl((ssl),SSL_CTRL_DTLS_EXT_SEND_HEARTBEAT,0,NULL)

Definition at line 613 of file ssl.h.

◆ SSL_in_accept_init

#define SSL_in_accept_init ( a)    (SSL_in_init(a) && SSL_is_server(a))

Definition at line 1073 of file ssl.h.

◆ SSL_in_connect_init

#define SSL_in_connect_init ( a)    (SSL_in_init(a) && !SSL_is_server(a))

Definition at line 1072 of file ssl.h.

◆ SSL_KEY_UPDATE_NONE

#define SSL_KEY_UPDATE_NONE   -1

Definition at line 974 of file ssl.h.

◆ SSL_KEY_UPDATE_NOT_REQUESTED

#define SSL_KEY_UPDATE_NOT_REQUESTED   0

Definition at line 976 of file ssl.h.

◆ SSL_KEY_UPDATE_REQUESTED

#define SSL_KEY_UPDATE_REQUESTED   1

Definition at line 977 of file ssl.h.

◆ SSL_library_init

#define SSL_library_init ( )    OPENSSL_init_ssl(0, NULL)

Definition at line 1956 of file ssl.h.

◆ SSL_load_error_strings

#define SSL_load_error_strings ( )
Value:
#define OPENSSL_INIT_LOAD_CRYPTO_STRINGS
Definition crypto.h:357
int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings)
#define OPENSSL_INIT_LOAD_SSL_STRINGS
Definition ssl.h:2357

Definition at line 1607 of file ssl.h.

◆ SSL_MAC_FLAG_READ_MAC_STREAM

#define SSL_MAC_FLAG_READ_MAC_STREAM   1

Definition at line 909 of file ssl.h.

◆ SSL_MAC_FLAG_WRITE_MAC_STREAM

#define SSL_MAC_FLAG_WRITE_MAC_STREAM   2

Definition at line 910 of file ssl.h.

◆ SSL_MAX_CERT_LIST_DEFAULT

#define SSL_MAX_CERT_LIST_DEFAULT   1024*100

Definition at line 653 of file ssl.h.

◆ SSL_MAX_KEY_ARG_LENGTH

#define SSL_MAX_KEY_ARG_LENGTH   8

Definition at line 49 of file ssl.h.

◆ SSL_MAX_MASTER_KEY_LENGTH

#define SSL_MAX_MASTER_KEY_LENGTH   48

Definition at line 50 of file ssl.h.

◆ SSL_MAX_PIPELINES

#define SSL_MAX_PIPELINES   32

Definition at line 53 of file ssl.h.

◆ SSL_MAX_SID_CTX_LENGTH

#define SSL_MAX_SID_CTX_LENGTH   32

Definition at line 46 of file ssl.h.

◆ SSL_MAX_SSL_SESSION_ID_LENGTH

#define SSL_MAX_SSL_SESSION_ID_LENGTH   32

Definition at line 45 of file ssl.h.

◆ SSL_MIN_RSA_MODULUS_LENGTH_IN_BYTES

#define SSL_MIN_RSA_MODULUS_LENGTH_IN_BYTES   (512/8)

Definition at line 48 of file ssl.h.

◆ SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER

#define SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER   0x00000002U

Definition at line 464 of file ssl.h.

◆ SSL_MODE_ASYNC

#define SSL_MODE_ASYNC   0x00000100U

Definition at line 495 of file ssl.h.

◆ SSL_MODE_AUTO_RETRY

#define SSL_MODE_AUTO_RETRY   0x00000004U

Definition at line 468 of file ssl.h.

◆ SSL_MODE_DTLS_SCTP_LABEL_LENGTH_BUG

#define SSL_MODE_DTLS_SCTP_LABEL_LENGTH_BUG   0x00000400U

Definition at line 508 of file ssl.h.

◆ SSL_MODE_ENABLE_PARTIAL_WRITE

#define SSL_MODE_ENABLE_PARTIAL_WRITE   0x00000001U

Definition at line 457 of file ssl.h.

◆ SSL_MODE_NO_AUTO_CHAIN

#define SSL_MODE_NO_AUTO_CHAIN   0x00000008U

Definition at line 470 of file ssl.h.

◆ SSL_MODE_RELEASE_BUFFERS

#define SSL_MODE_RELEASE_BUFFERS   0x00000010U

Definition at line 475 of file ssl.h.

◆ SSL_MODE_SEND_CLIENTHELLO_TIME

#define SSL_MODE_SEND_CLIENTHELLO_TIME   0x00000020U

Definition at line 481 of file ssl.h.

◆ SSL_MODE_SEND_FALLBACK_SCSV

#define SSL_MODE_SEND_FALLBACK_SCSV   0x00000080U

Definition at line 491 of file ssl.h.

◆ SSL_MODE_SEND_SERVERHELLO_TIME

#define SSL_MODE_SEND_SERVERHELLO_TIME   0x00000040U

Definition at line 482 of file ssl.h.

◆ SSL_need_tmp_RSA

#define SSL_need_tmp_RSA ( ssl)    0

◆ SSL_NOTHING

#define SSL_NOTHING   1

Definition at line 892 of file ssl.h.

◆ SSL_num_renegotiations

#define SSL_num_renegotiations ( ssl)     SSL_ctrl((ssl),SSL_CTRL_GET_NUM_RENEGOTIATIONS,0,NULL)

◆ SSL_OP_ALL

#define SSL_OP_ALL
Value:
#define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS
Definition ssl.h:326
#define SSL_OP_TLSEXT_PADDING
Definition ssl.h:307
#define SSL_OP_SAFARI_ECDHE_ECDSA_BUG
Definition ssl.h:309
#define SSL_OP_LEGACY_SERVER_CONNECT
Definition ssl.h:304
#define SSL_OP_CRYPTOPRO_TLSEXT_BUG
Definition ssl.h:398

Definition at line 405 of file ssl.h.

◆ SSL_OP_ALLOW_NO_DHE_KEX

#define SSL_OP_ALLOW_NO_DHE_KEX   0x00000400U

Definition at line 317 of file ssl.h.

◆ SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION

#define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION   0x00040000U

Definition at line 345 of file ssl.h.

◆ SSL_OP_CIPHER_SERVER_PREFERENCE

#define SSL_OP_CIPHER_SERVER_PREFERENCE   0x00400000U

Definition at line 362 of file ssl.h.

◆ SSL_OP_CISCO_ANYCONNECT

#define SSL_OP_CISCO_ANYCONNECT   0x00008000U

Definition at line 337 of file ssl.h.

◆ SSL_OP_COOKIE_EXCHANGE

#define SSL_OP_COOKIE_EXCHANGE   0x00002000U

Definition at line 331 of file ssl.h.

◆ SSL_OP_CRYPTOPRO_TLSEXT_BUG

#define SSL_OP_CRYPTOPRO_TLSEXT_BUG   0x80000000U

Definition at line 398 of file ssl.h.

◆ SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS

#define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS   0x00000800U

Definition at line 326 of file ssl.h.

◆ SSL_OP_ENABLE_MIDDLEBOX_COMPAT

#define SSL_OP_ENABLE_MIDDLEBOX_COMPAT   0x00100000U

Definition at line 353 of file ssl.h.

◆ SSL_OP_EPHEMERAL_RSA

#define SSL_OP_EPHEMERAL_RSA   0x0

Definition at line 441 of file ssl.h.

◆ SSL_OP_LEGACY_SERVER_CONNECT

#define SSL_OP_LEGACY_SERVER_CONNECT   0x00000004U

Definition at line 304 of file ssl.h.

◆ SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER

#define SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER   0x0

Definition at line 426 of file ssl.h.

◆ SSL_OP_MICROSOFT_SESS_ID_BUG

#define SSL_OP_MICROSOFT_SESS_ID_BUG   0x0

Definition at line 415 of file ssl.h.

◆ SSL_OP_MSIE_SSLV2_RSA_PADDING

#define SSL_OP_MSIE_SSLV2_RSA_PADDING   0x0

Definition at line 428 of file ssl.h.

◆ SSL_OP_NETSCAPE_CA_DN_BUG

#define SSL_OP_NETSCAPE_CA_DN_BUG   0x0

Definition at line 449 of file ssl.h.

◆ SSL_OP_NETSCAPE_CHALLENGE_BUG

#define SSL_OP_NETSCAPE_CHALLENGE_BUG   0x0

Definition at line 418 of file ssl.h.

◆ SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG

#define SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG   0x0

Definition at line 451 of file ssl.h.

◆ SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG

#define SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG   0x0

Definition at line 421 of file ssl.h.

◆ SSL_OP_NO_ANTI_REPLAY

#define SSL_OP_NO_ANTI_REPLAY   0x01000000U

Definition at line 375 of file ssl.h.

◆ SSL_OP_NO_COMPRESSION

#define SSL_OP_NO_COMPRESSION   0x00020000U

Definition at line 343 of file ssl.h.

◆ SSL_OP_NO_DTLS_MASK

#define SSL_OP_NO_DTLS_MASK   (SSL_OP_NO_DTLSv1|SSL_OP_NO_DTLSv1_2)

Definition at line 388 of file ssl.h.

◆ SSL_OP_NO_DTLSv1

#define SSL_OP_NO_DTLSv1   0x04000000U

Definition at line 383 of file ssl.h.

◆ SSL_OP_NO_DTLSv1_2

#define SSL_OP_NO_DTLSv1_2   0x08000000U

Definition at line 384 of file ssl.h.

◆ SSL_OP_NO_ENCRYPT_THEN_MAC

#define SSL_OP_NO_ENCRYPT_THEN_MAC   0x00080000U

Definition at line 347 of file ssl.h.

◆ SSL_OP_NO_QUERY_MTU

#define SSL_OP_NO_QUERY_MTU   0x00001000U

Definition at line 329 of file ssl.h.

◆ SSL_OP_NO_RENEGOTIATION

#define SSL_OP_NO_RENEGOTIATION   0x40000000U

Definition at line 391 of file ssl.h.

◆ SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION

#define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   0x00010000U

Definition at line 341 of file ssl.h.

◆ SSL_OP_NO_SSL_MASK

#define SSL_OP_NO_SSL_MASK
Value:
#define SSL_OP_NO_TLSv1_3
Definition ssl.h:381
#define SSL_OP_NO_TLSv1
Definition ssl.h:378
#define SSL_OP_NO_TLSv1_2
Definition ssl.h:379
#define SSL_OP_NO_SSLv3
Definition ssl.h:377
#define SSL_OP_NO_TLSv1_1
Definition ssl.h:380

Definition at line 386 of file ssl.h.

◆ SSL_OP_NO_SSLv2

#define SSL_OP_NO_SSLv2   0x0

Definition at line 443 of file ssl.h.

◆ SSL_OP_NO_SSLv3

#define SSL_OP_NO_SSLv3   0x02000000U

Definition at line 377 of file ssl.h.

◆ SSL_OP_NO_TICKET

#define SSL_OP_NO_TICKET   0x00004000U

Definition at line 333 of file ssl.h.

◆ SSL_OP_NO_TLSv1

#define SSL_OP_NO_TLSv1   0x04000000U

Definition at line 378 of file ssl.h.

◆ SSL_OP_NO_TLSv1_1

#define SSL_OP_NO_TLSv1_1   0x10000000U

Definition at line 380 of file ssl.h.

◆ SSL_OP_NO_TLSv1_2

#define SSL_OP_NO_TLSv1_2   0x08000000U

Definition at line 379 of file ssl.h.

◆ SSL_OP_NO_TLSv1_3

#define SSL_OP_NO_TLSv1_3   0x20000000U

Definition at line 381 of file ssl.h.

◆ SSL_OP_PKCS1_CHECK_1

#define SSL_OP_PKCS1_CHECK_1   0x0

Definition at line 445 of file ssl.h.

◆ SSL_OP_PKCS1_CHECK_2

#define SSL_OP_PKCS1_CHECK_2   0x0

Definition at line 447 of file ssl.h.

◆ SSL_OP_PRIORITIZE_CHACHA

#define SSL_OP_PRIORITIZE_CHACHA   0x00200000U

Definition at line 357 of file ssl.h.

◆ SSL_OP_SAFARI_ECDHE_ECDSA_BUG

#define SSL_OP_SAFARI_ECDHE_ECDSA_BUG   0x00000040U

Definition at line 309 of file ssl.h.

◆ SSL_OP_SINGLE_DH_USE

#define SSL_OP_SINGLE_DH_USE   0x0

Definition at line 439 of file ssl.h.

◆ SSL_OP_SINGLE_ECDH_USE

#define SSL_OP_SINGLE_ECDH_USE   0x0

Definition at line 437 of file ssl.h.

◆ SSL_OP_SSLEAY_080_CLIENT_DH_BUG

#define SSL_OP_SSLEAY_080_CLIENT_DH_BUG   0x0

Definition at line 431 of file ssl.h.

◆ SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG

#define SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG   0x0

Definition at line 424 of file ssl.h.

◆ SSL_OP_TLS_BLOCK_PADDING_BUG

#define SSL_OP_TLS_BLOCK_PADDING_BUG   0x0

Definition at line 435 of file ssl.h.

◆ SSL_OP_TLS_D5_BUG

#define SSL_OP_TLS_D5_BUG   0x0

Definition at line 433 of file ssl.h.

◆ SSL_OP_TLS_ROLLBACK_BUG

#define SSL_OP_TLS_ROLLBACK_BUG   0x00800000U

Definition at line 369 of file ssl.h.

◆ SSL_OP_TLSEXT_PADDING

#define SSL_OP_TLSEXT_PADDING   0x00000010U

Definition at line 307 of file ssl.h.

◆ SSL_READ_EARLY_DATA_ERROR

#define SSL_READ_EARLY_DATA_ERROR   0

Definition at line 1830 of file ssl.h.

◆ SSL_READ_EARLY_DATA_FINISH

#define SSL_READ_EARLY_DATA_FINISH   2

Definition at line 1832 of file ssl.h.

◆ SSL_READ_EARLY_DATA_SUCCESS

#define SSL_READ_EARLY_DATA_SUCCESS   1

Definition at line 1831 of file ssl.h.

◆ SSL_READING

#define SSL_READING   3

Definition at line 894 of file ssl.h.

◆ SSL_RECEIVED_SHUTDOWN

#define SSL_RECEIVED_SHUTDOWN   2

Definition at line 192 of file ssl.h.

◆ SSL_SECOP_CA_KEY

#define SSL_SECOP_CA_KEY   (17 | SSL_SECOP_OTHER_CERT)

Definition at line 2317 of file ssl.h.

◆ SSL_SECOP_CA_MD

#define SSL_SECOP_CA_MD   (18 | SSL_SECOP_OTHER_CERT)

Definition at line 2319 of file ssl.h.

◆ SSL_SECOP_CIPHER_CHECK

#define SSL_SECOP_CIPHER_CHECK   (3 | SSL_SECOP_OTHER_CIPHER)

Definition at line 2291 of file ssl.h.

◆ SSL_SECOP_CIPHER_SHARED

#define SSL_SECOP_CIPHER_SHARED   (2 | SSL_SECOP_OTHER_CIPHER)

Definition at line 2289 of file ssl.h.

◆ SSL_SECOP_CIPHER_SUPPORTED

#define SSL_SECOP_CIPHER_SUPPORTED   (1 | SSL_SECOP_OTHER_CIPHER)

Definition at line 2287 of file ssl.h.

◆ SSL_SECOP_COMPRESSION

#define SSL_SECOP_COMPRESSION   (15 | SSL_SECOP_OTHER_NONE)

Definition at line 2313 of file ssl.h.

◆ SSL_SECOP_CURVE_CHECK

#define SSL_SECOP_CURVE_CHECK   (6 | SSL_SECOP_OTHER_CURVE)

Definition at line 2297 of file ssl.h.

◆ SSL_SECOP_CURVE_SHARED

#define SSL_SECOP_CURVE_SHARED   (5 | SSL_SECOP_OTHER_CURVE)

Definition at line 2295 of file ssl.h.

◆ SSL_SECOP_CURVE_SUPPORTED

#define SSL_SECOP_CURVE_SUPPORTED   (4 | SSL_SECOP_OTHER_CURVE)

Definition at line 2293 of file ssl.h.

◆ SSL_SECOP_EE_KEY

#define SSL_SECOP_EE_KEY   (16 | SSL_SECOP_OTHER_CERT)

Definition at line 2315 of file ssl.h.

◆ SSL_SECOP_OTHER_CERT

#define SSL_SECOP_OTHER_CERT   (6 << 16)

Definition at line 2278 of file ssl.h.

◆ SSL_SECOP_OTHER_CIPHER

#define SSL_SECOP_OTHER_CIPHER   (1 << 16)

Definition at line 2273 of file ssl.h.

◆ SSL_SECOP_OTHER_CURVE

#define SSL_SECOP_OTHER_CURVE   (2 << 16)

Definition at line 2274 of file ssl.h.

◆ SSL_SECOP_OTHER_DH

#define SSL_SECOP_OTHER_DH   (3 << 16)

Definition at line 2275 of file ssl.h.

◆ SSL_SECOP_OTHER_NONE

#define SSL_SECOP_OTHER_NONE   0

Definition at line 2272 of file ssl.h.

◆ SSL_SECOP_OTHER_PKEY

#define SSL_SECOP_OTHER_PKEY   (4 << 16)

Definition at line 2276 of file ssl.h.

◆ SSL_SECOP_OTHER_SIGALG

#define SSL_SECOP_OTHER_SIGALG   (5 << 16)

Definition at line 2277 of file ssl.h.

◆ SSL_SECOP_OTHER_TYPE

#define SSL_SECOP_OTHER_TYPE   0xffff0000

Definition at line 2271 of file ssl.h.

◆ SSL_SECOP_PEER

#define SSL_SECOP_PEER   0x1000

Definition at line 2281 of file ssl.h.

◆ SSL_SECOP_PEER_CA_KEY

#define SSL_SECOP_PEER_CA_KEY   (SSL_SECOP_CA_KEY | SSL_SECOP_PEER)

Definition at line 2323 of file ssl.h.

◆ SSL_SECOP_PEER_CA_MD

#define SSL_SECOP_PEER_CA_MD   (SSL_SECOP_CA_MD | SSL_SECOP_PEER)

Definition at line 2325 of file ssl.h.

◆ SSL_SECOP_PEER_EE_KEY

#define SSL_SECOP_PEER_EE_KEY   (SSL_SECOP_EE_KEY | SSL_SECOP_PEER)

Definition at line 2321 of file ssl.h.

◆ SSL_SECOP_SIGALG_CHECK

#define SSL_SECOP_SIGALG_CHECK   (13 | SSL_SECOP_OTHER_SIGALG)

Definition at line 2309 of file ssl.h.

◆ SSL_SECOP_SIGALG_MASK

#define SSL_SECOP_SIGALG_MASK   (14 | SSL_SECOP_OTHER_SIGALG)

Definition at line 2311 of file ssl.h.

◆ SSL_SECOP_SIGALG_SHARED

#define SSL_SECOP_SIGALG_SHARED   (12 | SSL_SECOP_OTHER_SIGALG)

Definition at line 2307 of file ssl.h.

◆ SSL_SECOP_SIGALG_SUPPORTED

#define SSL_SECOP_SIGALG_SUPPORTED   (11 | SSL_SECOP_OTHER_SIGALG)

Definition at line 2305 of file ssl.h.

◆ SSL_SECOP_TICKET

#define SSL_SECOP_TICKET   (10 | SSL_SECOP_OTHER_NONE)

Definition at line 2303 of file ssl.h.

◆ SSL_SECOP_TMP_DH

#define SSL_SECOP_TMP_DH   (7 | SSL_SECOP_OTHER_PKEY)

Definition at line 2299 of file ssl.h.

◆ SSL_SECOP_VERSION

#define SSL_SECOP_VERSION   (9 | SSL_SECOP_OTHER_NONE)

Definition at line 2301 of file ssl.h.

◆ SSL_select_current_cert

#define SSL_select_current_cert ( s,
x509 )    SSL_ctrl(s,SSL_CTRL_SELECT_CURRENT_CERT,0,(char *)(x509))

◆ SSL_SENT_SHUTDOWN

#define SSL_SENT_SHUTDOWN   1

Definition at line 191 of file ssl.h.

◆ SSL_SERVERINFOV1

#define SSL_SERVERINFOV1   1

Definition at line 1571 of file ssl.h.

◆ SSL_SERVERINFOV2

#define SSL_SERVERINFOV2   2

Definition at line 1572 of file ssl.h.

◆ SSL_SESS_CACHE_BOTH

#define SSL_SESS_CACHE_BOTH   (SSL_SESS_CACHE_CLIENT|SSL_SESS_CACHE_SERVER)

Definition at line 675 of file ssl.h.

◆ SSL_SESS_CACHE_CLIENT

#define SSL_SESS_CACHE_CLIENT   0x0001

Definition at line 673 of file ssl.h.

◆ SSL_SESS_CACHE_NO_AUTO_CLEAR

#define SSL_SESS_CACHE_NO_AUTO_CLEAR   0x0080

Definition at line 676 of file ssl.h.

◆ SSL_SESS_CACHE_NO_INTERNAL

#define SSL_SESS_CACHE_NO_INTERNAL    (SSL_SESS_CACHE_NO_INTERNAL_LOOKUP|SSL_SESS_CACHE_NO_INTERNAL_STORE)

Definition at line 680 of file ssl.h.

◆ SSL_SESS_CACHE_NO_INTERNAL_LOOKUP

#define SSL_SESS_CACHE_NO_INTERNAL_LOOKUP   0x0100

Definition at line 678 of file ssl.h.

◆ SSL_SESS_CACHE_NO_INTERNAL_STORE

#define SSL_SESS_CACHE_NO_INTERNAL_STORE   0x0200

Definition at line 679 of file ssl.h.

◆ SSL_SESS_CACHE_OFF

#define SSL_SESS_CACHE_OFF   0x0000

Definition at line 672 of file ssl.h.

◆ SSL_SESS_CACHE_SERVER

#define SSL_SESS_CACHE_SERVER   0x0002

Definition at line 674 of file ssl.h.

◆ SSL_SESSION_ASN1_VERSION

#define SSL_SESSION_ASN1_VERSION   0x0001

Definition at line 43 of file ssl.h.

◆ SSL_SESSION_CACHE_MAX_SIZE_DEFAULT

#define SSL_SESSION_CACHE_MAX_SIZE_DEFAULT   (1024*20)

Definition at line 655 of file ssl.h.

◆ SSL_SESSION_get_app_data

#define SSL_SESSION_get_app_data ( s)    (SSL_SESSION_get_ex_data(s,0))

Definition at line 966 of file ssl.h.

◆ SSL_SESSION_get_ex_new_index

#define SSL_SESSION_get_ex_new_index ( l,
p,
newf,
dupf,
freef )    CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_SSL_SESSION, l, p, newf, dupf, freef)

Definition at line 2015 of file ssl.h.

◆ SSL_SESSION_set_app_data

#define SSL_SESSION_set_app_data ( s,
a )
Value:
(char *)(a)))
BIGNUM BIGNUM * a
Definition ec.h:275
__owur int SSL_SESSION_set_ex_data(SSL_SESSION *ss, int idx, void *data)

Definition at line 964 of file ssl.h.

◆ SSL_set0_chain

#define SSL_set0_chain ( s,
sk )    SSL_ctrl(s,SSL_CTRL_CHAIN,0,(char *)(sk))

◆ SSL_set0_chain_cert_store

#define SSL_set0_chain_cert_store ( s,
st )    SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,0,(char *)(st))

◆ SSL_set0_verify_cert_store

#define SSL_set0_verify_cert_store ( s,
st )    SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,0,(char *)(st))

◆ SSL_set1_chain

#define SSL_set1_chain ( s,
sk )    SSL_ctrl(s,SSL_CTRL_CHAIN,1,(char *)(sk))

◆ SSL_set1_chain_cert_store

#define SSL_set1_chain_cert_store ( s,
st )    SSL_ctrl(s,SSL_CTRL_SET_CHAIN_CERT_STORE,1,(char *)(st))

◆ SSL_set1_client_certificate_types

#define SSL_set1_client_certificate_types ( s,
clist,
clistlen )    SSL_ctrl(s,SSL_CTRL_SET_CLIENT_CERT_TYPES,clistlen,(char *)(clist))

◆ SSL_set1_client_sigalgs

#define SSL_set1_client_sigalgs ( s,
slist,
slistlen )    SSL_ctrl(s,SSL_CTRL_SET_CLIENT_SIGALGS,slistlen,(int *)(slist))

◆ SSL_set1_client_sigalgs_list

#define SSL_set1_client_sigalgs_list ( s,
str )    SSL_ctrl(s,SSL_CTRL_SET_CLIENT_SIGALGS_LIST,0,(char *)(str))

◆ SSL_set1_curves

#define SSL_set1_curves   SSL_set1_groups

◆ SSL_set1_curves_list

#define SSL_set1_curves_list   SSL_set1_groups_list

◆ SSL_set1_groups

#define SSL_set1_groups ( s,
glist,
glistlen )    SSL_ctrl(s,SSL_CTRL_SET_GROUPS,glistlen,(char *)(glist))

◆ SSL_set1_groups_list

#define SSL_set1_groups_list ( s,
str )    SSL_ctrl(s,SSL_CTRL_SET_GROUPS_LIST,0,(char *)(str))

◆ SSL_set1_sigalgs

#define SSL_set1_sigalgs ( s,
slist,
slistlen )    SSL_ctrl(s,SSL_CTRL_SET_SIGALGS,slistlen,(int *)(slist))

◆ SSL_set1_sigalgs_list

#define SSL_set1_sigalgs_list ( s,
str )    SSL_ctrl(s,SSL_CTRL_SET_SIGALGS_LIST,0,(char *)(str))

◆ SSL_set1_verify_cert_store

#define SSL_set1_verify_cert_store ( s,
st )    SSL_ctrl(s,SSL_CTRL_SET_VERIFY_CERT_STORE,1,(char *)(st))

◆ SSL_set_app_data

#define SSL_set_app_data ( s,
arg )   (SSL_set_ex_data(s,0,(char *)(arg)))

Definition at line 962 of file ssl.h.

◆ SSL_set_cert_flags

#define SSL_set_cert_flags ( s,
op )    SSL_ctrl((s),SSL_CTRL_CERT_FLAGS,(op),NULL)

Definition at line 619 of file ssl.h.

◆ SSL_set_current_cert

#define SSL_set_current_cert ( s,
op )    SSL_ctrl(s,SSL_CTRL_SET_CURRENT_CERT, op, NULL)

◆ SSL_set_dh_auto

#define SSL_set_dh_auto ( s,
onoff )    SSL_ctrl(s,SSL_CTRL_SET_DH_AUTO,onoff,NULL)

◆ SSL_set_ecdh_auto

#define SSL_set_ecdh_auto ( dummy,
onoff )   ((onoff) != 0)

◆ SSL_set_max_cert_list

#define SSL_set_max_cert_list ( ssl,
m )    SSL_ctrl(ssl,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)

Definition at line 2047 of file ssl.h.

◆ SSL_set_max_pipelines

#define SSL_set_max_pipelines ( ssl,
m )    SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)

Definition at line 2060 of file ssl.h.

◆ SSL_set_max_proto_version

#define SSL_set_max_proto_version ( s,
version )    SSL_ctrl(s, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)

◆ SSL_set_max_send_fragment

#define SSL_set_max_send_fragment ( ssl,
m )    SSL_ctrl(ssl,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)

Definition at line 2052 of file ssl.h.

◆ SSL_set_min_proto_version

#define SSL_set_min_proto_version ( s,
version )    SSL_ctrl(s, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)

◆ SSL_set_mode

#define SSL_set_mode ( ssl,
op )    SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)

Definition at line 598 of file ssl.h.

◆ SSL_set_msg_callback_arg

#define SSL_set_msg_callback_arg ( ssl,
arg )   SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg))

Definition at line 635 of file ssl.h.

◆ SSL_set_mtu

#define SSL_set_mtu ( ssl,
mtu )    SSL_ctrl((ssl),SSL_CTRL_SET_MTU,(mtu),NULL)

Definition at line 602 of file ssl.h.

◆ SSL_set_split_send_fragment

#define SSL_set_split_send_fragment ( ssl,
m )    SSL_ctrl(ssl,SSL_CTRL_SET_SPLIT_SEND_FRAGMENT,m,NULL)

Definition at line 2056 of file ssl.h.

◆ SSL_set_time

#define SSL_set_time ( a,
b )   SSL_SESSION_set_time((a),(b))

Definition at line 1120 of file ssl.h.

◆ SSL_set_timeout

#define SSL_set_timeout ( a,
b )   SSL_SESSION_set_timeout((a),(b))

Definition at line 1122 of file ssl.h.

◆ SSL_set_tmp_dh

#define SSL_set_tmp_dh ( ssl,
dh )    SSL_ctrl(ssl,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))

◆ SSL_set_tmp_ecdh

#define SSL_set_tmp_ecdh ( ssl,
ecdh )    SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)(ecdh))

◆ SSL_set_tmp_rsa

#define SSL_set_tmp_rsa ( ssl,
rsa )   1

◆ SSL_set_tmp_rsa_callback

#define SSL_set_tmp_rsa_callback ( ssl,
cb )   while(0) (cb)(NULL, 0, 0)

◆ SSL_ST_ACCEPT

#define SSL_ST_ACCEPT   0x2000

Definition at line 1053 of file ssl.h.

◆ SSL_ST_CONNECT

#define SSL_ST_CONNECT   0x1000

Definition at line 1052 of file ssl.h.

◆ SSL_ST_MASK

#define SSL_ST_MASK   0x0FFF

Definition at line 1055 of file ssl.h.

◆ SSL_ST_READ_BODY

#define SSL_ST_READ_BODY   0xF1

Definition at line 1083 of file ssl.h.

◆ SSL_ST_READ_DONE

#define SSL_ST_READ_DONE   0xF2

Definition at line 1084 of file ssl.h.

◆ SSL_ST_READ_HEADER

#define SSL_ST_READ_HEADER   0xF0

Definition at line 1082 of file ssl.h.

◆ SSL_TICKET_EMPTY

#define SSL_TICKET_EMPTY   3

Definition at line 2383 of file ssl.h.

◆ SSL_TICKET_FATAL_ERR_MALLOC

#define SSL_TICKET_FATAL_ERR_MALLOC   0

Definition at line 2377 of file ssl.h.

◆ SSL_TICKET_FATAL_ERR_OTHER

#define SSL_TICKET_FATAL_ERR_OTHER   1

Definition at line 2379 of file ssl.h.

◆ SSL_TICKET_NO_DECRYPT

#define SSL_TICKET_NO_DECRYPT   4

Definition at line 2385 of file ssl.h.

◆ SSL_TICKET_NONE

#define SSL_TICKET_NONE   2

Definition at line 2381 of file ssl.h.

◆ SSL_TICKET_RETURN_ABORT

#define SSL_TICKET_RETURN_ABORT   0

Definition at line 2395 of file ssl.h.

◆ SSL_TICKET_RETURN_IGNORE

#define SSL_TICKET_RETURN_IGNORE   1

Definition at line 2397 of file ssl.h.

◆ SSL_TICKET_RETURN_IGNORE_RENEW

#define SSL_TICKET_RETURN_IGNORE_RENEW   2

Definition at line 2399 of file ssl.h.

◆ SSL_TICKET_RETURN_USE

#define SSL_TICKET_RETURN_USE   3

Definition at line 2401 of file ssl.h.

◆ SSL_TICKET_RETURN_USE_RENEW

#define SSL_TICKET_RETURN_USE_RENEW   4

Definition at line 2403 of file ssl.h.

◆ SSL_TICKET_SUCCESS

#define SSL_TICKET_SUCCESS   5

Definition at line 2387 of file ssl.h.

◆ SSL_TICKET_SUCCESS_RENEW

#define SSL_TICKET_SUCCESS_RENEW   6

Definition at line 2389 of file ssl.h.

◆ SSL_total_renegotiations

#define SSL_total_renegotiations ( ssl)     SSL_ctrl((ssl),SSL_CTRL_GET_TOTAL_RENEGOTIATIONS,0,NULL)

◆ SSL_TXT_3DES

#define SSL_TXT_3DES   "3DES"

Definition at line 113 of file ssl.h.

◆ SSL_TXT_aDH

#define SSL_TXT_aDH   "aDH"/* this cipher class has been removed */

Definition at line 88 of file ssl.h.

◆ SSL_TXT_ADH

#define SSL_TXT_ADH   "ADH"

Definition at line 102 of file ssl.h.

◆ SSL_TXT_aDSS

#define SSL_TXT_aDSS   "aDSS"

Definition at line 87 of file ssl.h.

◆ SSL_TXT_aECDH

#define SSL_TXT_aECDH   "aECDH"/* this cipher class has been removed */

Definition at line 89 of file ssl.h.

◆ SSL_TXT_AECDH

#define SSL_TXT_AECDH   "AECDH"

Definition at line 107 of file ssl.h.

◆ SSL_TXT_aECDSA

#define SSL_TXT_aECDSA   "aECDSA"

Definition at line 90 of file ssl.h.

◆ SSL_TXT_AES

#define SSL_TXT_AES   "AES"

Definition at line 120 of file ssl.h.

◆ SSL_TXT_AES128

#define SSL_TXT_AES128   "AES128"

Definition at line 118 of file ssl.h.

◆ SSL_TXT_AES256

#define SSL_TXT_AES256   "AES256"

Definition at line 119 of file ssl.h.

◆ SSL_TXT_AES_CCM

#define SSL_TXT_AES_CCM   "AESCCM"

Definition at line 122 of file ssl.h.

◆ SSL_TXT_AES_CCM_8

#define SSL_TXT_AES_CCM_8   "AESCCM8"

Definition at line 123 of file ssl.h.

◆ SSL_TXT_AES_GCM

#define SSL_TXT_AES_GCM   "AESGCM"

Definition at line 121 of file ssl.h.

◆ SSL_TXT_aGOST

#define SSL_TXT_aGOST   "aGOST"

Definition at line 95 of file ssl.h.

◆ SSL_TXT_aGOST01

#define SSL_TXT_aGOST01   "aGOST01"

Definition at line 93 of file ssl.h.

◆ SSL_TXT_aGOST12

#define SSL_TXT_aGOST12   "aGOST12"

Definition at line 94 of file ssl.h.

◆ SSL_TXT_aGOST94

#define SSL_TXT_aGOST94   "aGOST94"

Definition at line 92 of file ssl.h.

◆ SSL_TXT_ALL

#define SSL_TXT_ALL   "ALL"

Definition at line 149 of file ssl.h.

◆ SSL_TXT_aNULL

#define SSL_TXT_aNULL   "aNULL"

Definition at line 64 of file ssl.h.

◆ SSL_TXT_aPSK

#define SSL_TXT_aPSK   "aPSK"

Definition at line 91 of file ssl.h.

◆ SSL_TXT_ARIA

#define SSL_TXT_ARIA   "ARIA"

Definition at line 129 of file ssl.h.

◆ SSL_TXT_ARIA128

#define SSL_TXT_ARIA128   "ARIA128"

Definition at line 131 of file ssl.h.

◆ SSL_TXT_ARIA256

#define SSL_TXT_ARIA256   "ARIA256"

Definition at line 132 of file ssl.h.

◆ SSL_TXT_ARIA_GCM

#define SSL_TXT_ARIA_GCM   "ARIAGCM"

Definition at line 130 of file ssl.h.

◆ SSL_TXT_aRSA

#define SSL_TXT_aRSA   "aRSA"

Definition at line 86 of file ssl.h.

◆ SSL_TXT_aSRP

#define SSL_TXT_aSRP   "aSRP"

Definition at line 96 of file ssl.h.

◆ SSL_TXT_CAMELLIA

#define SSL_TXT_CAMELLIA   "CAMELLIA"

Definition at line 126 of file ssl.h.

◆ SSL_TXT_CAMELLIA128

#define SSL_TXT_CAMELLIA128   "CAMELLIA128"

Definition at line 124 of file ssl.h.

◆ SSL_TXT_CAMELLIA256

#define SSL_TXT_CAMELLIA256   "CAMELLIA256"

Definition at line 125 of file ssl.h.

◆ SSL_TXT_CHACHA20

#define SSL_TXT_CHACHA20   "CHACHA20"

Definition at line 127 of file ssl.h.

◆ SSL_TXT_CMPALL

#define SSL_TXT_CMPALL   "COMPLEMENTOFALL"

Definition at line 165 of file ssl.h.

◆ SSL_TXT_CMPDEF

#define SSL_TXT_CMPDEF   "COMPLEMENTOFDEFAULT"

Definition at line 166 of file ssl.h.

◆ SSL_TXT_DES

#define SSL_TXT_DES   "DES"

Definition at line 112 of file ssl.h.

◆ SSL_TXT_DH

#define SSL_TXT_DH   "DH"

Definition at line 99 of file ssl.h.

◆ SSL_TXT_DHE

#define SSL_TXT_DHE   "DHE"/* same as "kDHE:-ADH" */

Definition at line 100 of file ssl.h.

◆ SSL_TXT_DSS

#define SSL_TXT_DSS   "DSS"

Definition at line 98 of file ssl.h.

◆ SSL_TXT_ECDH

#define SSL_TXT_ECDH   "ECDH"

Definition at line 104 of file ssl.h.

◆ SSL_TXT_ECDHE

#define SSL_TXT_ECDHE   "ECDHE"/* same as "kECDHE:-AECDH" */

Definition at line 106 of file ssl.h.

◆ SSL_TXT_ECDSA

#define SSL_TXT_ECDSA   "ECDSA"

Definition at line 108 of file ssl.h.

◆ SSL_TXT_EDH

#define SSL_TXT_EDH   "EDH"/* alias for DHE */

Definition at line 101 of file ssl.h.

◆ SSL_TXT_EECDH

#define SSL_TXT_EECDH   "EECDH"/* alias for ECDHE" */

Definition at line 105 of file ssl.h.

◆ SSL_TXT_eNULL

#define SSL_TXT_eNULL   "eNULL"

Definition at line 65 of file ssl.h.

◆ SSL_TXT_FIPS

#define SSL_TXT_FIPS   "FIPS"

Definition at line 62 of file ssl.h.

◆ SSL_TXT_GOST

#define SSL_TXT_GOST   "GOST89"

Definition at line 128 of file ssl.h.

◆ SSL_TXT_GOST12

#define SSL_TXT_GOST12   "GOST12"

Definition at line 139 of file ssl.h.

◆ SSL_TXT_GOST89MAC

#define SSL_TXT_GOST89MAC   "GOST89MAC"

Definition at line 138 of file ssl.h.

◆ SSL_TXT_GOST89MAC12

#define SSL_TXT_GOST89MAC12   "GOST89MAC12"

Definition at line 140 of file ssl.h.

◆ SSL_TXT_GOST94

#define SSL_TXT_GOST94   "GOST94"

Definition at line 137 of file ssl.h.

◆ SSL_TXT_HIGH

#define SSL_TXT_HIGH   "HIGH"

Definition at line 61 of file ssl.h.

◆ SSL_TXT_IDEA

#define SSL_TXT_IDEA   "IDEA"

Definition at line 116 of file ssl.h.

◆ SSL_TXT_kDH

#define SSL_TXT_kDH   "kDH"/* this cipher class has been removed */

Definition at line 71 of file ssl.h.

◆ SSL_TXT_kDHd

#define SSL_TXT_kDHd   "kDHd"/* this cipher class has been removed */

Definition at line 70 of file ssl.h.

◆ SSL_TXT_kDHE

#define SSL_TXT_kDHE   "kDHE"

Definition at line 73 of file ssl.h.

◆ SSL_TXT_kDHEPSK

#define SSL_TXT_kDHEPSK   "kDHEPSK"

Definition at line 82 of file ssl.h.

◆ SSL_TXT_kDHr

#define SSL_TXT_kDHr   "kDHr"/* this cipher class has been removed */

Definition at line 69 of file ssl.h.

◆ SSL_TXT_kECDH

#define SSL_TXT_kECDH   "kECDH"/* this cipher class has been removed */

Definition at line 76 of file ssl.h.

◆ SSL_TXT_kECDHe

#define SSL_TXT_kECDHe   "kECDHe"/* this cipher class has been removed */

Definition at line 75 of file ssl.h.

◆ SSL_TXT_kECDHE

#define SSL_TXT_kECDHE   "kECDHE"

Definition at line 78 of file ssl.h.

◆ SSL_TXT_kECDHEPSK

#define SSL_TXT_kECDHEPSK   "kECDHEPSK"

Definition at line 81 of file ssl.h.

◆ SSL_TXT_kECDHr

#define SSL_TXT_kECDHr   "kECDHr"/* this cipher class has been removed */

Definition at line 74 of file ssl.h.

◆ SSL_TXT_kEDH

#define SSL_TXT_kEDH   "kEDH"/* alias for kDHE */

Definition at line 72 of file ssl.h.

◆ SSL_TXT_kEECDH

#define SSL_TXT_kEECDH   "kEECDH"/* alias for kECDHE */

Definition at line 77 of file ssl.h.

◆ SSL_TXT_kGOST

#define SSL_TXT_kGOST   "kGOST"

Definition at line 83 of file ssl.h.

◆ SSL_TXT_kPSK

#define SSL_TXT_kPSK   "kPSK"

Definition at line 79 of file ssl.h.

◆ SSL_TXT_kRSA

#define SSL_TXT_kRSA   "kRSA"

Definition at line 68 of file ssl.h.

◆ SSL_TXT_kRSAPSK

#define SSL_TXT_kRSAPSK   "kRSAPSK"

Definition at line 80 of file ssl.h.

◆ SSL_TXT_kSRP

#define SSL_TXT_kSRP   "kSRP"

Definition at line 84 of file ssl.h.

◆ SSL_TXT_LOW

#define SSL_TXT_LOW   "LOW"

Definition at line 59 of file ssl.h.

◆ SSL_TXT_MD5

#define SSL_TXT_MD5   "MD5"

Definition at line 134 of file ssl.h.

◆ SSL_TXT_MEDIUM

#define SSL_TXT_MEDIUM   "MEDIUM"

Definition at line 60 of file ssl.h.

◆ SSL_TXT_NULL

#define SSL_TXT_NULL   "NULL"

Definition at line 66 of file ssl.h.

◆ SSL_TXT_PSK

#define SSL_TXT_PSK   "PSK"

Definition at line 109 of file ssl.h.

◆ SSL_TXT_RC2

#define SSL_TXT_RC2   "RC2"

Definition at line 115 of file ssl.h.

◆ SSL_TXT_RC4

#define SSL_TXT_RC4   "RC4"

Definition at line 114 of file ssl.h.

◆ SSL_TXT_RSA

#define SSL_TXT_RSA   "RSA"

Definition at line 103 of file ssl.h.

◆ SSL_TXT_SEED

#define SSL_TXT_SEED   "SEED"

Definition at line 117 of file ssl.h.

◆ SSL_TXT_SHA

#define SSL_TXT_SHA   "SHA"/* same as "SHA1" */

Definition at line 136 of file ssl.h.

◆ SSL_TXT_SHA1

#define SSL_TXT_SHA1   "SHA1"

Definition at line 135 of file ssl.h.

◆ SSL_TXT_SHA256

#define SSL_TXT_SHA256   "SHA256"

Definition at line 141 of file ssl.h.

◆ SSL_TXT_SHA384

#define SSL_TXT_SHA384   "SHA384"

Definition at line 142 of file ssl.h.

◆ SSL_TXT_SRP

#define SSL_TXT_SRP   "SRP"

Definition at line 110 of file ssl.h.

◆ SSL_TXT_SSLV3

#define SSL_TXT_SSLV3   "SSLv3"

Definition at line 144 of file ssl.h.

◆ SSL_TXT_TLSV1

#define SSL_TXT_TLSV1   "TLSv1"

Definition at line 145 of file ssl.h.

◆ SSL_TXT_TLSV1_1

#define SSL_TXT_TLSV1_1   "TLSv1.1"

Definition at line 146 of file ssl.h.

◆ SSL_TXT_TLSV1_2

#define SSL_TXT_TLSV1_2   "TLSv1.2"

Definition at line 147 of file ssl.h.

◆ SSL_VERIFY_CLIENT_ONCE

#define SSL_VERIFY_CLIENT_ONCE   0x04

Definition at line 1102 of file ssl.h.

◆ SSL_VERIFY_FAIL_IF_NO_PEER_CERT

#define SSL_VERIFY_FAIL_IF_NO_PEER_CERT   0x02

Definition at line 1101 of file ssl.h.

◆ SSL_VERIFY_NONE

#define SSL_VERIFY_NONE   0x00

Definition at line 1099 of file ssl.h.

◆ SSL_VERIFY_PEER

#define SSL_VERIFY_PEER   0x01

Definition at line 1100 of file ssl.h.

◆ SSL_VERIFY_POST_HANDSHAKE

#define SSL_VERIFY_POST_HANDSHAKE   0x08

Definition at line 1103 of file ssl.h.

◆ SSL_want_async

#define SSL_want_async ( s)    (SSL_want(s) == SSL_ASYNC_PAUSED)

Definition at line 905 of file ssl.h.

◆ SSL_want_async_job

#define SSL_want_async_job ( s)    (SSL_want(s) == SSL_ASYNC_NO_JOBS)

Definition at line 906 of file ssl.h.

◆ SSL_want_client_hello_cb

#define SSL_want_client_hello_cb ( s)    (SSL_want(s) == SSL_CLIENT_HELLO_CB)

Definition at line 907 of file ssl.h.

◆ SSL_want_nothing

#define SSL_want_nothing ( s)    (SSL_want(s) == SSL_NOTHING)

Definition at line 901 of file ssl.h.

◆ SSL_want_read

#define SSL_want_read ( s)    (SSL_want(s) == SSL_READING)

Definition at line 902 of file ssl.h.

◆ SSL_want_write

#define SSL_want_write ( s)    (SSL_want(s) == SSL_WRITING)

Definition at line 903 of file ssl.h.

◆ SSL_want_x509_lookup

#define SSL_want_x509_lookup ( s)    (SSL_want(s) == SSL_X509_LOOKUP)

Definition at line 904 of file ssl.h.

◆ SSL_WRITING

#define SSL_WRITING   2

Definition at line 893 of file ssl.h.

◆ SSL_X509_LOOKUP

#define SSL_X509_LOOKUP   4

Definition at line 895 of file ssl.h.

◆ SSLeay_add_ssl_algorithms

#define SSLeay_add_ssl_algorithms ( )    SSL_library_init()

Definition at line 1107 of file ssl.h.

◆ SSLv23_client_method

#define SSLv23_client_method   TLS_client_method

Definition at line 1867 of file ssl.h.

◆ SSLv23_method

#define SSLv23_method   TLS_method

Definition at line 1865 of file ssl.h.

◆ SSLv23_server_method

#define SSLv23_server_method   TLS_server_method

Definition at line 1866 of file ssl.h.

◆ TLS_DEFAULT_CIPHERSUITES

#define TLS_DEFAULT_CIPHERSUITES
Value:
"TLS_AES_256_GCM_SHA384:" \
"TLS_CHACHA20_POLY1305_SHA256:" \
"TLS_AES_128_GCM_SHA256"

Definition at line 176 of file ssl.h.

Typedef Documentation

◆ custom_ext_add_cb

typedef int(* custom_ext_add_cb) (SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg)

Definition at line 262 of file ssl.h.

◆ custom_ext_free_cb

typedef void(* custom_ext_free_cb) (SSL *s, unsigned int ext_type, const unsigned char *out, void *add_arg)

Definition at line 266 of file ssl.h.

◆ custom_ext_parse_cb

typedef int(* custom_ext_parse_cb) (SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *parse_arg)

Definition at line 269 of file ssl.h.

◆ DTLS_timer_cb

typedef unsigned int(* DTLS_timer_cb) (SSL *s, unsigned int timer_us)

Definition at line 2420 of file ssl.h.

◆ GEN_SESSION_CB

typedef int(* GEN_SESSION_CB) (SSL *ssl, unsigned char *id, unsigned int *id_len)

Definition at line 669 of file ssl.h.

◆ SRTP_PROTECTION_PROFILE

◆ SSL_allow_early_data_cb_fn

typedef int(* SSL_allow_early_data_cb_fn) (SSL *s, void *arg)

Definition at line 2425 of file ssl.h.

◆ SSL_CIPHER

typedef struct ssl_cipher_st SSL_CIPHER

Definition at line 212 of file ssl.h.

◆ SSL_client_hello_cb_fn

typedef int(* SSL_client_hello_cb_fn) (SSL *s, int *al, void *arg)

Definition at line 1798 of file ssl.h.

◆ SSL_COMP

typedef struct ssl_comp_st SSL_COMP

Definition at line 216 of file ssl.h.

◆ SSL_CONF_CTX

typedef struct ssl_conf_ctx_st SSL_CONF_CTX

Definition at line 215 of file ssl.h.

◆ ssl_crock_st

typedef struct ssl_st* ssl_crock_st

Definition at line 209 of file ssl.h.

◆ ssl_ct_validation_cb

typedef int(* ssl_ct_validation_cb) (const CT_POLICY_EVAL_CTX *ctx, const STACK_OF(SCT) *scts, void *arg)

Definition at line 2179 of file ssl.h.

◆ SSL_CTX_alpn_select_cb_func

typedef int(* SSL_CTX_alpn_select_cb_func) (SSL *ssl, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)

Definition at line 804 of file ssl.h.

◆ SSL_CTX_decrypt_session_ticket_fn

typedef SSL_TICKET_RETURN(* SSL_CTX_decrypt_session_ticket_fn) (SSL *s, SSL_SESSION *ss, const unsigned char *keyname, size_t keyname_length, SSL_TICKET_STATUS status, void *arg)

Definition at line 2406 of file ssl.h.

◆ SSL_CTX_generate_session_ticket_fn

typedef int(* SSL_CTX_generate_session_ticket_fn) (SSL *s, void *arg)

Definition at line 2405 of file ssl.h.

◆ SSL_CTX_keylog_cb_func

typedef void(* SSL_CTX_keylog_cb_func) (const SSL *ssl, const char *line)

Definition at line 916 of file ssl.h.

◆ SSL_CTX_npn_advertised_cb_func

typedef int(* SSL_CTX_npn_advertised_cb_func) (SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg)

Definition at line 766 of file ssl.h.

◆ SSL_CTX_npn_select_cb_func

typedef int(* SSL_CTX_npn_select_cb_func) (SSL *s, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)

Definition at line 775 of file ssl.h.

◆ SSL_custom_ext_add_cb_ex

typedef int(* SSL_custom_ext_add_cb_ex) (SSL *s, unsigned int ext_type, unsigned int context, const unsigned char **out, size_t *outlen, X509 *x, size_t chainidx, int *al, void *add_arg)

Definition at line 274 of file ssl.h.

◆ SSL_custom_ext_free_cb_ex

typedef void(* SSL_custom_ext_free_cb_ex) (SSL *s, unsigned int ext_type, unsigned int context, const unsigned char *out, void *add_arg)

Definition at line 281 of file ssl.h.

◆ SSL_custom_ext_parse_cb_ex

typedef int(* SSL_custom_ext_parse_cb_ex) (SSL *s, unsigned int ext_type, unsigned int context, const unsigned char *in, size_t inlen, X509 *x, size_t chainidx, int *al, void *parse_arg)

Definition at line 286 of file ssl.h.

◆ SSL_METHOD

typedef struct ssl_method_st SSL_METHOD

Definition at line 211 of file ssl.h.

◆ SSL_psk_client_cb_func

typedef unsigned int(* SSL_psk_client_cb_func) (SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)

Definition at line 823 of file ssl.h.

◆ SSL_psk_find_session_cb_func

typedef int(* SSL_psk_find_session_cb_func) (SSL *ssl, const unsigned char *identity, size_t identity_len, SSL_SESSION **sess)

Definition at line 845 of file ssl.h.

◆ SSL_psk_server_cb_func

typedef unsigned int(* SSL_psk_server_cb_func) (SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len)

Definition at line 832 of file ssl.h.

◆ SSL_psk_use_session_cb_func

typedef int(* SSL_psk_use_session_cb_func) (SSL *ssl, const EVP_MD *md, const unsigned char **id, size_t *idlen, SSL_SESSION **sess)

Definition at line 849 of file ssl.h.

◆ SSL_SESSION

typedef struct ssl_session_st SSL_SESSION

Definition at line 213 of file ssl.h.

◆ SSL_TICKET_RETURN

typedef int SSL_TICKET_RETURN

Definition at line 2392 of file ssl.h.

◆ SSL_TICKET_STATUS

typedef int SSL_TICKET_STATUS

Definition at line 2373 of file ssl.h.

◆ SSL_verify_cb

typedef int(* SSL_verify_cb) (int preverify_ok, X509_STORE_CTX *x509_ctx)

Definition at line 294 of file ssl.h.

◆ tls_session_secret_cb_fn

typedef int(* tls_session_secret_cb_fn) (SSL *s, void *secret, int *secret_len, STACK_OF(SSL_CIPHER) *peer_ciphers, const SSL_CIPHER **cipher, void *arg)

Definition at line 231 of file ssl.h.

◆ TLS_SESSION_TICKET_EXT

Definition at line 210 of file ssl.h.

◆ tls_session_ticket_ext_cb_fn

typedef int(* tls_session_ticket_ext_cb_fn) (SSL *s, const unsigned char *data, int len, void *arg)

Definition at line 229 of file ssl.h.

◆ TLS_SIGALGS

typedef struct tls_sigalgs_st TLS_SIGALGS

Definition at line 214 of file ssl.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SSL_CT_VALIDATION_PERMISSIVE 
SSL_CT_VALIDATION_STRICT 

Definition at line 2209 of file ssl.h.

◆ OSSL_HANDSHAKE_STATE

Enumerator
TLS_ST_BEFORE 
TLS_ST_OK 
DTLS_ST_CR_HELLO_VERIFY_REQUEST 
TLS_ST_CR_SRVR_HELLO 
TLS_ST_CR_CERT 
TLS_ST_CR_CERT_STATUS 
TLS_ST_CR_KEY_EXCH 
TLS_ST_CR_CERT_REQ 
TLS_ST_CR_SRVR_DONE 
TLS_ST_CR_SESSION_TICKET 
TLS_ST_CR_CHANGE 
TLS_ST_CR_FINISHED 
TLS_ST_CW_CLNT_HELLO 
TLS_ST_CW_CERT 
TLS_ST_CW_KEY_EXCH 
TLS_ST_CW_CERT_VRFY 
TLS_ST_CW_CHANGE 
TLS_ST_CW_NEXT_PROTO 
TLS_ST_CW_FINISHED 
TLS_ST_SW_HELLO_REQ 
TLS_ST_SR_CLNT_HELLO 
DTLS_ST_SW_HELLO_VERIFY_REQUEST 
TLS_ST_SW_SRVR_HELLO 
TLS_ST_SW_CERT 
TLS_ST_SW_KEY_EXCH 
TLS_ST_SW_CERT_REQ 
TLS_ST_SW_SRVR_DONE 
TLS_ST_SR_CERT 
TLS_ST_SR_KEY_EXCH 
TLS_ST_SR_CERT_VRFY 
TLS_ST_SR_NEXT_PROTO 
TLS_ST_SR_CHANGE 
TLS_ST_SR_FINISHED 
TLS_ST_SW_SESSION_TICKET 
TLS_ST_SW_CERT_STATUS 
TLS_ST_SW_CHANGE 
TLS_ST_SW_FINISHED 
TLS_ST_SW_ENCRYPTED_EXTENSIONS 
TLS_ST_CR_ENCRYPTED_EXTENSIONS 
TLS_ST_CR_CERT_VRFY 
TLS_ST_SW_CERT_VRFY 
TLS_ST_CR_HELLO_REQ 
TLS_ST_SW_KEY_UPDATE 
TLS_ST_CW_KEY_UPDATE 
TLS_ST_SR_KEY_UPDATE 
TLS_ST_CR_KEY_UPDATE 
TLS_ST_EARLY_DATA 
TLS_ST_PENDING_EARLY_DATA_END 
TLS_ST_CW_END_OF_EARLY_DATA 
TLS_ST_SR_END_OF_EARLY_DATA 

Definition at line 991 of file ssl.h.

Function Documentation

◆ BIO_new_buffer_ssl_connect()

__owur BIO * BIO_new_buffer_ssl_connect ( SSL_CTX * ctx)

◆ BIO_new_ssl()

__owur BIO * BIO_new_ssl ( SSL_CTX * ctx,
int client )

◆ BIO_new_ssl_connect()

__owur BIO * BIO_new_ssl_connect ( SSL_CTX * ctx)

◆ BIO_ssl_copy_session_id()

__owur int BIO_ssl_copy_session_id ( BIO * to,
BIO * from )

◆ BIO_ssl_shutdown()

void BIO_ssl_shutdown ( BIO * ssl_bio)

◆ d2i_SSL_SESSION()

SSL_SESSION * d2i_SSL_SESSION ( SSL_SESSION ** a,
const unsigned char ** pp,
long length )

◆ DECLARE_PEM_rw()

DECLARE_PEM_rw ( SSL_SESSION ,
SSL_SESSION  ) const

◆ DTLS_client_method()

__owur const SSL_METHOD * DTLS_client_method ( void )

◆ DTLS_get_data_mtu()

__owur size_t DTLS_get_data_mtu ( const SSL * s)

◆ DTLS_method()

__owur const SSL_METHOD * DTLS_method ( void )

◆ DTLS_server_method()

__owur const SSL_METHOD * DTLS_server_method ( void )

◆ DTLS_set_timer_cb()

void DTLS_set_timer_cb ( SSL * s,
DTLS_timer_cb cb )

◆ DTLSv1_listen()

int DTLSv1_listen ( SSL * s,
BIO_ADDR * client )

◆ i2d_SSL_SESSION()

__owur int i2d_SSL_SESSION ( SSL_SESSION * in,
unsigned char ** pp )

◆ LHASH_OF()

LHASH_OF ( SSL_SESSION )

◆ OPENSSL_cipher_name()

__owur const char * OPENSSL_cipher_name ( const char * rfc_name)

◆ OPENSSL_init_ssl()

int OPENSSL_init_ssl ( uint64_t opts,
const OPENSSL_INIT_SETTINGS * settings )

◆ SRP_Calc_A_param()

__owur int SRP_Calc_A_param ( SSL * s)

◆ SSL_accept()

__owur int SSL_accept ( SSL * ssl)

◆ SSL_add1_host()

__owur int SSL_add1_host ( SSL * s,
const char * hostname )

◆ SSL_add1_to_CA_list()

__owur int SSL_add1_to_CA_list ( SSL * ssl,
const X509 * x )

◆ SSL_add_client_CA()

__owur int SSL_add_client_CA ( SSL * ssl,
X509 * x )

◆ SSL_add_dir_cert_subjects_to_stack()

int SSL_add_dir_cert_subjects_to_stack ( STACK_OF(X509_NAME) * stackCAs,
const char * dir )

◆ SSL_add_file_cert_subjects_to_stack()

__owur int SSL_add_file_cert_subjects_to_stack ( STACK_OF(X509_NAME) * stackCAs,
const char * file )

◆ SSL_add_ssl_module()

void SSL_add_ssl_module ( void )

◆ SSL_alert_desc_string()

__owur const char * SSL_alert_desc_string ( int value)

◆ SSL_alert_desc_string_long()

__owur const char * SSL_alert_desc_string_long ( int value)

◆ SSL_alert_type_string()

__owur const char * SSL_alert_type_string ( int value)

◆ SSL_alert_type_string_long()

__owur const char * SSL_alert_type_string_long ( int value)

◆ SSL_alloc_buffers()

__owur int SSL_alloc_buffers ( SSL * ssl)

◆ SSL_bytes_to_cipher_list()

int SSL_bytes_to_cipher_list ( SSL * s,
const unsigned char * bytes,
size_t len,
int isv2format,
STACK_OF(SSL_CIPHER) ** sk,
STACK_OF(SSL_CIPHER) ** scsvs )

◆ SSL_callback_ctrl()

long SSL_callback_ctrl ( SSL * ,
int ,
void(*)(void)  )

◆ SSL_certs_clear()

void SSL_certs_clear ( SSL * s)

◆ SSL_check_private_key()

__owur int SSL_check_private_key ( const SSL * ctx)

◆ SSL_CIPHER_description()

__owur char * SSL_CIPHER_description ( const SSL_CIPHER * ,
char * buf,
int size )

◆ SSL_CIPHER_find()

const SSL_CIPHER * SSL_CIPHER_find ( SSL * ssl,
const unsigned char * ptr )

◆ SSL_CIPHER_get_auth_nid()

__owur int SSL_CIPHER_get_auth_nid ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_bits()

__owur int SSL_CIPHER_get_bits ( const SSL_CIPHER * c,
int * alg_bits )

◆ SSL_CIPHER_get_cipher_nid()

int SSL_CIPHER_get_cipher_nid ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_digest_nid()

int SSL_CIPHER_get_digest_nid ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_handshake_digest()

__owur const EVP_MD * SSL_CIPHER_get_handshake_digest ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_id()

__owur uint32_t SSL_CIPHER_get_id ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_kx_nid()

__owur int SSL_CIPHER_get_kx_nid ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_name()

__owur const char * SSL_CIPHER_get_name ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_protocol_id()

__owur uint16_t SSL_CIPHER_get_protocol_id ( const SSL_CIPHER * c)

◆ SSL_CIPHER_get_version()

__owur const char * SSL_CIPHER_get_version ( const SSL_CIPHER * c)

◆ SSL_CIPHER_is_aead()

__owur int SSL_CIPHER_is_aead ( const SSL_CIPHER * c)

◆ SSL_CIPHER_standard_name()

__owur const char * SSL_CIPHER_standard_name ( const SSL_CIPHER * c)

◆ SSL_clear()

__owur int SSL_clear ( SSL * s)

◆ SSL_clear_options()

unsigned long SSL_clear_options ( SSL * s,
unsigned long op )

◆ SSL_client_hello_get0_ciphers()

size_t SSL_client_hello_get0_ciphers ( SSL * s,
const unsigned char ** out )

◆ SSL_client_hello_get0_compression_methods()

size_t SSL_client_hello_get0_compression_methods ( SSL * s,
const unsigned char ** out )

◆ SSL_client_hello_get0_ext()

int SSL_client_hello_get0_ext ( SSL * s,
unsigned int type,
const unsigned char ** out,
size_t * outlen )

◆ SSL_client_hello_get0_legacy_version()

unsigned int SSL_client_hello_get0_legacy_version ( SSL * s)

◆ SSL_client_hello_get0_random()

size_t SSL_client_hello_get0_random ( SSL * s,
const unsigned char ** out )

◆ SSL_client_hello_get0_session_id()

size_t SSL_client_hello_get0_session_id ( SSL * s,
const unsigned char ** out )

◆ SSL_client_hello_get1_extensions_present()

int SSL_client_hello_get1_extensions_present ( SSL * s,
int ** out,
size_t * outlen )

◆ SSL_client_hello_isv2()

int SSL_client_hello_isv2 ( SSL * s)

◆ SSL_client_version()

__owur int SSL_client_version ( const SSL * s)

◆ SSL_COMP_add_compression_method()

__owur int SSL_COMP_add_compression_method ( int id,
COMP_METHOD * cm )

◆ SSL_COMP_get0_name()

__owur const char * SSL_COMP_get0_name ( const SSL_COMP * comp)

◆ SSL_COMP_get_id()

__owur int SSL_COMP_get_id ( const SSL_COMP * comp)

◆ SSL_COMP_get_name()

__owur const char * SSL_COMP_get_name ( const COMP_METHOD * comp)

◆ SSL_CONF_cmd()

__owur int SSL_CONF_cmd ( SSL_CONF_CTX * cctx,
const char * cmd,
const char * value )

◆ SSL_CONF_cmd_argv()

__owur int SSL_CONF_cmd_argv ( SSL_CONF_CTX * cctx,
int * pargc,
char *** pargv )

◆ SSL_CONF_cmd_value_type()

__owur int SSL_CONF_cmd_value_type ( SSL_CONF_CTX * cctx,
const char * cmd )

◆ SSL_CONF_CTX_clear_flags()

__owur unsigned int SSL_CONF_CTX_clear_flags ( SSL_CONF_CTX * cctx,
unsigned int flags )

◆ SSL_CONF_CTX_finish()

int SSL_CONF_CTX_finish ( SSL_CONF_CTX * cctx)

◆ SSL_CONF_CTX_free()

void SSL_CONF_CTX_free ( SSL_CONF_CTX * cctx)

◆ SSL_CONF_CTX_new()

__owur __owur SSL_CONF_CTX * SSL_CONF_CTX_new ( void )

◆ SSL_CONF_CTX_set1_prefix()

__owur int SSL_CONF_CTX_set1_prefix ( SSL_CONF_CTX * cctx,
const char * pre )

◆ SSL_CONF_CTX_set_flags()

unsigned int SSL_CONF_CTX_set_flags ( SSL_CONF_CTX * cctx,
unsigned int flags )

◆ SSL_CONF_CTX_set_ssl()

void SSL_CONF_CTX_set_ssl ( SSL_CONF_CTX * cctx,
SSL * ssl )

◆ SSL_CONF_CTX_set_ssl_ctx()

void SSL_CONF_CTX_set_ssl_ctx ( SSL_CONF_CTX * cctx,
SSL_CTX * ctx )

◆ SSL_config()

int SSL_config ( SSL * s,
const char * name )

◆ SSL_connect()

__owur int SSL_connect ( SSL * ssl)

◆ SSL_copy_session_id()

__owur int SSL_copy_session_id ( SSL * to,
const SSL * from )

◆ SSL_ct_is_enabled()

int SSL_ct_is_enabled ( const SSL * s)

◆ SSL_ctrl()

long SSL_ctrl ( SSL * ssl,
int cmd,
long larg,
void * parg )

◆ SSL_CTX_add1_to_CA_list()

__owur int SSL_CTX_add1_to_CA_list ( SSL_CTX * ctx,
const X509 * x )

◆ SSL_CTX_add_client_CA()

__owur int SSL_CTX_add_client_CA ( SSL_CTX * ctx,
X509 * x )

◆ SSL_CTX_add_client_custom_ext()

__owur int SSL_CTX_add_client_custom_ext ( SSL_CTX * ctx,
unsigned int ext_type,
custom_ext_add_cb add_cb,
custom_ext_free_cb free_cb,
void * add_arg,
custom_ext_parse_cb parse_cb,
void * parse_arg )

◆ SSL_CTX_add_custom_ext()

__owur int SSL_CTX_add_custom_ext ( SSL_CTX * ctx,
unsigned int ext_type,
unsigned int context,
SSL_custom_ext_add_cb_ex add_cb,
SSL_custom_ext_free_cb_ex free_cb,
void * add_arg,
SSL_custom_ext_parse_cb_ex parse_cb,
void * parse_arg )

◆ SSL_CTX_add_server_custom_ext()

__owur int SSL_CTX_add_server_custom_ext ( SSL_CTX * ctx,
unsigned int ext_type,
custom_ext_add_cb add_cb,
custom_ext_free_cb free_cb,
void * add_arg,
custom_ext_parse_cb parse_cb,
void * parse_arg )

◆ SSL_CTX_add_session()

int SSL_CTX_add_session ( SSL_CTX * ctx,
SSL_SESSION * session )

◆ SSL_CTX_callback_ctrl()

long SSL_CTX_callback_ctrl ( SSL_CTX * ,
int ,
void(*)(void)  )

◆ SSL_CTX_check_private_key()

__owur int SSL_CTX_check_private_key ( const SSL_CTX * ctx)

◆ SSL_CTX_clear_options()

unsigned long SSL_CTX_clear_options ( SSL_CTX * ctx,
unsigned long op )

◆ SSL_CTX_config()

int SSL_CTX_config ( SSL_CTX * ctx,
const char * name )

◆ SSL_CTX_ct_is_enabled()

int SSL_CTX_ct_is_enabled ( const SSL_CTX * ctx)

◆ SSL_CTX_ctrl()

long SSL_CTX_ctrl ( SSL_CTX * ctx,
int cmd,
long larg,
void * parg )

◆ SSL_CTX_dane_clear_flags()

unsigned long SSL_CTX_dane_clear_flags ( SSL_CTX * ctx,
unsigned long flags )

◆ SSL_CTX_dane_enable()

__owur int SSL_CTX_dane_enable ( SSL_CTX * ctx)

◆ SSL_CTX_dane_mtype_set()

__owur int SSL_CTX_dane_mtype_set ( SSL_CTX * ctx,
const EVP_MD * md,
uint8_t mtype,
uint8_t ord )

◆ SSL_CTX_dane_set_flags()

unsigned long SSL_CTX_dane_set_flags ( SSL_CTX * ctx,
unsigned long flags )

◆ SSL_CTX_enable_ct()

int SSL_CTX_enable_ct ( SSL_CTX * ctx,
int validation_mode )

◆ SSL_CTX_flush_sessions()

void SSL_CTX_flush_sessions ( SSL_CTX * ctx,
long tm )

◆ SSL_CTX_free()

void SSL_CTX_free ( SSL_CTX * )

◆ SSL_CTX_get0_certificate()

__owur X509 * SSL_CTX_get0_certificate ( const SSL_CTX * ctx)

◆ SSL_CTX_get0_ctlog_store()

const CTLOG_STORE * SSL_CTX_get0_ctlog_store ( const SSL_CTX * ctx)

◆ SSL_CTX_get0_param()

__owur X509_VERIFY_PARAM * SSL_CTX_get0_param ( SSL_CTX * ctx)

◆ SSL_CTX_get0_privatekey()

__owur EVP_PKEY * SSL_CTX_get0_privatekey ( const SSL_CTX * ctx)

◆ SSL_CTX_get0_security_ex_data()

__owur void * SSL_CTX_get0_security_ex_data ( const SSL_CTX * ctx)

◆ SSL_CTX_get_cert_store()

__owur X509_STORE * SSL_CTX_get_cert_store ( const SSL_CTX * )

◆ SSL_CTX_get_default_passwd_cb()

pem_password_cb * SSL_CTX_get_default_passwd_cb ( SSL_CTX * ctx)

◆ SSL_CTX_get_default_passwd_cb_userdata()

void * SSL_CTX_get_default_passwd_cb_userdata ( SSL_CTX * ctx)

◆ SSL_CTX_get_ex_data()

void * SSL_CTX_get_ex_data ( const SSL_CTX * ssl,
int idx )

◆ SSL_CTX_get_keylog_callback()

SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback ( const SSL_CTX * ctx)

◆ SSL_CTX_get_max_early_data()

uint32_t SSL_CTX_get_max_early_data ( const SSL_CTX * ctx)

◆ SSL_CTX_get_num_tickets()

size_t SSL_CTX_get_num_tickets ( const SSL_CTX * ctx)

◆ SSL_CTX_get_options()

unsigned long SSL_CTX_get_options ( const SSL_CTX * ctx)

◆ SSL_CTX_get_quiet_shutdown()

__owur int SSL_CTX_get_quiet_shutdown ( const SSL_CTX * ctx)

◆ SSL_CTX_get_record_padding_callback_arg()

void * SSL_CTX_get_record_padding_callback_arg ( const SSL_CTX * ctx)

◆ SSL_CTX_get_recv_max_early_data()

uint32_t SSL_CTX_get_recv_max_early_data ( const SSL_CTX * ctx)

◆ SSL_CTX_get_security_level()

__owur int SSL_CTX_get_security_level ( const SSL_CTX * ctx)

◆ SSL_CTX_get_ssl_method()

__owur const SSL_METHOD * SSL_CTX_get_ssl_method ( const SSL_CTX * ctx)

◆ SSL_CTX_get_timeout()

__owur long SSL_CTX_get_timeout ( const SSL_CTX * ctx)

◆ SSL_CTX_get_verify_callback()

__owur SSL_verify_cb SSL_CTX_get_verify_callback ( const SSL_CTX * ctx)

◆ SSL_CTX_get_verify_depth()

__owur int SSL_CTX_get_verify_depth ( const SSL_CTX * ctx)

◆ SSL_CTX_get_verify_mode()

__owur int SSL_CTX_get_verify_mode ( const SSL_CTX * ctx)

◆ SSL_CTX_has_client_custom_ext()

__owur int SSL_CTX_has_client_custom_ext ( const SSL_CTX * ctx,
unsigned int ext_type )

◆ SSL_CTX_load_verify_locations()

__owur int SSL_CTX_load_verify_locations ( SSL_CTX * ctx,
const char * CAfile,
const char * CApath )

◆ SSL_CTX_new()

__owur SSL_CTX * SSL_CTX_new ( const SSL_METHOD * meth)

◆ SSL_CTX_remove_session()

int SSL_CTX_remove_session ( SSL_CTX * ctx,
SSL_SESSION * session )

◆ SSL_CTX_sess_set_get_cb()

void SSL_CTX_sess_set_get_cb ( SSL_CTX * ctx,
SSL_SESSION *(*)(struct ssl_st *ssl, const unsigned char *data, int len, int *copy) get_session_cb )

◆ SSL_CTX_sess_set_new_cb()

void SSL_CTX_sess_set_new_cb ( SSL_CTX * ctx,
int(*)(struct ssl_st *ssl, SSL_SESSION *sess) new_session_cb )

◆ SSL_CTX_sess_set_remove_cb()

void SSL_CTX_sess_set_remove_cb ( SSL_CTX * ctx,
void(*)(struct ssl_ctx_st *ctx, SSL_SESSION *sess) remove_session_cb )

◆ SSL_CTX_set0_CA_list()

void SSL_CTX_set0_CA_list ( SSL_CTX * ctx,
STACK_OF(X509_NAME) * name_list )

◆ SSL_CTX_set0_ctlog_store()

void SSL_CTX_set0_ctlog_store ( SSL_CTX * ctx,
CTLOG_STORE * logs )

◆ SSL_CTX_set0_security_ex_data()

void SSL_CTX_set0_security_ex_data ( SSL_CTX * ctx,
void * ex )

◆ SSL_CTX_set1_cert_store()

void SSL_CTX_set1_cert_store ( SSL_CTX * ,
X509_STORE *  )

◆ SSL_CTX_set1_param()

__owur int SSL_CTX_set1_param ( SSL_CTX * ctx,
X509_VERIFY_PARAM * vpm )

◆ SSL_CTX_set_allow_early_data_cb()

void SSL_CTX_set_allow_early_data_cb ( SSL_CTX * ctx,
SSL_allow_early_data_cb_fn cb,
void * arg )

◆ SSL_CTX_set_alpn_protos()

__owur int SSL_CTX_set_alpn_protos ( SSL_CTX * ctx,
const unsigned char * protos,
unsigned int protos_len )

◆ SSL_CTX_set_alpn_select_cb()

void SSL_CTX_set_alpn_select_cb ( SSL_CTX * ctx,
SSL_CTX_alpn_select_cb_func cb,
void * arg )

◆ SSL_CTX_set_block_padding()

int SSL_CTX_set_block_padding ( SSL_CTX * ctx,
size_t block_size )

◆ SSL_CTX_set_cert_cb()

void SSL_CTX_set_cert_cb ( SSL_CTX * c,
int(*)(SSL *ssl, void *arg) cb,
void * arg )

◆ SSL_CTX_set_cert_store()

void SSL_CTX_set_cert_store ( SSL_CTX * ,
X509_STORE *  )

◆ SSL_CTX_set_cert_verify_callback()

void SSL_CTX_set_cert_verify_callback ( SSL_CTX * ctx,
int(*)(X509_STORE_CTX *, void *) cb,
void * arg )

◆ SSL_CTX_set_cipher_list()

__owur int SSL_CTX_set_cipher_list ( SSL_CTX * ,
const char * str )

◆ SSL_CTX_set_ciphersuites()

__owur int SSL_CTX_set_ciphersuites ( SSL_CTX * ctx,
const char * str )

◆ SSL_CTX_set_client_CA_list()

void SSL_CTX_set_client_CA_list ( SSL_CTX * ctx,
STACK_OF(X509_NAME) * name_list )

◆ SSL_CTX_set_client_cert_cb()

void SSL_CTX_set_client_cert_cb ( SSL_CTX * ctx,
int(*)(SSL *ssl, X509 **x509, EVP_PKEY **pkey) client_cert_cb )

◆ SSL_CTX_set_client_cert_engine()

__owur int SSL_CTX_set_client_cert_engine ( SSL_CTX * ctx,
ENGINE * e )

◆ SSL_CTX_set_client_hello_cb()

void SSL_CTX_set_client_hello_cb ( SSL_CTX * c,
SSL_client_hello_cb_fn cb,
void * arg )

◆ SSL_CTX_set_cookie_generate_cb()

void SSL_CTX_set_cookie_generate_cb ( SSL_CTX * ctx,
int(*)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len) app_gen_cookie_cb )

◆ SSL_CTX_set_cookie_verify_cb()

void SSL_CTX_set_cookie_verify_cb ( SSL_CTX * ctx,
int(*)(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len) app_verify_cookie_cb )

◆ SSL_CTX_set_ct_validation_callback()

int SSL_CTX_set_ct_validation_callback ( SSL_CTX * ctx,
ssl_ct_validation_cb callback,
void * arg )

◆ SSL_CTX_set_ctlog_list_file()

int SSL_CTX_set_ctlog_list_file ( SSL_CTX * ctx,
const char * path )

◆ SSL_CTX_set_default_ctlog_list_file()

int SSL_CTX_set_default_ctlog_list_file ( SSL_CTX * ctx)

◆ SSL_CTX_set_default_passwd_cb()

void SSL_CTX_set_default_passwd_cb ( SSL_CTX * ctx,
pem_password_cb * cb )

◆ SSL_CTX_set_default_passwd_cb_userdata()

void SSL_CTX_set_default_passwd_cb_userdata ( SSL_CTX * ctx,
void * u )

◆ SSL_CTX_set_default_read_buffer_len()

void SSL_CTX_set_default_read_buffer_len ( SSL_CTX * ctx,
size_t len )

◆ SSL_CTX_set_default_verify_dir()

__owur int SSL_CTX_set_default_verify_dir ( SSL_CTX * ctx)

◆ SSL_CTX_set_default_verify_file()

__owur int SSL_CTX_set_default_verify_file ( SSL_CTX * ctx)

◆ SSL_CTX_set_default_verify_paths()

__owur int SSL_CTX_set_default_verify_paths ( SSL_CTX * ctx)

◆ SSL_CTX_set_ex_data()

__owur int SSL_CTX_set_ex_data ( SSL_CTX * ssl,
int idx,
void * data )

◆ SSL_CTX_set_generate_session_id()

__owur int SSL_CTX_set_generate_session_id ( SSL_CTX * ctx,
GEN_SESSION_CB cb )

◆ SSL_CTX_set_info_callback()

void SSL_CTX_set_info_callback ( SSL_CTX * ctx,
void(*)(const SSL *ssl, int type, int val) cb )

◆ SSL_CTX_set_keylog_callback()

void SSL_CTX_set_keylog_callback ( SSL_CTX * ctx,
SSL_CTX_keylog_cb_func cb )

◆ SSL_CTX_set_max_early_data()

int SSL_CTX_set_max_early_data ( SSL_CTX * ctx,
uint32_t max_early_data )

◆ SSL_CTX_set_msg_callback()

void SSL_CTX_set_msg_callback ( SSL_CTX * ctx,
void(*)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) cb )

◆ SSL_CTX_set_next_proto_select_cb()

void SSL_CTX_set_next_proto_select_cb ( SSL_CTX * s,
SSL_CTX_npn_select_cb_func cb,
void * arg )

◆ SSL_CTX_set_next_protos_advertised_cb()

void SSL_CTX_set_next_protos_advertised_cb ( SSL_CTX * s,
SSL_CTX_npn_advertised_cb_func cb,
void * arg )

◆ SSL_CTX_set_not_resumable_session_callback()

void SSL_CTX_set_not_resumable_session_callback ( SSL_CTX * ctx,
int(*)(SSL *ssl, int is_forward_secure) cb )

◆ SSL_CTX_set_num_tickets()

int SSL_CTX_set_num_tickets ( SSL_CTX * ctx,
size_t num_tickets )

◆ SSL_CTX_set_options()

unsigned long SSL_CTX_set_options ( SSL_CTX * ctx,
unsigned long op )

◆ SSL_CTX_set_post_handshake_auth()

void SSL_CTX_set_post_handshake_auth ( SSL_CTX * ctx,
int val )

◆ SSL_CTX_set_psk_client_callback()

void SSL_CTX_set_psk_client_callback ( SSL_CTX * ctx,
SSL_psk_client_cb_func cb )

◆ SSL_CTX_set_psk_find_session_callback()

void SSL_CTX_set_psk_find_session_callback ( SSL_CTX * ctx,
SSL_psk_find_session_cb_func cb )

◆ SSL_CTX_set_psk_server_callback()

void SSL_CTX_set_psk_server_callback ( SSL_CTX * ctx,
SSL_psk_server_cb_func cb )

◆ SSL_CTX_set_psk_use_session_callback()

void SSL_CTX_set_psk_use_session_callback ( SSL_CTX * ctx,
SSL_psk_use_session_cb_func cb )

◆ SSL_CTX_set_purpose()

__owur int SSL_CTX_set_purpose ( SSL_CTX * ctx,
int purpose )

◆ SSL_CTX_set_quiet_shutdown()

void SSL_CTX_set_quiet_shutdown ( SSL_CTX * ctx,
int mode )

◆ SSL_CTX_set_record_padding_callback()

void SSL_CTX_set_record_padding_callback ( SSL_CTX * ctx,
size_t(*)(SSL *ssl, int type, size_t len, void *arg) cb )

◆ SSL_CTX_set_record_padding_callback_arg()

void SSL_CTX_set_record_padding_callback_arg ( SSL_CTX * ctx,
void * arg )

◆ SSL_CTX_set_recv_max_early_data()

int SSL_CTX_set_recv_max_early_data ( SSL_CTX * ctx,
uint32_t recv_max_early_data )

◆ SSL_CTX_set_security_callback()

void SSL_CTX_set_security_callback ( SSL_CTX * ctx,
int(*)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) cb )

◆ SSL_CTX_set_security_level()

void SSL_CTX_set_security_level ( SSL_CTX * ctx,
int level )

◆ SSL_CTX_set_session_id_context()

__owur int SSL_CTX_set_session_id_context ( SSL_CTX * ctx,
const unsigned char * sid_ctx,
unsigned int sid_ctx_len )

◆ SSL_CTX_set_session_ticket_cb()

int SSL_CTX_set_session_ticket_cb ( SSL_CTX * ctx,
SSL_CTX_generate_session_ticket_fn gen_cb,
SSL_CTX_decrypt_session_ticket_fn dec_cb,
void * arg )

◆ SSL_CTX_set_srp_cb_arg()

int SSL_CTX_set_srp_cb_arg ( SSL_CTX * ctx,
void * arg )

◆ SSL_CTX_set_srp_client_pwd_callback()

int SSL_CTX_set_srp_client_pwd_callback ( SSL_CTX * ctx,
char *(*)(SSL *, void *) cb )

◆ SSL_CTX_set_srp_password()

int SSL_CTX_set_srp_password ( SSL_CTX * ctx,
char * password )

◆ SSL_CTX_set_srp_strength()

int SSL_CTX_set_srp_strength ( SSL_CTX * ctx,
int strength )

◆ SSL_CTX_set_srp_username()

int SSL_CTX_set_srp_username ( SSL_CTX * ctx,
char * name )

◆ SSL_CTX_set_srp_username_callback()

int SSL_CTX_set_srp_username_callback ( SSL_CTX * ctx,
int(*)(SSL *, int *, void *) cb )

◆ SSL_CTX_set_srp_verify_param_callback()

int SSL_CTX_set_srp_verify_param_callback ( SSL_CTX * ctx,
int(*)(SSL *, void *) cb )

◆ SSL_CTX_set_ssl_version()

__owur int SSL_CTX_set_ssl_version ( SSL_CTX * ctx,
const SSL_METHOD * meth )

◆ SSL_CTX_set_stateless_cookie_generate_cb()

void SSL_CTX_set_stateless_cookie_generate_cb ( SSL_CTX * ctx,
int(*)(SSL *ssl, unsigned char *cookie, size_t *cookie_len) gen_stateless_cookie_cb )

◆ SSL_CTX_set_stateless_cookie_verify_cb()

void SSL_CTX_set_stateless_cookie_verify_cb ( SSL_CTX * ctx,
int(*)(SSL *ssl, const unsigned char *cookie, size_t cookie_len) verify_stateless_cookie_cb )

◆ SSL_CTX_set_timeout()

__owur long SSL_CTX_set_timeout ( SSL_CTX * ctx,
long t )

◆ SSL_CTX_set_tmp_dh_callback()

void SSL_CTX_set_tmp_dh_callback ( SSL_CTX * ctx,
DH *(*)(SSL *ssl, int is_export, int keylength) dh )

◆ SSL_CTX_set_trust()

__owur int SSL_CTX_set_trust ( SSL_CTX * ctx,
int trust )

◆ SSL_CTX_set_verify()

void SSL_CTX_set_verify ( SSL_CTX * ctx,
int mode,
SSL_verify_cb callback )

◆ SSL_CTX_set_verify_depth()

void SSL_CTX_set_verify_depth ( SSL_CTX * ctx,
int depth )

◆ SSL_CTX_SRP_CTX_free()

int SSL_CTX_SRP_CTX_free ( SSL_CTX * ctx)

◆ SSL_CTX_SRP_CTX_init()

__owur int SSL_CTX_SRP_CTX_init ( SSL_CTX * ctx)

◆ SSL_CTX_up_ref()

int SSL_CTX_up_ref ( SSL_CTX * ctx)

◆ SSL_CTX_use_cert_and_key()

__owur int SSL_CTX_use_cert_and_key ( SSL_CTX * ctx,
X509 * x509,
EVP_PKEY * privatekey,
STACK_OF(X509) * chain,
int override )

◆ SSL_CTX_use_certificate()

__owur int SSL_CTX_use_certificate ( SSL_CTX * ctx,
X509 * x )

◆ SSL_CTX_use_certificate_ASN1()

__owur int SSL_CTX_use_certificate_ASN1 ( SSL_CTX * ctx,
int len,
const unsigned char * d )

◆ SSL_CTX_use_certificate_chain_file()

__owur int SSL_CTX_use_certificate_chain_file ( SSL_CTX * ctx,
const char * file )

◆ SSL_CTX_use_certificate_file()

__owur int SSL_CTX_use_certificate_file ( SSL_CTX * ctx,
const char * file,
int type )

◆ SSL_CTX_use_PrivateKey()

__owur int SSL_CTX_use_PrivateKey ( SSL_CTX * ctx,
EVP_PKEY * pkey )

◆ SSL_CTX_use_PrivateKey_ASN1()

__owur int SSL_CTX_use_PrivateKey_ASN1 ( int pk,
SSL_CTX * ctx,
const unsigned char * d,
long len )

◆ SSL_CTX_use_PrivateKey_file()

__owur int SSL_CTX_use_PrivateKey_file ( SSL_CTX * ctx,
const char * file,
int type )

◆ SSL_CTX_use_psk_identity_hint()

__owur int SSL_CTX_use_psk_identity_hint ( SSL_CTX * ctx,
const char * identity_hint )

◆ SSL_CTX_use_RSAPrivateKey()

__owur int SSL_CTX_use_RSAPrivateKey ( SSL_CTX * ctx,
RSA * rsa )

◆ SSL_CTX_use_RSAPrivateKey_ASN1()

__owur int SSL_CTX_use_RSAPrivateKey_ASN1 ( SSL_CTX * ctx,
const unsigned char * d,
long len )

◆ SSL_CTX_use_RSAPrivateKey_file()

__owur int SSL_CTX_use_RSAPrivateKey_file ( SSL_CTX * ctx,
const char * file,
int type )

◆ SSL_CTX_use_serverinfo()

__owur int SSL_CTX_use_serverinfo ( SSL_CTX * ctx,
const unsigned char * serverinfo,
size_t serverinfo_length )

◆ SSL_CTX_use_serverinfo_ex()

__owur int SSL_CTX_use_serverinfo_ex ( SSL_CTX * ctx,
unsigned int version,
const unsigned char * serverinfo,
size_t serverinfo_length )

◆ SSL_CTX_use_serverinfo_file()

__owur int SSL_CTX_use_serverinfo_file ( SSL_CTX * ctx,
const char * file )

◆ SSL_dane_clear_flags()

unsigned long SSL_dane_clear_flags ( SSL * ssl,
unsigned long flags )

◆ SSL_dane_enable()

__owur int SSL_dane_enable ( SSL * s,
const char * basedomain )

◆ SSL_dane_set_flags()

unsigned long SSL_dane_set_flags ( SSL * ssl,
unsigned long flags )

◆ SSL_dane_tlsa_add()

__owur int SSL_dane_tlsa_add ( SSL * s,
uint8_t usage,
uint8_t selector,
uint8_t mtype,
unsigned const char * data,
size_t dlen )

◆ SSL_do_handshake()

__owur int SSL_do_handshake ( SSL * s)

◆ SSL_dup()

__owur SSL * SSL_dup ( SSL * ssl)

◆ SSL_enable_ct()

int SSL_enable_ct ( SSL * s,
int validation_mode )

◆ SSL_extension_supported()

__owur int SSL_extension_supported ( unsigned int ext_type)

◆ SSL_free()

void SSL_free ( SSL * ssl)

◆ SSL_free_buffers()

__owur int SSL_free_buffers ( SSL * ssl)

◆ SSL_get0_alpn_selected()

void SSL_get0_alpn_selected ( const SSL * ssl,
const unsigned char ** data,
unsigned int * len )

◆ SSL_get0_dane()

SSL_DANE * SSL_get0_dane ( SSL * ssl)

◆ SSL_get0_dane_authority()

__owur int SSL_get0_dane_authority ( SSL * s,
X509 ** mcert,
EVP_PKEY ** mspki )

◆ SSL_get0_dane_tlsa()

__owur int SSL_get0_dane_tlsa ( SSL * s,
uint8_t * usage,
uint8_t * selector,
uint8_t * mtype,
unsigned const char ** data,
size_t * dlen )

◆ SSL_get0_next_proto_negotiated()

void SSL_get0_next_proto_negotiated ( const SSL * s,
const unsigned char ** data,
unsigned * len )

◆ SSL_get0_param()

__owur X509_VERIFY_PARAM * SSL_get0_param ( SSL * ssl)

◆ SSL_get0_peername()

__owur const char * SSL_get0_peername ( SSL * s)

◆ SSL_get0_security_ex_data()

__owur void * SSL_get0_security_ex_data ( const SSL * s)

◆ SSL_get1_session()

__owur SSL_SESSION * SSL_get1_session ( SSL * ssl)

◆ SSL_get_certificate()

__owur X509 * SSL_get_certificate ( const SSL * ssl)

◆ SSL_get_cipher_list()

__owur const char * SSL_get_cipher_list ( const SSL * s,
int n )

◆ SSL_get_client_random()

__owur size_t SSL_get_client_random ( const SSL * ssl,
unsigned char * out,
size_t outlen )

◆ SSL_get_current_cipher()

__owur const SSL_CIPHER * SSL_get_current_cipher ( const SSL * s)

◆ SSL_get_current_compression()

__owur const COMP_METHOD * SSL_get_current_compression ( const SSL * s)

◆ SSL_get_current_expansion()

__owur const COMP_METHOD * SSL_get_current_expansion ( const SSL * s)

◆ SSL_get_default_passwd_cb()

pem_password_cb * SSL_get_default_passwd_cb ( SSL * s)

◆ SSL_get_default_passwd_cb_userdata()

void * SSL_get_default_passwd_cb_userdata ( SSL * s)

◆ SSL_get_default_timeout()

__owur long SSL_get_default_timeout ( const SSL * s)

◆ SSL_get_early_data_status()

__owur int SSL_get_early_data_status ( const SSL * s)

◆ SSL_get_error()

__owur int SSL_get_error ( const SSL * s,
int ret_code )

◆ SSL_get_ex_data()

void * SSL_get_ex_data ( const SSL * ssl,
int idx )

◆ SSL_get_ex_data_X509_STORE_CTX_idx()

__owur int SSL_get_ex_data_X509_STORE_CTX_idx ( void )

◆ SSL_get_fd()

__owur int SSL_get_fd ( const SSL * s)

◆ SSL_get_finished()

size_t SSL_get_finished ( const SSL * s,
void * buf,
size_t count )

◆ SSL_get_key_update_type()

int SSL_get_key_update_type ( const SSL * s)

◆ SSL_get_max_early_data()

uint32_t SSL_get_max_early_data ( const SSL * s)

◆ SSL_get_num_tickets()

size_t SSL_get_num_tickets ( const SSL * s)

◆ SSL_get_options()

unsigned long SSL_get_options ( const SSL * s)

◆ SSL_get_peer_finished()

size_t SSL_get_peer_finished ( const SSL * s,
void * buf,
size_t count )

◆ SSL_get_pending_cipher()

__owur const SSL_CIPHER * SSL_get_pending_cipher ( const SSL * s)

◆ SSL_get_privatekey()

struct evp_pkey_st * SSL_get_privatekey ( const SSL * ssl)

◆ SSL_get_psk_identity()

const char * SSL_get_psk_identity ( const SSL * s)

◆ SSL_get_psk_identity_hint()

const char * SSL_get_psk_identity_hint ( const SSL * s)

◆ SSL_get_quiet_shutdown()

__owur int SSL_get_quiet_shutdown ( const SSL * ssl)

◆ SSL_get_rbio()

__owur BIO * SSL_get_rbio ( const SSL * s)

◆ SSL_get_read_ahead()

__owur int SSL_get_read_ahead ( const SSL * s)

◆ SSL_get_record_padding_callback_arg()

void * SSL_get_record_padding_callback_arg ( const SSL * ssl)

◆ SSL_get_recv_max_early_data()

uint32_t SSL_get_recv_max_early_data ( const SSL * s)

◆ SSL_get_rfd()

__owur int SSL_get_rfd ( const SSL * s)

◆ SSL_get_security_level()

__owur int SSL_get_security_level ( const SSL * s)

◆ SSL_get_server_random()

__owur size_t SSL_get_server_random ( const SSL * ssl,
unsigned char * out,
size_t outlen )

◆ SSL_get_session()

__owur SSL_SESSION * SSL_get_session ( const SSL * ssl)

◆ SSL_get_shared_ciphers()

__owur char * SSL_get_shared_ciphers ( const SSL * s,
char * buf,
int size )

◆ SSL_get_shutdown()

__owur int SSL_get_shutdown ( const SSL * ssl)

◆ SSL_get_srp_g()

__owur BIGNUM * SSL_get_srp_g ( SSL * s)

◆ SSL_get_srp_N()

__owur BIGNUM * SSL_get_srp_N ( SSL * s)

◆ SSL_get_srp_userinfo()

__owur char * SSL_get_srp_userinfo ( SSL * s)

◆ SSL_get_srp_username()

__owur char * SSL_get_srp_username ( SSL * s)

◆ SSL_get_SSL_CTX()

__owur SSL_CTX * SSL_get_SSL_CTX ( const SSL * ssl)

◆ SSL_get_ssl_method()

__owur const SSL_METHOD * SSL_get_ssl_method ( const SSL * s)

◆ SSL_get_state()

__owur OSSL_HANDSHAKE_STATE SSL_get_state ( const SSL * ssl)

◆ SSL_get_verify_callback()

__owur SSL_verify_cb SSL_get_verify_callback ( const SSL * s)

◆ SSL_get_verify_depth()

__owur int SSL_get_verify_depth ( const SSL * s)

◆ SSL_get_verify_mode()

__owur int SSL_get_verify_mode ( const SSL * s)

◆ SSL_get_verify_result()

__owur long SSL_get_verify_result ( const SSL * ssl)

◆ SSL_get_version()

__owur const char * SSL_get_version ( const SSL * s)

◆ SSL_get_wbio()

__owur BIO * SSL_get_wbio ( const SSL * s)

◆ SSL_get_wfd()

__owur int SSL_get_wfd ( const SSL * s)

◆ SSL_has_matching_session_id()

__owur int SSL_has_matching_session_id ( const SSL * s,
const unsigned char * id,
unsigned int id_len )

◆ SSL_has_pending()

__owur int SSL_has_pending ( const SSL * s)

◆ SSL_in_before()

int SSL_in_before ( const SSL * s)

◆ SSL_in_init()

int SSL_in_init ( const SSL * s)

◆ SSL_is_dtls()

int SSL_is_dtls ( const SSL * s)

◆ SSL_is_init_finished()

int SSL_is_init_finished ( const SSL * s)

◆ SSL_is_server()

__owur int SSL_is_server ( const SSL * s)

◆ SSL_key_update()

int SSL_key_update ( SSL * s,
int updatetype )

◆ SSL_new()

SSL * SSL_new ( SSL_CTX * ctx)

◆ SSL_peek()

__owur int SSL_peek ( SSL * ssl,
void * buf,
int num )

◆ SSL_peek_ex()

__owur int SSL_peek_ex ( SSL * ssl,
void * buf,
size_t num,
size_t * readbytes )

◆ SSL_pending()

__owur int SSL_pending ( const SSL * s)

◆ SSL_read()

__owur int SSL_read ( SSL * ssl,
void * buf,
int num )

◆ SSL_read_early_data()

__owur int SSL_read_early_data ( SSL * s,
void * buf,
size_t num,
size_t * readbytes )

◆ SSL_read_ex()

__owur int SSL_read_ex ( SSL * ssl,
void * buf,
size_t num,
size_t * readbytes )

◆ SSL_renegotiate()

int SSL_renegotiate ( SSL * s)

◆ SSL_renegotiate_abbreviated()

int SSL_renegotiate_abbreviated ( SSL * s)

◆ SSL_renegotiate_pending()

__owur int SSL_renegotiate_pending ( const SSL * s)

◆ SSL_rstate_string()

__owur const char * SSL_rstate_string ( const SSL * s)

◆ SSL_rstate_string_long()

__owur const char * SSL_rstate_string_long ( const SSL * s)

◆ SSL_select_next_proto()

__owur int SSL_select_next_proto ( unsigned char ** out,
unsigned char * outlen,
const unsigned char * in,
unsigned int inlen,
const unsigned char * client,
unsigned int client_len )

◆ SSL_SESSION_dup()

__owur SSL_SESSION * SSL_SESSION_dup ( SSL_SESSION * src)

◆ SSL_SESSION_free()

void SSL_SESSION_free ( SSL_SESSION * ses)

◆ SSL_SESSION_get0_alpn_selected()

void SSL_SESSION_get0_alpn_selected ( const SSL_SESSION * s,
const unsigned char ** alpn,
size_t * len )

◆ SSL_SESSION_get0_cipher()

__owur const SSL_CIPHER * SSL_SESSION_get0_cipher ( const SSL_SESSION * s)

◆ SSL_SESSION_get0_hostname()

__owur const char * SSL_SESSION_get0_hostname ( const SSL_SESSION * s)

◆ SSL_SESSION_get0_id_context()

const unsigned char * SSL_SESSION_get0_id_context ( const SSL_SESSION * s,
unsigned int * len )

◆ SSL_SESSION_get0_peer()

__owur X509 * SSL_SESSION_get0_peer ( SSL_SESSION * s)

◆ SSL_SESSION_get0_ticket()

void SSL_SESSION_get0_ticket ( const SSL_SESSION * s,
const unsigned char ** tick,
size_t * len )

◆ SSL_SESSION_get0_ticket_appdata()

int SSL_SESSION_get0_ticket_appdata ( SSL_SESSION * ss,
void ** data,
size_t * len )

◆ SSL_SESSION_get_compress_id()

__owur unsigned int SSL_SESSION_get_compress_id ( const SSL_SESSION * s)

◆ SSL_SESSION_get_ex_data()

void * SSL_SESSION_get_ex_data ( const SSL_SESSION * ss,
int idx )

◆ SSL_SESSION_get_id()

const unsigned char * SSL_SESSION_get_id ( const SSL_SESSION * s,
unsigned int * len )

◆ SSL_SESSION_get_master_key()

__owur size_t SSL_SESSION_get_master_key ( const SSL_SESSION * sess,
unsigned char * out,
size_t outlen )

◆ SSL_SESSION_get_max_early_data()

__owur uint32_t SSL_SESSION_get_max_early_data ( const SSL_SESSION * s)

◆ SSL_SESSION_get_max_fragment_length()

uint8_t SSL_SESSION_get_max_fragment_length ( const SSL_SESSION * sess)

◆ SSL_SESSION_get_protocol_version()

__owur int SSL_SESSION_get_protocol_version ( const SSL_SESSION * s)

◆ SSL_SESSION_get_ticket_lifetime_hint()

__owur unsigned long SSL_SESSION_get_ticket_lifetime_hint ( const SSL_SESSION * s)

◆ SSL_SESSION_get_time()

__owur long SSL_SESSION_get_time ( const SSL_SESSION * s)

◆ SSL_SESSION_get_timeout()

__owur long SSL_SESSION_get_timeout ( const SSL_SESSION * s)

◆ SSL_SESSION_has_ticket()

__owur int SSL_SESSION_has_ticket ( const SSL_SESSION * s)

◆ SSL_SESSION_is_resumable()

__owur int SSL_SESSION_is_resumable ( const SSL_SESSION * s)

◆ SSL_SESSION_new()

__owur SSL_SESSION * SSL_SESSION_new ( void )

◆ SSL_SESSION_print()

int SSL_SESSION_print ( BIO * fp,
const SSL_SESSION * ses )

◆ SSL_SESSION_print_fp()

int SSL_SESSION_print_fp ( FILE * fp,
const SSL_SESSION * ses )

◆ SSL_SESSION_print_keylog()

int SSL_SESSION_print_keylog ( BIO * bp,
const SSL_SESSION * x )

◆ SSL_session_reused()

__owur int SSL_session_reused ( const SSL * s)

◆ SSL_SESSION_set1_alpn_selected()

__owur int SSL_SESSION_set1_alpn_selected ( SSL_SESSION * s,
const unsigned char * alpn,
size_t len )

◆ SSL_SESSION_set1_hostname()

__owur int SSL_SESSION_set1_hostname ( SSL_SESSION * s,
const char * hostname )

◆ SSL_SESSION_set1_id()

__owur int SSL_SESSION_set1_id ( SSL_SESSION * s,
const unsigned char * sid,
unsigned int sid_len )

◆ SSL_SESSION_set1_id_context()

__owur int SSL_SESSION_set1_id_context ( SSL_SESSION * s,
const unsigned char * sid_ctx,
unsigned int sid_ctx_len )

◆ SSL_SESSION_set1_master_key()

__owur int SSL_SESSION_set1_master_key ( SSL_SESSION * sess,
const unsigned char * in,
size_t len )

◆ SSL_SESSION_set1_ticket_appdata()

int SSL_SESSION_set1_ticket_appdata ( SSL_SESSION * ss,
const void * data,
size_t len )

◆ SSL_SESSION_set_cipher()

__owur int SSL_SESSION_set_cipher ( SSL_SESSION * s,
const SSL_CIPHER * cipher )

◆ SSL_SESSION_set_ex_data()

__owur int SSL_SESSION_set_ex_data ( SSL_SESSION * ss,
int idx,
void * data )

◆ SSL_SESSION_set_max_early_data()

__owur int SSL_SESSION_set_max_early_data ( SSL_SESSION * s,
uint32_t max_early_data )

◆ SSL_SESSION_set_protocol_version()

__owur int SSL_SESSION_set_protocol_version ( SSL_SESSION * s,
int version )

◆ SSL_SESSION_set_time()

__owur long SSL_SESSION_set_time ( SSL_SESSION * s,
long t )

◆ SSL_SESSION_set_timeout()

__owur long SSL_SESSION_set_timeout ( SSL_SESSION * s,
long t )

◆ SSL_SESSION_up_ref()

int SSL_SESSION_up_ref ( SSL_SESSION * ses)

◆ SSL_set0_CA_list()

void SSL_set0_CA_list ( SSL * s,
STACK_OF(X509_NAME) * name_list )

◆ SSL_set0_rbio()

void SSL_set0_rbio ( SSL * s,
BIO * rbio )

◆ SSL_set0_security_ex_data()

void SSL_set0_security_ex_data ( SSL * s,
void * ex )

◆ SSL_set0_wbio()

void SSL_set0_wbio ( SSL * s,
BIO * wbio )

◆ SSL_set1_host()

__owur int SSL_set1_host ( SSL * s,
const char * hostname )

◆ SSL_set1_param()

__owur int SSL_set1_param ( SSL * ssl,
X509_VERIFY_PARAM * vpm )

◆ SSL_set_accept_state()

void SSL_set_accept_state ( SSL * s)

◆ SSL_set_allow_early_data_cb()

void SSL_set_allow_early_data_cb ( SSL * s,
SSL_allow_early_data_cb_fn cb,
void * arg )

◆ SSL_set_alpn_protos()

__owur int SSL_set_alpn_protos ( SSL * ssl,
const unsigned char * protos,
unsigned int protos_len )

◆ SSL_set_bio()

void SSL_set_bio ( SSL * s,
BIO * rbio,
BIO * wbio )

◆ SSL_set_block_padding()

int SSL_set_block_padding ( SSL * ssl,
size_t block_size )

◆ SSL_set_cert_cb()

void SSL_set_cert_cb ( SSL * s,
int(*)(SSL *ssl, void *arg) cb,
void * arg )

◆ SSL_set_cipher_list()

__owur int SSL_set_cipher_list ( SSL * s,
const char * str )

◆ SSL_set_ciphersuites()

__owur int SSL_set_ciphersuites ( SSL * s,
const char * str )

◆ SSL_set_client_CA_list()

void SSL_set_client_CA_list ( SSL * s,
STACK_OF(X509_NAME) * name_list )

◆ SSL_set_connect_state()

void SSL_set_connect_state ( SSL * s)

◆ SSL_set_ct_validation_callback()

int SSL_set_ct_validation_callback ( SSL * s,
ssl_ct_validation_cb callback,
void * arg )

◆ SSL_set_default_passwd_cb()

void SSL_set_default_passwd_cb ( SSL * s,
pem_password_cb * cb )

◆ SSL_set_default_passwd_cb_userdata()

void SSL_set_default_passwd_cb_userdata ( SSL * s,
void * u )

◆ SSL_set_default_read_buffer_len()

void SSL_set_default_read_buffer_len ( SSL * s,
size_t len )

◆ SSL_set_ex_data()

__owur int SSL_set_ex_data ( SSL * ssl,
int idx,
void * data )

◆ SSL_set_fd()

__owur int SSL_set_fd ( SSL * s,
int fd )

◆ SSL_set_generate_session_id()

__owur int SSL_set_generate_session_id ( SSL * s,
GEN_SESSION_CB cb )

◆ SSL_set_hostflags()

void SSL_set_hostflags ( SSL * s,
unsigned int flags )

◆ SSL_set_info_callback()

void SSL_set_info_callback ( SSL * ssl,
void(*)(const SSL *ssl, int type, int val) cb )

◆ SSL_set_max_early_data()

int SSL_set_max_early_data ( SSL * s,
uint32_t max_early_data )

◆ SSL_set_msg_callback()

void SSL_set_msg_callback ( SSL * ssl,
void(*)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg) cb )

◆ SSL_set_not_resumable_session_callback()

void SSL_set_not_resumable_session_callback ( SSL * ssl,
int(*)(SSL *ssl, int is_forward_secure) cb )

◆ SSL_set_num_tickets()

int SSL_set_num_tickets ( SSL * s,
size_t num_tickets )

◆ SSL_set_options()

unsigned long SSL_set_options ( SSL * s,
unsigned long op )

◆ SSL_set_post_handshake_auth()

void SSL_set_post_handshake_auth ( SSL * s,
int val )

◆ SSL_set_psk_client_callback()

void SSL_set_psk_client_callback ( SSL * ssl,
SSL_psk_client_cb_func cb )

◆ SSL_set_psk_find_session_callback()

void SSL_set_psk_find_session_callback ( SSL * s,
SSL_psk_find_session_cb_func cb )

◆ SSL_set_psk_server_callback()

void SSL_set_psk_server_callback ( SSL * ssl,
SSL_psk_server_cb_func cb )

◆ SSL_set_psk_use_session_callback()

void SSL_set_psk_use_session_callback ( SSL * s,
SSL_psk_use_session_cb_func cb )

◆ SSL_set_purpose()

__owur int SSL_set_purpose ( SSL * ssl,
int purpose )

◆ SSL_set_quiet_shutdown()

void SSL_set_quiet_shutdown ( SSL * ssl,
int mode )

◆ SSL_set_read_ahead()

void SSL_set_read_ahead ( SSL * s,
int yes )

◆ SSL_set_record_padding_callback()

void SSL_set_record_padding_callback ( SSL * ssl,
size_t(*)(SSL *ssl, int type, size_t len, void *arg) cb )

◆ SSL_set_record_padding_callback_arg()

void SSL_set_record_padding_callback_arg ( SSL * ssl,
void * arg )

◆ SSL_set_recv_max_early_data()

int SSL_set_recv_max_early_data ( SSL * s,
uint32_t recv_max_early_data )

◆ SSL_set_rfd()

__owur int SSL_set_rfd ( SSL * s,
int fd )

◆ SSL_set_security_callback()

void SSL_set_security_callback ( SSL * s,
int(*)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) cb )

◆ SSL_set_security_level()

void SSL_set_security_level ( SSL * s,
int level )

◆ SSL_set_session()

__owur int SSL_set_session ( SSL * to,
SSL_SESSION * session )

◆ SSL_set_session_id_context()

__owur int SSL_set_session_id_context ( SSL * ssl,
const unsigned char * sid_ctx,
unsigned int sid_ctx_len )

◆ SSL_set_session_secret_cb()

__owur int SSL_set_session_secret_cb ( SSL * s,
tls_session_secret_cb_fn session_secret_cb,
void * arg )

◆ SSL_set_session_ticket_ext()

__owur int SSL_set_session_ticket_ext ( SSL * s,
void * ext_data,
int ext_len )

◆ SSL_set_session_ticket_ext_cb()

__owur int SSL_set_session_ticket_ext_cb ( SSL * s,
tls_session_ticket_ext_cb_fn cb,
void * arg )

◆ SSL_set_shutdown()

void SSL_set_shutdown ( SSL * ssl,
int mode )

◆ SSL_set_srp_server_param()

int SSL_set_srp_server_param ( SSL * s,
const BIGNUM * N,
const BIGNUM * g,
BIGNUM * sa,
BIGNUM * v,
char * info )

◆ SSL_set_srp_server_param_pw()

int SSL_set_srp_server_param_pw ( SSL * s,
const char * user,
const char * pass,
const char * grp )

◆ SSL_set_SSL_CTX()

SSL_CTX * SSL_set_SSL_CTX ( SSL * ssl,
SSL_CTX * ctx )

◆ SSL_set_ssl_method()

__owur int SSL_set_ssl_method ( SSL * s,
const SSL_METHOD * method )

◆ SSL_set_tmp_dh_callback()

void SSL_set_tmp_dh_callback ( SSL * ssl,
DH *(*)(SSL *ssl, int is_export, int keylength) dh )

◆ SSL_set_trust()

__owur int SSL_set_trust ( SSL * ssl,
int trust )

◆ SSL_set_verify()

void SSL_set_verify ( SSL * s,
int mode,
SSL_verify_cb callback )

◆ SSL_set_verify_depth()

void SSL_set_verify_depth ( SSL * s,
int depth )

◆ SSL_set_verify_result()

void SSL_set_verify_result ( SSL * ssl,
long v )

◆ SSL_set_wfd()

__owur int SSL_set_wfd ( SSL * s,
int fd )

◆ SSL_shutdown()

int SSL_shutdown ( SSL * s)

◆ SSL_SRP_CTX_free()

int SSL_SRP_CTX_free ( SSL * ctx)

◆ SSL_SRP_CTX_init()

__owur int SSL_SRP_CTX_init ( SSL * s)

◆ SSL_srp_server_param_with_username()

__owur int SSL_srp_server_param_with_username ( SSL * s,
int * ad )

◆ SSL_state_string()

__owur const char * SSL_state_string ( const SSL * s)

◆ SSL_state_string_long()

__owur const char * SSL_state_string_long ( const SSL * s)

◆ SSL_stateless()

__owur int SSL_stateless ( SSL * s)

◆ SSL_test_functions()

__owur const struct openssl_ssl_test_functions * SSL_test_functions ( void )

◆ SSL_trace()

void SSL_trace ( int write_p,
int version,
int content_type,
const void * buf,
size_t len,
SSL * ssl,
void * arg )

◆ SSL_up_ref()

int SSL_up_ref ( SSL * s)

◆ SSL_use_cert_and_key()

__owur int SSL_use_cert_and_key ( SSL * ssl,
X509 * x509,
EVP_PKEY * privatekey,
STACK_OF(X509) * chain,
int override )

◆ SSL_use_certificate()

__owur int SSL_use_certificate ( SSL * ssl,
X509 * x )

◆ SSL_use_certificate_ASN1()

__owur int SSL_use_certificate_ASN1 ( SSL * ssl,
const unsigned char * d,
int len )

◆ SSL_use_certificate_chain_file()

__owur int SSL_use_certificate_chain_file ( SSL * ssl,
const char * file )

◆ SSL_use_certificate_file()

__owur int SSL_use_certificate_file ( SSL * ssl,
const char * file,
int type )

◆ SSL_use_PrivateKey()

__owur int SSL_use_PrivateKey ( SSL * ssl,
EVP_PKEY * pkey )

◆ SSL_use_PrivateKey_ASN1()

__owur int SSL_use_PrivateKey_ASN1 ( int pk,
SSL * ssl,
const unsigned char * d,
long len )

◆ SSL_use_PrivateKey_file()

__owur int SSL_use_PrivateKey_file ( SSL * ssl,
const char * file,
int type )

◆ SSL_use_psk_identity_hint()

__owur int SSL_use_psk_identity_hint ( SSL * s,
const char * identity_hint )

◆ SSL_use_RSAPrivateKey()

__owur int SSL_use_RSAPrivateKey ( SSL * ssl,
RSA * rsa )

◆ SSL_use_RSAPrivateKey_ASN1()

__owur int SSL_use_RSAPrivateKey_ASN1 ( SSL * ssl,
const unsigned char * d,
long len )

◆ SSL_use_RSAPrivateKey_file()

__owur int SSL_use_RSAPrivateKey_file ( SSL * ssl,
const char * file,
int type )

◆ SSL_verify_client_post_handshake()

__owur int SSL_verify_client_post_handshake ( SSL * s)

◆ SSL_version()

__owur int SSL_version ( const SSL * ssl)

◆ SSL_want()

__owur int SSL_want ( const SSL * s)

◆ SSL_write()

__owur int SSL_write ( SSL * ssl,
const void * buf,
int num )

◆ SSL_write_early_data()

__owur int SSL_write_early_data ( SSL * s,
const void * buf,
size_t num,
size_t * written )

◆ SSL_write_ex()

__owur int SSL_write_ex ( SSL * s,
const void * buf,
size_t num,
size_t * written )

◆ STACK_OF() [1/5]

const STACK_OF ( SCT )

◆ STACK_OF() [2/5]

__owur STACK_OF ( SSL_CIPHER )

◆ STACK_OF() [3/5]

__owur STACK_OF ( SSL_COMP )

◆ STACK_OF() [4/5]

__owur STACK_OF ( X509 ) const

◆ STACK_OF() [5/5]

__owur STACK_OF ( X509_NAME ) const

◆ TLS_client_method()

__owur const SSL_METHOD * TLS_client_method ( void )

◆ TLS_method()

__owur const SSL_METHOD * TLS_method ( void )

◆ TLS_server_method()

__owur const SSL_METHOD * TLS_server_method ( void )

Variable Documentation

◆ SSL_CTX_get_client_cert_cb

int(*)(SSL *ssl, X509 **x509, EVP_PKEY **pkey) SSL_CTX_get_client_cert_cb(SSL_CTX *ctx) ( SSL_CTX * ctx)

Definition at line 736 of file ssl.h.

◆ SSL_CTX_get_info_callback

void(*)(const SSL *ssl, int type, int val) SSL_CTX_get_info_callback(SSL_CTX *ctx) ( SSL_CTX * ctx)

Definition at line 731 of file ssl.h.

◆ SSL_CTX_get_security_callback

int(*)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) SSL_CTX_get_security_callback(const SSL_CTX *ctx) ( const SSL_CTX * ctx)

Definition at line 2346 of file ssl.h.

◆ SSL_CTX_sess_get_get_cb

SSL_SESSION *(*)(struct ssl_st *ssl, const unsigned char *data, int len, int *copy) SSL_CTX_sess_get_get_cb(SSL_CTX *ctx) ( SSL_CTX * ctx)

Definition at line 726 of file ssl.h.

◆ SSL_CTX_sess_get_new_cb

int(*)(struct ssl_st *ssl, SSL_SESSION *sess) SSL_CTX_sess_get_new_cb(SSL_CTX *ctx) ( SSL_CTX * ctx)

Definition at line 712 of file ssl.h.

◆ SSL_CTX_sess_get_remove_cb

void(*)(struct ssl_ctx_st *ctx, SSL_SESSION *sess) SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx) ( SSL_CTX * ctx)

Definition at line 718 of file ssl.h.

◆ SSL_get_info_callback

void(*)(const SSL *ssl, int type, int val) SSL_get_info_callback(const SSL *ssl) ( const SSL * ssl)

Definition at line 1993 of file ssl.h.

◆ SSL_get_security_callback

int(*)(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) SSL_get_security_callback(const SSL *s) ( const SSL * s)

Definition at line 2333 of file ssl.h.

◆ SSL_version_str

const char SSL_version_str[]
extern