OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
tls1.h File Reference
#include <openssl/buffer.h>

Go to the source code of this file.

Classes

struct  tls_session_ticket_ext_st
 

Macros

#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES   0
 
#define TLS1_2_VERSION   0x0303
 
#define TLS1_2_VERSION_MAJOR   0x03
 
#define TLS1_2_VERSION_MINOR   0x03
 
#define TLS1_1_VERSION   0x0302
 
#define TLS1_1_VERSION_MAJOR   0x03
 
#define TLS1_1_VERSION_MINOR   0x02
 
#define TLS1_VERSION   0x0301
 
#define TLS1_VERSION_MAJOR   0x03
 
#define TLS1_VERSION_MINOR   0x01
 
#define TLS1_get_version(s)   ((s->version >> 8) == TLS1_VERSION_MAJOR ? s->version : 0)
 
#define TLS1_get_client_version(s)   ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0)
 
#define TLS1_AD_DECRYPTION_FAILED   21
 
#define TLS1_AD_RECORD_OVERFLOW   22
 
#define TLS1_AD_UNKNOWN_CA   48 /* fatal */
 
#define TLS1_AD_ACCESS_DENIED   49 /* fatal */
 
#define TLS1_AD_DECODE_ERROR   50 /* fatal */
 
#define TLS1_AD_DECRYPT_ERROR   51
 
#define TLS1_AD_EXPORT_RESTRICTION   60 /* fatal */
 
#define TLS1_AD_PROTOCOL_VERSION   70 /* fatal */
 
#define TLS1_AD_INSUFFICIENT_SECURITY   71 /* fatal */
 
#define TLS1_AD_INTERNAL_ERROR   80 /* fatal */
 
#define TLS1_AD_USER_CANCELLED   90
 
#define TLS1_AD_NO_RENEGOTIATION   100
 
#define TLS1_AD_UNSUPPORTED_EXTENSION   110
 
#define TLS1_AD_CERTIFICATE_UNOBTAINABLE   111
 
#define TLS1_AD_UNRECOGNIZED_NAME   112
 
#define TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE   113
 
#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE   114
 
#define TLS1_AD_UNKNOWN_PSK_IDENTITY   115 /* fatal */
 
#define TLSEXT_TYPE_server_name   0
 
#define TLSEXT_TYPE_max_fragment_length   1
 
#define TLSEXT_TYPE_client_certificate_url   2
 
#define TLSEXT_TYPE_trusted_ca_keys   3
 
#define TLSEXT_TYPE_truncated_hmac   4
 
#define TLSEXT_TYPE_status_request   5
 
#define TLSEXT_TYPE_user_mapping   6
 
#define TLSEXT_TYPE_client_authz   7
 
#define TLSEXT_TYPE_server_authz   8
 
#define TLSEXT_TYPE_cert_type   9
 
#define TLSEXT_TYPE_elliptic_curves   10
 
#define TLSEXT_TYPE_ec_point_formats   11
 
#define TLSEXT_TYPE_srp   12
 
#define TLSEXT_TYPE_signature_algorithms   13
 
#define TLSEXT_TYPE_use_srtp   14
 
#define TLSEXT_TYPE_heartbeat   15
 
#define TLSEXT_TYPE_session_ticket   35
 
#define TLSEXT_TYPE_renegotiate   0xff01
 
#define TLSEXT_TYPE_next_proto_neg   13172
 
#define TLSEXT_NAMETYPE_host_name   0
 
#define TLSEXT_STATUSTYPE_ocsp   1
 
#define TLSEXT_ECPOINTFORMAT_first   0
 
#define TLSEXT_ECPOINTFORMAT_uncompressed   0
 
#define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime   1
 
#define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2   2
 
#define TLSEXT_ECPOINTFORMAT_last   2
 
#define TLSEXT_signature_anonymous   0
 
#define TLSEXT_signature_rsa   1
 
#define TLSEXT_signature_dsa   2
 
#define TLSEXT_signature_ecdsa   3
 
#define TLSEXT_hash_none   0
 
#define TLSEXT_hash_md5   1
 
#define TLSEXT_hash_sha1   2
 
#define TLSEXT_hash_sha224   3
 
#define TLSEXT_hash_sha256   4
 
#define TLSEXT_hash_sha384   5
 
#define TLSEXT_hash_sha512   6
 
#define TLSEXT_MAXLEN_host_name   255
 
#define SSL_set_tlsext_host_name(s, name)   SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name)
 
#define SSL_set_tlsext_debug_callback(ssl, cb)   SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
 
#define SSL_set_tlsext_debug_arg(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg)
 
#define SSL_set_tlsext_status_type(ssl, type)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL)
 
#define SSL_get_tlsext_status_exts(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
 
#define SSL_set_tlsext_status_exts(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
 
#define SSL_get_tlsext_status_ids(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)
 
#define SSL_set_tlsext_status_ids(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)
 
#define SSL_get_tlsext_status_ocsp_resp(ssl, arg)   SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP,0, (void *)arg)
 
#define SSL_set_tlsext_status_ocsp_resp(ssl, arg, arglen)   SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP,arglen, (void *)arg)
 
#define SSL_CTX_set_tlsext_servername_callback(ctx, cb)   SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)
 
#define SSL_TLSEXT_ERR_OK   0
 
#define SSL_TLSEXT_ERR_ALERT_WARNING   1
 
#define SSL_TLSEXT_ERR_ALERT_FATAL   2
 
#define SSL_TLSEXT_ERR_NOACK   3
 
#define SSL_CTX_set_tlsext_servername_arg(ctx, arg)   SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG,0, (void *)arg)
 
#define SSL_CTX_get_tlsext_ticket_keys(ctx, keys, keylen)   SSL_CTX_ctrl((ctx),SSL_CTRL_GET_TLSEXT_TICKET_KEYS,(keylen),(keys))
 
#define SSL_CTX_set_tlsext_ticket_keys(ctx, keys, keylen)   SSL_CTX_ctrl((ctx),SSL_CTRL_SET_TLSEXT_TICKET_KEYS,(keylen),(keys))
 
#define SSL_CTX_set_tlsext_status_cb(ssl, cb)   SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)
 
#define SSL_CTX_set_tlsext_status_arg(ssl, arg)   SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0, (void *)arg)
 
#define SSL_set_tlsext_opaque_prf_input(s, src, len)   SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT, len, src)
 
#define SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb)   SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB, (void (*)(void))cb)
 
#define SSL_CTX_set_tlsext_opaque_prf_input_callback_arg(ctx, arg)   SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB_ARG, 0, arg)
 
#define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb)   SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
 
#define SSL_TLSEXT_HB_ENABLED   0x01
 
#define SSL_TLSEXT_HB_DONT_SEND_REQUESTS   0x02
 
#define SSL_TLSEXT_HB_DONT_RECV_REQUESTS   0x04
 
#define SSL_get_tlsext_heartbeat_pending(ssl)   SSL_ctrl((ssl),SSL_CTRL_GET_TLS_EXT_HEARTBEAT_PENDING,0,NULL)
 
#define SSL_set_tlsext_heartbeat_no_requests(ssl, arg)   SSL_ctrl((ssl),SSL_CTRL_SET_TLS_EXT_HEARTBEAT_NO_REQUESTS,arg,NULL)
 
#define TLS1_CK_PSK_WITH_RC4_128_SHA   0x0300008A
 
#define TLS1_CK_PSK_WITH_3DES_EDE_CBC_SHA   0x0300008B
 
#define TLS1_CK_PSK_WITH_AES_128_CBC_SHA   0x0300008C
 
#define TLS1_CK_PSK_WITH_AES_256_CBC_SHA   0x0300008D
 
#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_MD5   0x03000060 /* not in ID */
 
#define TLS1_CK_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   0x03000061 /* not in ID */
 
#define TLS1_CK_RSA_EXPORT1024_WITH_DES_CBC_SHA   0x03000062
 
#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   0x03000063
 
#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_SHA   0x03000064
 
#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   0x03000065
 
#define TLS1_CK_DHE_DSS_WITH_RC4_128_SHA   0x03000066
 
#define TLS1_CK_RSA_WITH_AES_128_SHA   0x0300002F
 
#define TLS1_CK_DH_DSS_WITH_AES_128_SHA   0x03000030
 
#define TLS1_CK_DH_RSA_WITH_AES_128_SHA   0x03000031
 
#define TLS1_CK_DHE_DSS_WITH_AES_128_SHA   0x03000032
 
#define TLS1_CK_DHE_RSA_WITH_AES_128_SHA   0x03000033
 
#define TLS1_CK_ADH_WITH_AES_128_SHA   0x03000034
 
#define TLS1_CK_RSA_WITH_AES_256_SHA   0x03000035
 
