/external/boringssl/src/ssl/ |
internal.h | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 149 #include <openssl/ssl.h> 264 * an SSL connection. */ 350 * of a record for |ssl|. 354 size_t ssl_record_prefix_len(const SSL *ssl); 384 SSL *ssl, uint8_t *out_type, uint8_t *out, size_t *out_len 1021 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *ssl); variable [all...] |
ssl_buffer.c | 15 #include <openssl/ssl.h> 40 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); 47 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 79 static int setup_read_buffer(SSL *ssl) { 80 SSL3_BUFFER *buf = &ssl->s3->read_buffer; 86 size_t header_len = ssl_record_prefix_len(ssl); 88 if (SSL_IS_DTLS(ssl)) { 97 uint8_t *ssl_read_buffer(SSL *ssl) { [all...] |
ssl_rsa.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 57 #include <openssl/ssl.h> 76 int SSL_use_certificate(SSL *ssl, X509 *x) { 78 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); 81 return ssl_set_cert(ssl->cert, x); 84 int SSL_use_certificate_ASN1(SSL *ssl, const uint8_t *der, size_t der_len) [all...] |
ssl_file.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 111 #include <openssl/ssl.h> 144 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 159 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 208 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 271 OPENSSL_PUT_ERROR(SSL, SSL_R_PATH_TOO_LONG); 283 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB) [all...] |
ssl_lib.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 141 #include <openssl/ssl.h> 163 OPENSSL_DECLARE_ERROR_REASON(SSL, UNKNOWN_PROTOCOL) 215 OPENSSL_PUT_ERROR(SSL, SSL_R_NULL_SSL_METHOD_PASSED); 220 OPENSSL_PUT_ERROR(SSL, SSL_R_X509_VERIFICATION_SETUP_PROBLEMS); 263 OPENSSL_PUT_ERROR(SSL, SSL_R_LIBRARY_HAS_NO_CIPHERS); 298 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE) 356 SSL *ssl = (SSL *)OPENSSL_malloc(sizeof(SSL)); local [all...] |
s3_lib.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 149 #include <openssl/ssl.h> 184 int ssl3_set_handshake_header(SSL *ssl, int htype, unsigned long len) { 185 uint8_t *p = (uint8_t *)ssl->init_buf->data; 188 ssl->init_num = (int)len + SSL3_HM_HEADER_LENGTH; 189 ssl->init_off = 0 [all...] |
d1_srtp.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 117 #include <openssl/ssl.h> 172 OPENSSL_PUT_ERROR(SSL, SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES); 184 OPENSSL_PUT_ERROR(SSL, SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE); 202 int SSL_set_srtp_profiles(SSL *ssl, const char *profiles) { 203 return ssl_ctx_make_profiles(profiles, &ssl->srtp_profiles) [all...] |
ssl_asn1.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 83 #include <openssl/ssl.h> 175 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 205 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 212 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 220 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 229 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE) [all...] |
tls_record.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 109 #include <openssl/ssl.h> 125 /* ssl_needs_record_splitting returns one if |ssl|'s current outgoing cipher 127 static int ssl_needs_record_splitting(const SSL *ssl) { 128 return !SSL_USE_EXPLICIT_IV(ssl) && ssl->aead_write_ctx != NULL & [all...] |
s3_pkt.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 109 #include <openssl/ssl.h> 125 static int do_ssl3_write(SSL *ssl, int type, const uint8_t *buf, unsigned len); 132 * |ssl->s3->rrec| and returns one. Otherwise it returns <= 0 on error or if 134 static int ssl3_get_record(SSL *ssl) { [all...] |
d1_lib.c | 57 #include <openssl/ssl.h> 85 static void get_current_time(const SSL *ssl, struct timeval *out_clock); 87 int dtls1_new(SSL *ssl) { 90 if (!ssl3_new(ssl)) { 95 ssl3_free(ssl); 107 ssl3_free(ssl); 111 ssl->d1 = d1; 114 * state of |ssl->enc_method| and what the API reports as the version prior t [all...] |
d1_pkt.c | 59 * This package is an SSL implementation written 61 * The implementation was written so as to conform with Netscapes SSL. 66 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 112 #include <openssl/ssl.h> 127 static int do_dtls1_write(SSL *ssl, int type, const uint8_t *buf, 131 * |ssl->s3->rrec| and returns one. Otherwise it returns <= 0 on error or if 133 static int dtls1_get_record(SSL *ssl) { [all...] |
s3_enc.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 136 #include <openssl/ssl.h> 165 static int ssl3_handshake_mac(SSL *ssl, int md_nid, const char *sender, int len, 168 int ssl3_prf(SSL *ssl, uint8_t *out, size_t out_len, const uint8_t *secret, 185 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR) [all...] |
s3_clnt.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 150 #include <openssl/ssl.h> 175 int ssl3_connect(SSL *ssl) { 177 void (*cb)(const SSL *ssl, int type, int value) = NULL; 181 assert(ssl->handshake_func == ssl3_connect) [all...] |
s3_srvr.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 149 #include <openssl/ssl.h> 177 int ssl3_accept(SSL *ssl) { 180 void (*cb)(const SSL *ssl, int type, int value) = NULL; 184 assert(ssl->handshake_func == ssl3_accept) [all...] |
t1_lib.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 109 #include <openssl/ssl.h> 130 static int ssl_check_clienthello_tlsext(SSL *ssl); 131 static int ssl_check_serverhello_tlsext(SSL *ssl); 217 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE) [all...] |
ssl_cert.c | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 115 #include <openssl/ssl.h> 134 /* The ex_data index to go from |X509_STORE_CTX| to |SSL| always uses the 144 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 155 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 166 OPENSSL_PUT_ERROR(SSL, ERR_R_DH_LIB); 183 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE) [all...] |
/external/tlsdate/src/ |
tlsdate-helper-plan9.h | 30 #include <openssl/ssl.h> 42 /** Name of user that we feel safe to run SSL handshake with. */ 101 void openssl_time_callback (const SSL* ssl, int where, int ret); 103 uint32_t check_cn (SSL *ssl, const char *hostname); 104 uint32_t check_san (SSL *ssl, const char *hostname); 105 long openssl_check_against_host_and_verify (SSL *ssl); [all...] |
tlsdate-helper.h | 38 #include <openssl/ssl.h> 51 /** Name of user that we feel safe to run SSL handshake with. */ 127 void openssl_time_callback (const SSL* ssl, int where, int ret); 129 uint32_t check_cn (SSL *ssl, const char *hostname); 130 uint32_t check_san (SSL *ssl, const char *hostname); 131 long openssl_check_against_host_and_verify (SSL *ssl); [all...] |
/external/boringssl/src/ssl/test/ |
scoped_types.h | 18 #include <openssl/ssl.h> 23 using ScopedSSL = ScopedOpenSSLType<SSL, SSL_free>;
|
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl.h | 2 * SSL/TLS interface functions for OpenSSL 16 enum ocsp_result check_ocsp_resp(SSL_CTX *ssl_ctx, SSL *ssl, X509 *cert,
|
/external/boringssl/src/tool/ |
transport_common.h | 18 #include <openssl/ssl.h> 34 void PrintConnectionInfo(const SSL *ssl); 40 bool TransferData(SSL *ssl, int sock);
|
/external/boringssl/src/include/openssl/ |
ssl.h | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 161 /* wpa_supplicant expects to get the version functions from ssl.h */ 174 /* SSL implementation. */ 177 /* SSL contexts. 201 /* SSL connections. 203 * An |SSL| object represents a single TLS or DTLS connection. Although the 204 * shared |SSL_CTX| is thread-safe, an |SSL| is not thread-safe and may only b 1212 OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl); variable 1248 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl); variable 2090 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl); variable 2394 SSL *ssl); variable 2713 SSL *ssl; member in struct:ssl_early_callback_ctx [all...] |
/external/webrtc/webrtc/base/ |
openssladapter.h | 19 typedef struct ssl_st SSL; 44 // Note that the socket returns ST_CONNECTING while SSL is being negotiated. 67 static bool VerifyServerName(SSL* ssl, const char* host, 69 bool SSLPostConnectionCheck(SSL* ssl, const char* host); 71 static void SSLInfoCallback(const SSL* s, int where, int ret); 83 // If true, socket will retain SSL configuration after Close. 86 SSL* ssl_;
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
certutils.py | 41 from OpenSSL import crypto, SSL 43 Error = SSL.Error 44 SSL_METHOD = SSL.SSLv23_METHOD 45 SysCallError = SSL.SysCallError 46 VERIFY_PEER = SSL.VERIFY_PEER 47 ZeroReturnError = SSL.ZeroReturnError 57 return SSL.Context(method) 73 except SSL.SysCallError, e: 77 except SSL.ZeroReturnError: 82 return WrappedConnection(SSL.Connection(context, connection) [all...] |