#define TLS1_CK_DH_DSS_WITH_AES_256_SHA   0x03000036
 
#define TLS1_CK_DH_RSA_WITH_AES_256_SHA   0x03000037
 
#define TLS1_CK_DHE_DSS_WITH_AES_256_SHA   0x03000038
 
#define TLS1_CK_DHE_RSA_WITH_AES_256_SHA   0x03000039
 
#define TLS1_CK_ADH_WITH_AES_256_SHA   0x0300003A
 
#define TLS1_CK_RSA_WITH_NULL_SHA256   0x0300003B
 
#define TLS1_CK_RSA_WITH_AES_128_SHA256   0x0300003C
 
#define TLS1_CK_RSA_WITH_AES_256_SHA256   0x0300003D
 
#define TLS1_CK_DH_DSS_WITH_AES_128_SHA256   0x0300003E
 
#define TLS1_CK_DH_RSA_WITH_AES_128_SHA256   0x0300003F
 
#define TLS1_CK_DHE_DSS_WITH_AES_128_SHA256   0x03000040
 
#define TLS1_CK_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000041
 
#define TLS1_CK_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000042
 
#define TLS1_CK_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000043
 
#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000044
 
#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000045
 
#define TLS1_CK_ADH_WITH_CAMELLIA_128_CBC_SHA   0x03000046
 
#define TLS1_CK_DHE_RSA_WITH_AES_128_SHA256   0x03000067
 
#define TLS1_CK_DH_DSS_WITH_AES_256_SHA256   0x03000068
 
#define TLS1_CK_DH_RSA_WITH_AES_256_SHA256   0x03000069
 
#define TLS1_CK_DHE_DSS_WITH_AES_256_SHA256   0x0300006A
 
#define TLS1_CK_DHE_RSA_WITH_AES_256_SHA256   0x0300006B
 
#define TLS1_CK_ADH_WITH_AES_128_SHA256   0x0300006C
 
#define TLS1_CK_ADH_WITH_AES_256_SHA256   0x0300006D
 
#define TLS1_CK_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000084
 
#define TLS1_CK_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000085
 
#define TLS1_CK_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000086
 
#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000087
 
#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000088
 
#define TLS1_CK_ADH_WITH_CAMELLIA_256_CBC_SHA   0x03000089
 
#define TLS1_CK_RSA_WITH_SEED_SHA   0x03000096
 
#define TLS1_CK_DH_DSS_WITH_SEED_SHA   0x03000097
 
#define TLS1_CK_DH_RSA_WITH_SEED_SHA   0x03000098
 
#define TLS1_CK_DHE_DSS_WITH_SEED_SHA   0x03000099
 
#define TLS1_CK_DHE_RSA_WITH_SEED_SHA   0x0300009A
 
#define TLS1_CK_ADH_WITH_SEED_SHA   0x0300009B
 
#define TLS1_CK_RSA_WITH_AES_128_GCM_SHA256   0x0300009C
 
#define TLS1_CK_RSA_WITH_AES_256_GCM_SHA384   0x0300009D
 
#define TLS1_CK_DHE_RSA_WITH_AES_128_GCM_SHA256   0x0300009E
 
#define TLS1_CK_DHE_RSA_WITH_AES_256_GCM_SHA384   0x0300009F
 
#define TLS1_CK_DH_RSA_WITH_AES_128_GCM_SHA256   0x030000A0
 
#define TLS1_CK_DH_RSA_WITH_AES_256_GCM_SHA384   0x030000A1
 
#define TLS1_CK_DHE_DSS_WITH_AES_128_GCM_SHA256   0x030000A2
 
#define TLS1_CK_DHE_DSS_WITH_AES_256_GCM_SHA384   0x030000A3
 
#define TLS1_CK_DH_DSS_WITH_AES_128_GCM_SHA256   0x030000A4
 
#define TLS1_CK_DH_DSS_WITH_AES_256_GCM_SHA384   0x030000A5
 
#define TLS1_CK_ADH_WITH_AES_128_GCM_SHA256   0x030000A6
 
#define TLS1_CK_ADH_WITH_AES_256_GCM_SHA384   0x030000A7
 
#define TLS1_CK_ECDH_ECDSA_WITH_NULL_SHA   0x0300C001
 
#define TLS1_CK_ECDH_ECDSA_WITH_RC4_128_SHA   0x0300C002
 
#define TLS1_CK_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C003
 
#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_CBC_SHA   0x0300C004
 
#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_CBC_SHA   0x0300C005
 
#define TLS1_CK_ECDHE_ECDSA_WITH_NULL_SHA   0x0300C006
 
#define TLS1_CK_ECDHE_ECDSA_WITH_RC4_128_SHA   0x0300C007
 
#define TLS1_CK_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C008
 
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   0x0300C009
 
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   0x0300C00A
 
#define TLS1_CK_ECDH_RSA_WITH_NULL_SHA   0x0300C00B
 
#define TLS1_CK_ECDH_RSA_WITH_RC4_128_SHA   0x0300C00C
 
#define TLS1_CK_ECDH_RSA_WITH_DES_192_CBC3_SHA   0x0300C00D
 
#define TLS1_CK_ECDH_RSA_WITH_AES_128_CBC_SHA   0x0300C00E
 
#define TLS1_CK_ECDH_RSA_WITH_AES_256_CBC_SHA   0x0300C00F
 
#define TLS1_CK_ECDHE_RSA_WITH_NULL_SHA   0x0300C010
 
#define TLS1_CK_ECDHE_RSA_WITH_RC4_128_SHA   0x0300C011
 
#define TLS1_CK_ECDHE_RSA_WITH_DES_192_CBC3_SHA   0x0300C012
 
#define TLS1_CK_ECDHE_RSA_WITH_AES_128_CBC_SHA   0x0300C013
 
#define TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA   0x0300C014
 
#define TLS1_CK_ECDH_anon_WITH_NULL_SHA   0x0300C015
 
#define TLS1_CK_ECDH_anon_WITH_RC4_128_SHA   0x0300C016
 
#define TLS1_CK_ECDH_anon_WITH_DES_192_CBC3_SHA   0x0300C017
 
#define TLS1_CK_ECDH_anon_WITH_AES_128_CBC_SHA   0x0300C018
 
#define TLS1_CK_ECDH_anon_WITH_AES_256_CBC_SHA   0x0300C019
 
#define TLS1_CK_SRP_SHA_WITH_3DES_EDE_CBC_SHA   0x0300C01A
 
#define TLS1_CK_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA   0x0300C01B
 
#define TLS1_CK_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA   0x0300C01C
 
#define TLS1_CK_SRP_SHA_WITH_AES_128_CBC_SHA   0x0300C01D
 
#define TLS1_CK_SRP_SHA_RSA_WITH_AES_128_CBC_SHA   0x0300C01E
 
#define TLS1_CK_SRP_SHA_DSS_WITH_AES_128_CBC_SHA   0x0300C01F
 
#define TLS1_CK_SRP_SHA_WITH_AES_256_CBC_SHA   0x0300C020
 
#define TLS1_CK_SRP_SHA_RSA_WITH_AES_256_CBC_SHA   0x0300C021
 
#define TLS1_CK_SRP_SHA_DSS_WITH_AES_256_CBC_SHA   0x0300C022
 
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_SHA256   0x0300C023
 
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_SHA384   0x0300C024
 
#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_SHA256   0x0300C025
 
#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_SHA384   0x0300C026
 
#define TLS1_CK_ECDHE_RSA_WITH_AES_128_SHA256   0x0300C027
 
#define TLS1_CK_ECDHE_RSA_WITH_AES_256_SHA384   0x0300C028
 
#define TLS1_CK_ECDH_RSA_WITH_AES_128_SHA256   0x0300C029
 
#define TLS1_CK_ECDH_RSA_WITH_AES_256_SHA384   0x0300C02A
 
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   0x0300C02B
 
#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   0x0300C02C
 
#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_GCM_SHA256   0x0300C02D
 
#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_GCM_SHA384   0x0300C02E
 
#define TLS1_CK_ECDHE_RSA_WITH_AES_128_GCM_SHA256   0x0300C02F
 
#define TLS1_CK_ECDHE_RSA_WITH_AES_256_GCM_SHA384   0x0300C030
 
#define TLS1_CK_ECDH_RSA_WITH_AES_128_GCM_SHA256   0x0300C031
 
#define TLS1_CK_ECDH_RSA_WITH_AES_256_GCM_SHA384   0x0300C032
 
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_MD5   "EXP1024-RC4-MD5"
 
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   "EXP1024-RC2-CBC-MD5"
 
#define TLS1_TXT_RSA_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DES-CBC-SHA"
 
#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DHE-DSS-DES-CBC-SHA"
 
#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-RC4-SHA"
 
#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-DHE-DSS-RC4-SHA"
 
#define TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA   "DHE-DSS-RC4-SHA"
 
#define TLS1_TXT_RSA_WITH_AES_128_SHA   "AES128-SHA"
 
#define TLS1_TXT_DH_DSS_WITH_AES_128_SHA   "DH-DSS-AES128-SHA"
 
#define TLS1_TXT_DH_RSA_WITH_AES_128_SHA   "DH-RSA-AES128-SHA"
 
#define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA   "DHE-DSS-AES128-SHA"
 
#define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA   "DHE-RSA-AES128-SHA"
 
#define TLS1_TXT_ADH_WITH_AES_128_SHA   "ADH-AES128-SHA"
 
#define TLS1_TXT_RSA_WITH_AES_256_SHA   "AES256-SHA"
 
#define TLS1_TXT_DH_DSS_WITH_AES_256_SHA   "DH-DSS-AES256-SHA"
 
#define TLS1_TXT_DH_RSA_WITH_AES_256_SHA   "DH-RSA-AES256-SHA"
 
#define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA   "DHE-DSS-AES256-SHA"
 
#define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA   "DHE-RSA-AES256-SHA"
 
#define TLS1_TXT_ADH_WITH_AES_256_SHA   "ADH-AES256-SHA"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA   "ECDH-ECDSA-NULL-SHA"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA   "ECDH-ECDSA-RC4-SHA"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   "ECDH-ECDSA-DES-CBC3-SHA"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA   "ECDH-ECDSA-AES128-SHA"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA   "ECDH-ECDSA-AES256-SHA"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA   "ECDHE-ECDSA-NULL-SHA"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA   "ECDHE-ECDSA-RC4-SHA"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   "ECDHE-ECDSA-DES-CBC3-SHA"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   "ECDHE-ECDSA-AES128-SHA"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   "ECDHE-ECDSA-AES256-SHA"
 
#define TLS1_TXT_ECDH_RSA_WITH_NULL_SHA   "ECDH-RSA-NULL-SHA"
 
#define TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA   "ECDH-RSA-RC4-SHA"
 
#define TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA   "ECDH-RSA-DES-CBC3-SHA"
 
#define TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA   "ECDH-RSA-AES128-SHA"
 
#define TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA   "ECDH-RSA-AES256-SHA"
 
#define TLS1_TXT_ECDHE_RSA_WITH_NULL_SHA   "ECDHE-RSA-NULL-SHA"
 
#define TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA   "ECDHE-RSA-RC4-SHA"
 
#define TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA   "ECDHE-RSA-DES-CBC3-SHA"
 
#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA   "ECDHE-RSA-AES128-SHA"
 
#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA   "ECDHE-RSA-AES256-SHA"
 
#define TLS1_TXT_ECDH_anon_WITH_NULL_SHA   "AECDH-NULL-SHA"
 
#define TLS1_TXT_ECDH_anon_WITH_RC4_128_SHA   "AECDH-RC4-SHA"
 
#define TLS1_TXT_ECDH_anon_WITH_DES_192_CBC3_SHA   "AECDH-DES-CBC3-SHA"
 
#define TLS1_TXT_ECDH_anon_WITH_AES_128_CBC_SHA   "AECDH-AES128-SHA"
 
#define TLS1_TXT_ECDH_anon_WITH_AES_256_CBC_SHA   "AECDH-AES256-SHA"
 
#define TLS1_TXT_PSK_WITH_RC4_128_SHA   "PSK-RC4-SHA"
 
#define TLS1_TXT_PSK_WITH_3DES_EDE_CBC_SHA   "PSK-3DES-EDE-CBC-SHA"
 
#define TLS1_TXT_PSK_WITH_AES_128_CBC_SHA   "PSK-AES128-CBC-SHA"
 
#define TLS1_TXT_PSK_WITH_AES_256_CBC_SHA   "PSK-AES256-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_WITH_3DES_EDE_CBC_SHA   "SRP-3DES-EDE-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA   "SRP-RSA-3DES-EDE-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA   "SRP-DSS-3DES-EDE-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_WITH_AES_128_CBC_SHA   "SRP-AES-128-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_RSA_WITH_AES_128_CBC_SHA   "SRP-RSA-AES-128-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_DSS_WITH_AES_128_CBC_SHA   "SRP-DSS-AES-128-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_WITH_AES_256_CBC_SHA   "SRP-AES-256-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_RSA_WITH_AES_256_CBC_SHA   "SRP-RSA-AES-256-CBC-SHA"
 
#define TLS1_TXT_SRP_SHA_DSS_WITH_AES_256_CBC_SHA   "SRP-DSS-AES-256-CBC-SHA"
 
#define TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA   "CAMELLIA128-SHA"
 
#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   "DH-DSS-CAMELLIA128-SHA"
 
#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   "DH-RSA-CAMELLIA128-SHA"
 
#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   "DHE-DSS-CAMELLIA128-SHA"
 
#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   "DHE-RSA-CAMELLIA128-SHA"
 
#define TLS1_TXT_ADH_WITH_CAMELLIA_128_CBC_SHA   "ADH-CAMELLIA128-SHA"
 
#define TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA   "CAMELLIA256-SHA"
 
#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   "DH-DSS-CAMELLIA256-SHA"
 
#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   "DH-RSA-CAMELLIA256-SHA"
 
#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   "DHE-DSS-CAMELLIA256-SHA"
 
#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   "DHE-RSA-CAMELLIA256-SHA"
 
#define TLS1_TXT_ADH_WITH_CAMELLIA_256_CBC_SHA   "ADH-CAMELLIA256-SHA"
 
#define TLS1_TXT_RSA_WITH_SEED_SHA   "SEED-SHA"
 
#define TLS1_TXT_DH_DSS_WITH_SEED_SHA   "DH-DSS-SEED-SHA"
 
#define TLS1_TXT_DH_RSA_WITH_SEED_SHA   "DH-RSA-SEED-SHA"
 
#define TLS1_TXT_DHE_DSS_WITH_SEED_SHA   "DHE-DSS-SEED-SHA"
 
#define TLS1_TXT_DHE_RSA_WITH_SEED_SHA   "DHE-RSA-SEED-SHA"
 
#define TLS1_TXT_ADH_WITH_SEED_SHA   "ADH-SEED-SHA"
 
#define TLS1_TXT_RSA_WITH_NULL_SHA256   "NULL-SHA256"
 
#define TLS1_TXT_RSA_WITH_AES_128_SHA256   "AES128-SHA256"
 
#define TLS1_TXT_RSA_WITH_AES_256_SHA256   "AES256-SHA256"
 
#define TLS1_TXT_DH_DSS_WITH_AES_128_SHA256   "DH-DSS-AES128-SHA256"
 
#define TLS1_TXT_DH_RSA_WITH_AES_128_SHA256   "DH-RSA-AES128-SHA256"
 
#define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA256   "DHE-DSS-AES128-SHA256"
 
#define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA256   "DHE-RSA-AES128-SHA256"
 
#define TLS1_TXT_DH_DSS_WITH_AES_256_SHA256   "DH-DSS-AES256-SHA256"
 
#define TLS1_TXT_DH_RSA_WITH_AES_256_SHA256   "DH-RSA-AES256-SHA256"
 
#define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA256   "DHE-DSS-AES256-SHA256"
 
#define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA256   "DHE-RSA-AES256-SHA256"
 
#define TLS1_TXT_ADH_WITH_AES_128_SHA256   "ADH-AES128-SHA256"
 
#define TLS1_TXT_ADH_WITH_AES_256_SHA256   "ADH-AES256-SHA256"
 
#define TLS1_TXT_RSA_WITH_AES_128_GCM_SHA256   "AES128-GCM-SHA256"
 
#define TLS1_TXT_RSA_WITH_AES_256_GCM_SHA384   "AES256-GCM-SHA384"
 
#define TLS1_TXT_DHE_RSA_WITH_AES_128_GCM_SHA256   "DHE-RSA-AES128-GCM-SHA256"
 
#define TLS1_TXT_DHE_RSA_WITH_AES_256_GCM_SHA384   "DHE-RSA-AES256-GCM-SHA384"
 
#define TLS1_TXT_DH_RSA_WITH_AES_128_GCM_SHA256   "DH-RSA-AES128-GCM-SHA256"
 
#define TLS1_TXT_DH_RSA_WITH_AES_256_GCM_SHA384   "DH-RSA-AES256-GCM-SHA384"
 
#define TLS1_TXT_DHE_DSS_WITH_AES_128_GCM_SHA256   "DHE-DSS-AES128-GCM-SHA256"
 
#define TLS1_TXT_DHE_DSS_WITH_AES_256_GCM_SHA384   "DHE-DSS-AES256-GCM-SHA384"
 
#define TLS1_TXT_DH_DSS_WITH_AES_128_GCM_SHA256   "DH-DSS-AES128-GCM-SHA256"
 
#define TLS1_TXT_DH_DSS_WITH_AES_256_GCM_SHA384   "DH-DSS-AES256-GCM-SHA384"
 
#define TLS1_TXT_ADH_WITH_AES_128_GCM_SHA256   "ADH-AES128-GCM-SHA256"
 
#define TLS1_TXT_ADH_WITH_AES_256_GCM_SHA384   "ADH-AES256-GCM-SHA384"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_SHA256   "ECDHE-ECDSA-AES128-SHA256"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_SHA384   "ECDHE-ECDSA-AES256-SHA384"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_SHA256   "ECDH-ECDSA-AES128-SHA256"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_SHA384   "ECDH-ECDSA-AES256-SHA384"
 
#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_SHA256   "ECDHE-RSA-AES128-SHA256"
 
#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_SHA384   "ECDHE-RSA-AES256-SHA384"
 
#define TLS1_TXT_ECDH_RSA_WITH_AES_128_SHA256   "ECDH-RSA-AES128-SHA256"
 
#define TLS1_TXT_ECDH_RSA_WITH_AES_256_SHA384   "ECDH-RSA-AES256-SHA384"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   "ECDHE-ECDSA-AES128-GCM-SHA256"
 
#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   "ECDHE-ECDSA-AES256-GCM-SHA384"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_GCM_SHA256   "ECDH-ECDSA-AES128-GCM-SHA256"
 
#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_GCM_SHA384   "ECDH-ECDSA-AES256-GCM-SHA384"
 
#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256   "ECDHE-RSA-AES128-GCM-SHA256"
 
#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384   "ECDHE-RSA-AES256-GCM-SHA384"
 
#define TLS1_TXT_ECDH_RSA_WITH_AES_128_GCM_SHA256   "ECDH-RSA-AES128-GCM-SHA256"
 
#define TLS1_TXT_ECDH_RSA_WITH_AES_256_GCM_SHA384   "ECDH-RSA-AES256-GCM-SHA384"
 
#define TLS_CT_RSA_SIGN   1
 
#define TLS_CT_DSS_SIGN   2
 
#define TLS_CT_RSA_FIXED_DH   3
 
#define TLS_CT_DSS_FIXED_DH   4
 
#define TLS_CT_ECDSA_SIGN   64
 
#define TLS_CT_RSA_FIXED_ECDH   65
 
#define TLS_CT_ECDSA_FIXED_ECDH   66
 
#define TLS_CT_GOST94_SIGN   21
 
#define TLS_CT_GOST01_SIGN   22
 
#define TLS_CT_NUMBER   9
 
#define TLS1_FINISH_MAC_LENGTH   12
 
#define TLS_MD_MAX_CONST_SIZE   20
 
#define TLS_MD_CLIENT_FINISH_CONST   "client finished"
 
#define TLS_MD_CLIENT_FINISH_CONST_SIZE   15
 
#define TLS_MD_SERVER_FINISH_CONST   "server finished"
 
#define TLS_MD_SERVER_FINISH_CONST_SIZE   15
 
#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"
 
#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16
 
#define TLS_MD_KEY_EXPANSION_CONST   "key expansion"
 
#define TLS_MD_KEY_EXPANSION_CONST_SIZE   13
 
#define TLS_MD_CLIENT_WRITE_KEY_CONST   "client write key"
 
#define TLS_MD_CLIENT_WRITE_KEY_CONST_SIZE   16
 
#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"
 
#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16
 
#define TLS_MD_IV_BLOCK_CONST   "IV block"
 
#define TLS_MD_IV_BLOCK_CONST_SIZE   8
 
#define TLS_MD_MASTER_SECRET_CONST   "master secret"
 
#define TLS_MD_MASTER_SECRET_CONST_SIZE   13
 

Functions

const char * SSL_get_servername (const SSL *s, const int type)
 
int SSL_get_servername_type (const SSL *s)
 
int SSL_export_keying_material (SSL *s, unsigned char *out, size_t olen, const char *label, size_t llen, const unsigned char *p, size_t plen, int use_context)
 

Macro Definition Documentation

#define SSL_CTX_get_tlsext_ticket_keys (   ctx,
  keys,
  keylen 
)    SSL_CTX_ctrl((ctx),SSL_CTRL_GET_TLSEXT_TICKET_KEYS,(keylen),(keys))

Definition at line 336 of file tls1.h.

#define SSL_CTX_set_tlsext_opaque_prf_input_callback (   ctx,
  cb 
)    SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB, (void (*)(void))cb)

Definition at line 349 of file tls1.h.

#define SSL_CTX_set_tlsext_opaque_prf_input_callback_arg (   ctx,
  arg 
)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB_ARG, 0, arg)

Definition at line 351 of file tls1.h.

#define SSL_CTX_set_tlsext_servername_arg (   ctx,
  arg 
)    SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG,0, (void *)arg)

Definition at line 333 of file tls1.h.

#define SSL_CTX_set_tlsext_servername_callback (   ctx,
  cb 
)    SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb)

Definition at line 325 of file tls1.h.

#define SSL_CTX_set_tlsext_status_arg (   ssl,
  arg 
)    SSL_CTX_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG,0, (void *)arg)

Definition at line 344 of file tls1.h.

#define SSL_CTX_set_tlsext_status_cb (   ssl,
  cb 
)    SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb)

Definition at line 341 of file tls1.h.

#define SSL_CTX_set_tlsext_ticket_key_cb (   ssl,
  cb 
)    SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)

Definition at line 354 of file tls1.h.

#define SSL_CTX_set_tlsext_ticket_keys (   ctx,
  keys,
  keylen 
)    SSL_CTX_ctrl((ctx),SSL_CTRL_SET_TLSEXT_TICKET_KEYS,(keylen),(keys))

Definition at line 338 of file tls1.h.

#define SSL_get_tlsext_heartbeat_pending (   ssl)    SSL_ctrl((ssl),SSL_CTRL_GET_TLS_EXT_HEARTBEAT_PENDING,0,NULL)

Definition at line 362 of file tls1.h.

#define SSL_get_tlsext_status_exts (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)

Definition at line 307 of file tls1.h.

#define SSL_get_tlsext_status_ids (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)

Definition at line 313 of file tls1.h.

#define SSL_get_tlsext_status_ocsp_resp (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP,0, (void *)arg)

Definition at line 319 of file tls1.h.

#define SSL_set_tlsext_debug_arg (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg)

Definition at line 301 of file tls1.h.

#define SSL_set_tlsext_debug_callback (   ssl,
  cb 
)    SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)

Definition at line 298 of file tls1.h.

#define SSL_set_tlsext_heartbeat_no_requests (   ssl,
  arg 
)    SSL_ctrl((ssl),SSL_CTRL_SET_TLS_EXT_HEARTBEAT_NO_REQUESTS,arg,NULL)

Definition at line 364 of file tls1.h.

#define SSL_set_tlsext_host_name (   s,
  name 
)    SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name)

Definition at line 295 of file tls1.h.

#define SSL_set_tlsext_opaque_prf_input (   s,
  src,
  len 
)    SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT, len, src)

Definition at line 347 of file tls1.h.

#define SSL_set_tlsext_status_exts (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)

Definition at line 310 of file tls1.h.

#define SSL_set_tlsext_status_ids (   ssl,
  arg 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg)

Definition at line 316 of file tls1.h.

#define SSL_set_tlsext_status_ocsp_resp (   ssl,
  arg,
  arglen 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP,arglen, (void *)arg)

Definition at line 322 of file tls1.h.

#define SSL_set_tlsext_status_type (   ssl,
  type 
)    SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL)

Definition at line 304 of file tls1.h.

#define SSL_TLSEXT_ERR_ALERT_FATAL   2

Definition at line 330 of file tls1.h.

#define SSL_TLSEXT_ERR_ALERT_WARNING   1

Definition at line 329 of file tls1.h.

#define SSL_TLSEXT_ERR_NOACK   3

Definition at line 331 of file tls1.h.

#define SSL_TLSEXT_ERR_OK   0

Definition at line 328 of file tls1.h.

#define SSL_TLSEXT_HB_DONT_RECV_REQUESTS   0x04

Definition at line 360 of file tls1.h.

#define SSL_TLSEXT_HB_DONT_SEND_REQUESTS   0x02

Definition at line 359 of file tls1.h.

#define SSL_TLSEXT_HB_ENABLED   0x01

Definition at line 358 of file tls1.h.

#define TLS1_1_VERSION   0x0302

Definition at line 166 of file tls1.h.

#define TLS1_1_VERSION_MAJOR   0x03

Definition at line 167 of file tls1.h.

#define TLS1_1_VERSION_MINOR   0x02

Definition at line 168 of file tls1.h.

#define TLS1_2_VERSION   0x0303

Definition at line 162 of file tls1.h.

#define TLS1_2_VERSION_MAJOR   0x03

Definition at line 163 of file tls1.h.

#define TLS1_2_VERSION_MINOR   0x03

Definition at line 164 of file tls1.h.

#define TLS1_AD_ACCESS_DENIED   49 /* fatal */

Definition at line 183 of file tls1.h.

#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE   114

Definition at line 197 of file tls1.h.

#define TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE   113

Definition at line 196 of file tls1.h.

#define TLS1_AD_CERTIFICATE_UNOBTAINABLE   111

Definition at line 194 of file tls1.h.

#define TLS1_AD_DECODE_ERROR   50 /* fatal */

Definition at line 184 of file tls1.h.

#define TLS1_AD_DECRYPT_ERROR   51

Definition at line 185 of file tls1.h.

#define TLS1_AD_DECRYPTION_FAILED   21

Definition at line 180 of file tls1.h.

#define TLS1_AD_EXPORT_RESTRICTION   60 /* fatal */

Definition at line 186 of file tls1.h.

#define TLS1_AD_INSUFFICIENT_SECURITY   71 /* fatal */

Definition at line 188 of file tls1.h.

#define TLS1_AD_INTERNAL_ERROR   80 /* fatal */

Definition at line 189 of file tls1.h.

#define TLS1_AD_NO_RENEGOTIATION   100

Definition at line 191 of file tls1.h.

#define TLS1_AD_PROTOCOL_VERSION   70 /* fatal */

Definition at line 187 of file tls1.h.

#define TLS1_AD_RECORD_OVERFLOW   22

Definition at line 181 of file tls1.h.

#define TLS1_AD_UNKNOWN_CA   48 /* fatal */

Definition at line 182 of file tls1.h.

#define TLS1_AD_UNKNOWN_PSK_IDENTITY   115 /* fatal */

Definition at line 198 of file tls1.h.

#define TLS1_AD_UNRECOGNIZED_NAME   112

Definition at line 195 of file tls1.h.

#define TLS1_AD_UNSUPPORTED_EXTENSION   110

Definition at line 193 of file tls1.h.

#define TLS1_AD_USER_CANCELLED   90

Definition at line 190 of file tls1.h.

#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES   0

Definition at line 160 of file tls1.h.

#define TLS1_CK_ADH_WITH_AES_128_GCM_SHA256   0x030000A6

Definition at line 456 of file tls1.h.

#define TLS1_CK_ADH_WITH_AES_128_SHA   0x03000034

Definition at line 395 of file tls1.h.

#define TLS1_CK_ADH_WITH_AES_128_SHA256   0x0300006C

Definition at line 426 of file tls1.h.

#define TLS1_CK_ADH_WITH_AES_256_GCM_SHA384   0x030000A7

Definition at line 457 of file tls1.h.

#define TLS1_CK_ADH_WITH_AES_256_SHA   0x0300003A

Definition at line 402 of file tls1.h.

#define TLS1_CK_ADH_WITH_AES_256_SHA256   0x0300006D

Definition at line 427 of file tls1.h.

#define TLS1_CK_ADH_WITH_CAMELLIA_128_CBC_SHA   0x03000046

Definition at line 418 of file tls1.h.

#define TLS1_CK_ADH_WITH_CAMELLIA_256_CBC_SHA   0x03000089

Definition at line 435 of file tls1.h.

#define TLS1_CK_ADH_WITH_SEED_SHA   0x0300009B

Definition at line 443 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_AES_128_GCM_SHA256   0x030000A4

Definition at line 454 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_AES_128_SHA   0x03000030

Definition at line 391 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_AES_128_SHA256   0x0300003E

Definition at line 408 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_AES_256_GCM_SHA384   0x030000A5

Definition at line 455 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_AES_256_SHA   0x03000036

Definition at line 398 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_AES_256_SHA256   0x03000068

Definition at line 422 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000042

Definition at line 414 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000085

Definition at line 431 of file tls1.h.

#define TLS1_CK_DH_DSS_WITH_SEED_SHA   0x03000097

Definition at line 439 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_AES_128_GCM_SHA256   0x030000A0

Definition at line 450 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_AES_128_SHA   0x03000031

Definition at line 392 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_AES_128_SHA256   0x0300003F

Definition at line 409 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_AES_256_GCM_SHA384   0x030000A1

Definition at line 451 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_AES_256_SHA   0x03000037

Definition at line 399 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_AES_256_SHA256   0x03000069

Definition at line 423 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000043

Definition at line 415 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000086

Definition at line 432 of file tls1.h.

#define TLS1_CK_DH_RSA_WITH_SEED_SHA   0x03000098

Definition at line 440 of file tls1.h.

#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   0x03000063

Definition at line 383 of file tls1.h.

#define TLS1_CK_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   0x03000065

Definition at line 385 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_AES_128_GCM_SHA256   0x030000A2

Definition at line 452 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_AES_128_SHA   0x03000032

Definition at line 393 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_AES_128_SHA256   0x03000040

Definition at line 410 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_AES_256_GCM_SHA384   0x030000A3

Definition at line 453 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_AES_256_SHA   0x03000038

Definition at line 400 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_AES_256_SHA256   0x0300006A

Definition at line 424 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   0x03000044

Definition at line 416 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   0x03000087

Definition at line 433 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_RC4_128_SHA   0x03000066

Definition at line 386 of file tls1.h.

#define TLS1_CK_DHE_DSS_WITH_SEED_SHA   0x03000099

Definition at line 441 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_AES_128_GCM_SHA256   0x0300009E

Definition at line 448 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_AES_128_SHA   0x03000033

Definition at line 394 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_AES_128_SHA256   0x03000067

Definition at line 421 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_AES_256_GCM_SHA384   0x0300009F

Definition at line 449 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_AES_256_SHA   0x03000039

Definition at line 401 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_AES_256_SHA256   0x0300006B

Definition at line 425 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000045

Definition at line 417 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000088

Definition at line 434 of file tls1.h.

#define TLS1_CK_DHE_RSA_WITH_SEED_SHA   0x0300009A

Definition at line 442 of file tls1.h.

#define TLS1_CK_ECDH_anon_WITH_AES_128_CBC_SHA   0x0300C018

Definition at line 487 of file tls1.h.

#define TLS1_CK_ECDH_anon_WITH_AES_256_CBC_SHA   0x0300C019

Definition at line 488 of file tls1.h.

#define TLS1_CK_ECDH_anon_WITH_DES_192_CBC3_SHA   0x0300C017

Definition at line 486 of file tls1.h.

#define TLS1_CK_ECDH_anon_WITH_NULL_SHA   0x0300C015

Definition at line 484 of file tls1.h.

#define TLS1_CK_ECDH_anon_WITH_RC4_128_SHA   0x0300C016

Definition at line 485 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_CBC_SHA   0x0300C004

Definition at line 463 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_GCM_SHA256   0x0300C02D

Definition at line 515 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_AES_128_SHA256   0x0300C025

Definition at line 505 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_CBC_SHA   0x0300C005

Definition at line 464 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_GCM_SHA384   0x0300C02E

Definition at line 516 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_AES_256_SHA384   0x0300C026

Definition at line 506 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C003

Definition at line 462 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_NULL_SHA   0x0300C001

Definition at line 460 of file tls1.h.

#define TLS1_CK_ECDH_ECDSA_WITH_RC4_128_SHA   0x0300C002

Definition at line 461 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_AES_128_CBC_SHA   0x0300C00E

Definition at line 475 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_AES_128_GCM_SHA256   0x0300C031

Definition at line 519 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_AES_128_SHA256   0x0300C029

Definition at line 509 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_AES_256_CBC_SHA   0x0300C00F

Definition at line 476 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_AES_256_GCM_SHA384   0x0300C032

Definition at line 520 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_AES_256_SHA384   0x0300C02A

Definition at line 510 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_DES_192_CBC3_SHA   0x0300C00D

Definition at line 474 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_NULL_SHA   0x0300C00B

Definition at line 472 of file tls1.h.

#define TLS1_CK_ECDH_RSA_WITH_RC4_128_SHA   0x0300C00C

Definition at line 473 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   0x0300C009

Definition at line 469 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   0x0300C02B

Definition at line 513 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_SHA256   0x0300C023

Definition at line 503 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   0x0300C00A

Definition at line 470 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   0x0300C02C

Definition at line 514 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_SHA384   0x0300C024

Definition at line 504 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   0x0300C008

Definition at line 468 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_NULL_SHA   0x0300C006

Definition at line 466 of file tls1.h.

#define TLS1_CK_ECDHE_ECDSA_WITH_RC4_128_SHA   0x0300C007

Definition at line 467 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_AES_128_CBC_SHA   0x0300C013

Definition at line 481 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_AES_128_GCM_SHA256   0x0300C02F

Definition at line 517 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_AES_128_SHA256   0x0300C027

Definition at line 507 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA   0x0300C014

Definition at line 482 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_AES_256_GCM_SHA384   0x0300C030

Definition at line 518 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_AES_256_SHA384   0x0300C028

Definition at line 508 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_DES_192_CBC3_SHA   0x0300C012

Definition at line 480 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_NULL_SHA   0x0300C010

Definition at line 478 of file tls1.h.

#define TLS1_CK_ECDHE_RSA_WITH_RC4_128_SHA   0x0300C011

Definition at line 479 of file tls1.h.

#define TLS1_CK_PSK_WITH_3DES_EDE_CBC_SHA   0x0300008B

Definition at line 371 of file tls1.h.

#define TLS1_CK_PSK_WITH_AES_128_CBC_SHA   0x0300008C

Definition at line 372 of file tls1.h.

#define TLS1_CK_PSK_WITH_AES_256_CBC_SHA   0x0300008D

Definition at line 373 of file tls1.h.

#define TLS1_CK_PSK_WITH_RC4_128_SHA   0x0300008A

Definition at line 370 of file tls1.h.

#define TLS1_CK_RSA_EXPORT1024_WITH_DES_CBC_SHA   0x03000062

Definition at line 382 of file tls1.h.

#define TLS1_CK_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   0x03000061 /* not in ID */

Definition at line 381 of file tls1.h.

#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_MD5   0x03000060 /* not in ID */

Definition at line 380 of file tls1.h.

#define TLS1_CK_RSA_EXPORT1024_WITH_RC4_56_SHA   0x03000064

Definition at line 384 of file tls1.h.

#define TLS1_CK_RSA_WITH_AES_128_GCM_SHA256   0x0300009C

Definition at line 446 of file tls1.h.

#define TLS1_CK_RSA_WITH_AES_128_SHA   0x0300002F

Definition at line 390 of file tls1.h.

#define TLS1_CK_RSA_WITH_AES_128_SHA256   0x0300003C

Definition at line 406 of file tls1.h.

#define TLS1_CK_RSA_WITH_AES_256_GCM_SHA384   0x0300009D

Definition at line 447 of file tls1.h.

#define TLS1_CK_RSA_WITH_AES_256_SHA   0x03000035

Definition at line 397 of file tls1.h.

#define TLS1_CK_RSA_WITH_AES_256_SHA256   0x0300003D

Definition at line 407 of file tls1.h.

#define TLS1_CK_RSA_WITH_CAMELLIA_128_CBC_SHA   0x03000041

Definition at line 413 of file tls1.h.

#define TLS1_CK_RSA_WITH_CAMELLIA_256_CBC_SHA   0x03000084

Definition at line 430 of file tls1.h.

#define TLS1_CK_RSA_WITH_NULL_SHA256   0x0300003B

Definition at line 405 of file tls1.h.

#define TLS1_CK_RSA_WITH_SEED_SHA   0x03000096

Definition at line 438 of file tls1.h.

#define TLS1_CK_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA   0x0300C01C

Definition at line 493 of file tls1.h.

#define TLS1_CK_SRP_SHA_DSS_WITH_AES_128_CBC_SHA   0x0300C01F

Definition at line 496 of file tls1.h.

#define TLS1_CK_SRP_SHA_DSS_WITH_AES_256_CBC_SHA   0x0300C022

Definition at line 499 of file tls1.h.

#define TLS1_CK_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA   0x0300C01B

Definition at line 492 of file tls1.h.

#define TLS1_CK_SRP_SHA_RSA_WITH_AES_128_CBC_SHA   0x0300C01E

Definition at line 495 of file tls1.h.

#define TLS1_CK_SRP_SHA_RSA_WITH_AES_256_CBC_SHA   0x0300C021

Definition at line 498 of file tls1.h.

#define TLS1_CK_SRP_SHA_WITH_3DES_EDE_CBC_SHA   0x0300C01A

Definition at line 491 of file tls1.h.

#define TLS1_CK_SRP_SHA_WITH_AES_128_CBC_SHA   0x0300C01D

Definition at line 494 of file tls1.h.

#define TLS1_CK_SRP_SHA_WITH_AES_256_CBC_SHA   0x0300C020

Definition at line 497 of file tls1.h.

#define TLS1_FINISH_MAC_LENGTH   12

Definition at line 686 of file tls1.h.

#define TLS1_get_client_version (   s)    ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0)

Definition at line 177 of file tls1.h.

#define TLS1_get_version (   s)    ((s->version >> 8) == TLS1_VERSION_MAJOR ? s->version : 0)

Definition at line 174 of file tls1.h.

#define TLS1_TXT_ADH_WITH_AES_128_GCM_SHA256   "ADH-AES128-GCM-SHA256"

Definition at line 649 of file tls1.h.

#define TLS1_TXT_ADH_WITH_AES_128_SHA   "ADH-AES128-SHA"

Definition at line 543 of file tls1.h.

#define TLS1_TXT_ADH_WITH_AES_128_SHA256   "ADH-AES128-SHA256"

Definition at line 635 of file tls1.h.

#define TLS1_TXT_ADH_WITH_AES_256_GCM_SHA384   "ADH-AES256-GCM-SHA384"

Definition at line 650 of file tls1.h.

#define TLS1_TXT_ADH_WITH_AES_256_SHA   "ADH-AES256-SHA"

Definition at line 550 of file tls1.h.

#define TLS1_TXT_ADH_WITH_AES_256_SHA256   "ADH-AES256-SHA256"

Definition at line 636 of file tls1.h.

#define TLS1_TXT_ADH_WITH_CAMELLIA_128_CBC_SHA   "ADH-CAMELLIA128-SHA"

Definition at line 606 of file tls1.h.

#define TLS1_TXT_ADH_WITH_CAMELLIA_256_CBC_SHA   "ADH-CAMELLIA256-SHA"

Definition at line 613 of file tls1.h.

#define TLS1_TXT_ADH_WITH_SEED_SHA   "ADH-SEED-SHA"

Definition at line 621 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_AES_128_GCM_SHA256   "DH-DSS-AES128-GCM-SHA256"

Definition at line 647 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_AES_128_SHA   "DH-DSS-AES128-SHA"

Definition at line 539 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_AES_128_SHA256   "DH-DSS-AES128-SHA256"

Definition at line 627 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_AES_256_GCM_SHA384   "DH-DSS-AES256-GCM-SHA384"

Definition at line 648 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_AES_256_SHA   "DH-DSS-AES256-SHA"

Definition at line 546 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_AES_256_SHA256   "DH-DSS-AES256-SHA256"

Definition at line 631 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_128_CBC_SHA   "DH-DSS-CAMELLIA128-SHA"

Definition at line 602 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_CAMELLIA_256_CBC_SHA   "DH-DSS-CAMELLIA256-SHA"

Definition at line 609 of file tls1.h.

#define TLS1_TXT_DH_DSS_WITH_SEED_SHA   "DH-DSS-SEED-SHA"

Definition at line 617 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_AES_128_GCM_SHA256   "DH-RSA-AES128-GCM-SHA256"

Definition at line 643 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_AES_128_SHA   "DH-RSA-AES128-SHA"

Definition at line 540 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_AES_128_SHA256   "DH-RSA-AES128-SHA256"

Definition at line 628 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_AES_256_GCM_SHA384   "DH-RSA-AES256-GCM-SHA384"

Definition at line 644 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_AES_256_SHA   "DH-RSA-AES256-SHA"

Definition at line 547 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_AES_256_SHA256   "DH-RSA-AES256-SHA256"

Definition at line 632 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_128_CBC_SHA   "DH-RSA-CAMELLIA128-SHA"

Definition at line 603 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_CAMELLIA_256_CBC_SHA   "DH-RSA-CAMELLIA256-SHA"

Definition at line 610 of file tls1.h.

#define TLS1_TXT_DH_RSA_WITH_SEED_SHA   "DH-RSA-SEED-SHA"

Definition at line 618 of file tls1.h.

#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DHE-DSS-DES-CBC-SHA"

Definition at line 532 of file tls1.h.

#define TLS1_TXT_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-DHE-DSS-RC4-SHA"

Definition at line 534 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_AES_128_GCM_SHA256   "DHE-DSS-AES128-GCM-SHA256"

Definition at line 645 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA   "DHE-DSS-AES128-SHA"

Definition at line 541 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_AES_128_SHA256   "DHE-DSS-AES128-SHA256"

Definition at line 629 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_AES_256_GCM_SHA384   "DHE-DSS-AES256-GCM-SHA384"

Definition at line 646 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA   "DHE-DSS-AES256-SHA"

Definition at line 548 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_AES_256_SHA256   "DHE-DSS-AES256-SHA256"

Definition at line 633 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA   "DHE-DSS-CAMELLIA128-SHA"

Definition at line 604 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA   "DHE-DSS-CAMELLIA256-SHA"

Definition at line 611 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_RC4_128_SHA   "DHE-DSS-RC4-SHA"

Definition at line 535 of file tls1.h.

#define TLS1_TXT_DHE_DSS_WITH_SEED_SHA   "DHE-DSS-SEED-SHA"

Definition at line 619 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_AES_128_GCM_SHA256   "DHE-RSA-AES128-GCM-SHA256"

Definition at line 641 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA   "DHE-RSA-AES128-SHA"

Definition at line 542 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_AES_128_SHA256   "DHE-RSA-AES128-SHA256"

Definition at line 630 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_AES_256_GCM_SHA384   "DHE-RSA-AES256-GCM-SHA384"

Definition at line 642 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA   "DHE-RSA-AES256-SHA"

Definition at line 549 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_AES_256_SHA256   "DHE-RSA-AES256-SHA256"

Definition at line 634 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA   "DHE-RSA-CAMELLIA128-SHA"

Definition at line 605 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA   "DHE-RSA-CAMELLIA256-SHA"

Definition at line 612 of file tls1.h.

#define TLS1_TXT_DHE_RSA_WITH_SEED_SHA   "DHE-RSA-SEED-SHA"

Definition at line 620 of file tls1.h.

#define TLS1_TXT_ECDH_anon_WITH_AES_128_CBC_SHA   "AECDH-AES128-SHA"

Definition at line 580 of file tls1.h.

#define TLS1_TXT_ECDH_anon_WITH_AES_256_CBC_SHA   "AECDH-AES256-SHA"

Definition at line 581 of file tls1.h.

#define TLS1_TXT_ECDH_anon_WITH_DES_192_CBC3_SHA   "AECDH-DES-CBC3-SHA"

Definition at line 579 of file tls1.h.

#define TLS1_TXT_ECDH_anon_WITH_NULL_SHA   "AECDH-NULL-SHA"

Definition at line 577 of file tls1.h.

#define TLS1_TXT_ECDH_anon_WITH_RC4_128_SHA   "AECDH-RC4-SHA"

Definition at line 578 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA   "ECDH-ECDSA-AES128-SHA"

Definition at line 556 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_GCM_SHA256   "ECDH-ECDSA-AES128-GCM-SHA256"

Definition at line 666 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_SHA256   "ECDH-ECDSA-AES128-SHA256"

Definition at line 656 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA   "ECDH-ECDSA-AES256-SHA"

Definition at line 557 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_GCM_SHA384   "ECDH-ECDSA-AES256-GCM-SHA384"

Definition at line 667 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_SHA384   "ECDH-ECDSA-AES256-SHA384"

Definition at line 657 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA   "ECDH-ECDSA-DES-CBC3-SHA"

Definition at line 555 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA   "ECDH-ECDSA-NULL-SHA"

Definition at line 553 of file tls1.h.

#define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA   "ECDH-ECDSA-RC4-SHA"

Definition at line 554 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_AES_128_CBC_SHA   "ECDH-RSA-AES128-SHA"

Definition at line 568 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_AES_128_GCM_SHA256   "ECDH-RSA-AES128-GCM-SHA256"

Definition at line 670 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_AES_128_SHA256   "ECDH-RSA-AES128-SHA256"

Definition at line 660 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_AES_256_CBC_SHA   "ECDH-RSA-AES256-SHA"

Definition at line 569 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_AES_256_GCM_SHA384   "ECDH-RSA-AES256-GCM-SHA384"

Definition at line 671 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_AES_256_SHA384   "ECDH-RSA-AES256-SHA384"

Definition at line 661 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_DES_192_CBC3_SHA   "ECDH-RSA-DES-CBC3-SHA"

Definition at line 567 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_NULL_SHA   "ECDH-RSA-NULL-SHA"

Definition at line 565 of file tls1.h.

#define TLS1_TXT_ECDH_RSA_WITH_RC4_128_SHA   "ECDH-RSA-RC4-SHA"

Definition at line 566 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA   "ECDHE-ECDSA-AES128-SHA"

Definition at line 562 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256   "ECDHE-ECDSA-AES128-GCM-SHA256"

Definition at line 664 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_SHA256   "ECDHE-ECDSA-AES128-SHA256"

Definition at line 654 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA   "ECDHE-ECDSA-AES256-SHA"

Definition at line 563 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384   "ECDHE-ECDSA-AES256-GCM-SHA384"

Definition at line 665 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_SHA384   "ECDHE-ECDSA-AES256-SHA384"

Definition at line 655 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA   "ECDHE-ECDSA-DES-CBC3-SHA"

Definition at line 561 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA   "ECDHE-ECDSA-NULL-SHA"

Definition at line 559 of file tls1.h.

#define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA   "ECDHE-ECDSA-RC4-SHA"

Definition at line 560 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_CBC_SHA   "ECDHE-RSA-AES128-SHA"

Definition at line 574 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_GCM_SHA256   "ECDHE-RSA-AES128-GCM-SHA256"

Definition at line 668 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_AES_128_SHA256   "ECDHE-RSA-AES128-SHA256"

Definition at line 658 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA   "ECDHE-RSA-AES256-SHA"

Definition at line 575 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_GCM_SHA384   "ECDHE-RSA-AES256-GCM-SHA384"

Definition at line 669 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_AES_256_SHA384   "ECDHE-RSA-AES256-SHA384"

Definition at line 659 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA   "ECDHE-RSA-DES-CBC3-SHA"

Definition at line 573 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_NULL_SHA   "ECDHE-RSA-NULL-SHA"

Definition at line 571 of file tls1.h.

#define TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA   "ECDHE-RSA-RC4-SHA"

Definition at line 572 of file tls1.h.

#define TLS1_TXT_PSK_WITH_3DES_EDE_CBC_SHA   "PSK-3DES-EDE-CBC-SHA"

Definition at line 585 of file tls1.h.

#define TLS1_TXT_PSK_WITH_AES_128_CBC_SHA   "PSK-AES128-CBC-SHA"

Definition at line 586 of file tls1.h.

#define TLS1_TXT_PSK_WITH_AES_256_CBC_SHA   "PSK-AES256-CBC-SHA"

Definition at line 587 of file tls1.h.

#define TLS1_TXT_PSK_WITH_RC4_128_SHA   "PSK-RC4-SHA"

Definition at line 584 of file tls1.h.

#define TLS1_TXT_RSA_EXPORT1024_WITH_DES_CBC_SHA   "EXP1024-DES-CBC-SHA"

Definition at line 531 of file tls1.h.

#define TLS1_TXT_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5   "EXP1024-RC2-CBC-MD5"

Definition at line 530 of file tls1.h.

#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_MD5   "EXP1024-RC4-MD5"

Definition at line 529 of file tls1.h.

#define TLS1_TXT_RSA_EXPORT1024_WITH_RC4_56_SHA   "EXP1024-RC4-SHA"

Definition at line 533 of file tls1.h.

#define TLS1_TXT_RSA_WITH_AES_128_GCM_SHA256   "AES128-GCM-SHA256"

Definition at line 639 of file tls1.h.

#define TLS1_TXT_RSA_WITH_AES_128_SHA   "AES128-SHA"

Definition at line 538 of file tls1.h.

#define TLS1_TXT_RSA_WITH_AES_128_SHA256   "AES128-SHA256"

Definition at line 625 of file tls1.h.

#define TLS1_TXT_RSA_WITH_AES_256_GCM_SHA384   "AES256-GCM-SHA384"

Definition at line 640 of file tls1.h.

#define TLS1_TXT_RSA_WITH_AES_256_SHA   "AES256-SHA"

Definition at line 545 of file tls1.h.

#define TLS1_TXT_RSA_WITH_AES_256_SHA256   "AES256-SHA256"

Definition at line 626 of file tls1.h.

#define TLS1_TXT_RSA_WITH_CAMELLIA_128_CBC_SHA   "CAMELLIA128-SHA"

Definition at line 601 of file tls1.h.

#define TLS1_TXT_RSA_WITH_CAMELLIA_256_CBC_SHA   "CAMELLIA256-SHA"

Definition at line 608 of file tls1.h.

#define TLS1_TXT_RSA_WITH_NULL_SHA256   "NULL-SHA256"

Definition at line 624 of file tls1.h.

#define TLS1_TXT_RSA_WITH_SEED_SHA   "SEED-SHA"

Definition at line 616 of file tls1.h.

#define TLS1_TXT_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA   "SRP-DSS-3DES-EDE-CBC-SHA"

Definition at line 592 of file tls1.h.

#define TLS1_TXT_SRP_SHA_DSS_WITH_AES_128_CBC_SHA   "SRP-DSS-AES-128-CBC-SHA"

Definition at line 595 of file tls1.h.

#define TLS1_TXT_SRP_SHA_DSS_WITH_AES_256_CBC_SHA   "SRP-DSS-AES-256-CBC-SHA"

Definition at line 598 of file tls1.h.

#define TLS1_TXT_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA   "SRP-RSA-3DES-EDE-CBC-SHA"

Definition at line 591 of file tls1.h.

#define TLS1_TXT_SRP_SHA_RSA_WITH_AES_128_CBC_SHA   "SRP-RSA-AES-128-CBC-SHA"

Definition at line 594 of file tls1.h.

#define TLS1_TXT_SRP_SHA_RSA_WITH_AES_256_CBC_SHA   "SRP-RSA-AES-256-CBC-SHA"

Definition at line 597 of file tls1.h.

#define TLS1_TXT_SRP_SHA_WITH_3DES_EDE_CBC_SHA   "SRP-3DES-EDE-CBC-SHA"

Definition at line 590 of file tls1.h.

#define TLS1_TXT_SRP_SHA_WITH_AES_128_CBC_SHA   "SRP-AES-128-CBC-SHA"

Definition at line 593 of file tls1.h.

#define TLS1_TXT_SRP_SHA_WITH_AES_256_CBC_SHA   "SRP-AES-256-CBC-SHA"

Definition at line 596 of file tls1.h.

#define TLS1_VERSION   0x0301

Definition at line 170 of file tls1.h.

#define TLS1_VERSION_MAJOR   0x03

Definition at line 171 of file tls1.h.

#define TLS1_VERSION_MINOR   0x01

Definition at line 172 of file tls1.h.

#define TLS_CT_DSS_FIXED_DH   4

Definition at line 676 of file tls1.h.

#define TLS_CT_DSS_SIGN   2

Definition at line 674 of file tls1.h.

#define TLS_CT_ECDSA_FIXED_ECDH   66

Definition at line 679 of file tls1.h.

#define TLS_CT_ECDSA_SIGN   64

Definition at line 677 of file tls1.h.

#define TLS_CT_GOST01_SIGN   22

Definition at line 681 of file tls1.h.

#define TLS_CT_GOST94_SIGN   21

Definition at line 680 of file tls1.h.

#define TLS_CT_NUMBER   9

Definition at line 684 of file tls1.h.

#define TLS_CT_RSA_FIXED_DH   3

Definition at line 675 of file tls1.h.

#define TLS_CT_RSA_FIXED_ECDH   65

Definition at line 678 of file tls1.h.

#define TLS_CT_RSA_SIGN   1

Definition at line 673 of file tls1.h.

#define TLS_MD_CLIENT_FINISH_CONST   "client finished"

Definition at line 689 of file tls1.h.

#define TLS_MD_CLIENT_FINISH_CONST_SIZE   15

Definition at line 690 of file tls1.h.

#define TLS_MD_CLIENT_WRITE_KEY_CONST   "client write key"

Definition at line 697 of file tls1.h.

#define TLS_MD_CLIENT_WRITE_KEY_CONST_SIZE   16

Definition at line 698 of file tls1.h.

#define TLS_MD_IV_BLOCK_CONST   "IV block"

Definition at line 701 of file tls1.h.

#define TLS_MD_IV_BLOCK_CONST_SIZE   8

Definition at line 702 of file tls1.h.

#define TLS_MD_KEY_EXPANSION_CONST   "key expansion"

Definition at line 695 of file tls1.h.

#define TLS_MD_KEY_EXPANSION_CONST_SIZE   13

Definition at line 696 of file tls1.h.

#define TLS_MD_MASTER_SECRET_CONST   "master secret"

Definition at line 703 of file tls1.h.

#define TLS_MD_MASTER_SECRET_CONST_SIZE   13

Definition at line 704 of file tls1.h.

#define TLS_MD_MAX_CONST_SIZE   20

Definition at line 688 of file tls1.h.

#define TLS_MD_SERVER_FINISH_CONST   "server finished"

Definition at line 691 of file tls1.h.

#define TLS_MD_SERVER_FINISH_CONST_SIZE   15

Definition at line 692 of file tls1.h.

#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"

Definition at line 699 of file tls1.h.

#define TLS_MD_SERVER_WRITE_KEY_CONST   "server write key"

Definition at line 699 of file tls1.h.

#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16

Definition at line 700 of file tls1.h.

#define TLS_MD_SERVER_WRITE_KEY_CONST_SIZE   16

Definition at line 700 of file tls1.h.

#define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2   2

Definition at line 260 of file tls1.h.

#define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime   1

Definition at line 259 of file tls1.h.

#define TLSEXT_ECPOINTFORMAT_first   0

Definition at line 257 of file tls1.h.

#define TLSEXT_ECPOINTFORMAT_last   2

Definition at line 261 of file tls1.h.

#define TLSEXT_ECPOINTFORMAT_uncompressed   0

Definition at line 258 of file tls1.h.

#define TLSEXT_hash_md5   1

Definition at line 271 of file tls1.h.

#define TLSEXT_hash_none   0

Definition at line 270 of file tls1.h.

#define TLSEXT_hash_sha1   2

Definition at line 272 of file tls1.h.

#define TLSEXT_hash_sha224   3

Definition at line 273 of file tls1.h.

#define TLSEXT_hash_sha256   4

Definition at line 274 of file tls1.h.

#define TLSEXT_hash_sha384   5

Definition at line 275 of file tls1.h.

#define TLSEXT_hash_sha512   6

Definition at line 276 of file tls1.h.

#define TLSEXT_MAXLEN_host_name   255

Definition at line 280 of file tls1.h.

#define TLSEXT_NAMETYPE_host_name   0

Definition at line 252 of file tls1.h.

#define TLSEXT_signature_anonymous   0

Definition at line 265 of file tls1.h.

#define TLSEXT_signature_dsa   2

Definition at line 267 of file tls1.h.

#define TLSEXT_signature_ecdsa   3

Definition at line 268 of file tls1.h.

#define TLSEXT_signature_rsa   1

Definition at line 266 of file tls1.h.

#define TLSEXT_STATUSTYPE_ocsp   1

Definition at line 254 of file tls1.h.

#define TLSEXT_TYPE_cert_type   9

Definition at line 215 of file tls1.h.

#define TLSEXT_TYPE_client_authz   7

Definition at line 211 of file tls1.h.

#define TLSEXT_TYPE_client_certificate_url   2

Definition at line 203 of file tls1.h.

#define TLSEXT_TYPE_ec_point_formats   11

Definition at line 219 of file tls1.h.

#define TLSEXT_TYPE_elliptic_curves   10

Definition at line 218 of file tls1.h.

#define TLSEXT_TYPE_heartbeat   15

Definition at line 231 of file tls1.h.

#define TLSEXT_TYPE_max_fragment_length   1

Definition at line 202 of file tls1.h.

#define TLSEXT_TYPE_next_proto_neg   13172

Definition at line 248 of file tls1.h.

#define TLSEXT_TYPE_renegotiate   0xff01

Definition at line 244 of file tls1.h.

#define TLSEXT_TYPE_server_authz   8

Definition at line 212 of file tls1.h.

#define TLSEXT_TYPE_server_name   0

Definition at line 201 of file tls1.h.

#define TLSEXT_TYPE_session_ticket   35

Definition at line 234 of file tls1.h.

#define TLSEXT_TYPE_signature_algorithms   13

Definition at line 225 of file tls1.h.

#define TLSEXT_TYPE_srp   12

Definition at line 222 of file tls1.h.

#define TLSEXT_TYPE_status_request   5

Definition at line 206 of file tls1.h.

#define TLSEXT_TYPE_truncated_hmac   4

Definition at line 205 of file tls1.h.

#define TLSEXT_TYPE_trusted_ca_keys   3

Definition at line 204 of file tls1.h.

#define TLSEXT_TYPE_use_srtp   14

Definition at line 228 of file tls1.h.

#define TLSEXT_TYPE_user_mapping   6

Definition at line 208 of file tls1.h.

Function Documentation

int SSL_export_keying_material ( SSL s,
unsigned char *  out,
size_t  olen,
const char *  label,
size_t  llen,
const unsigned char *  p,
size_t  plen,
int  use_context 
)

Definition at line 1632 of file ssl_lib.c.

const char* SSL_get_servername ( const SSL s,
const int  type 
)

return a servername extension value if provided in Client Hello, or NULL. So far, only host_name types are defined (RFC 3546).

Definition at line 1497 of file ssl_lib.c.

int SSL_get_servername_type ( const SSL s)

Definition at line 1507 of file ssl_lib.c.