/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> 287 * an SSL connection. */ 461 /* Check if an SSL structure is using DTLS */ 525 DH *(*dh_tmp_cb)(SSL *ssl, int is_export, int keysize); 533 EC_KEY *(*ecdh_tmp_cb)(SSL *ssl, int is_export, int keysize) [all...] |
t1_reneg.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 120 int ssl_add_clienthello_renegotiate_ext(SSL *s, unsigned char *p, int *len, 124 OPENSSL_PUT_ERROR(SSL, ssl_add_clienthello_renegotiate_ext, 143 int ssl_parse_clienthello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert) { 148 OPENSSL_PUT_ERROR(SSL, ssl_parse_clienthello_renegotiate_ext, 157 OPENSSL_PUT_ERROR(SSL, ssl_parse_clienthello_renegotiate_ext, 169 int ssl_add_serverhello_renegotiate_ext(SSL *s, unsigned char *p, int *len [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 72 int SSL_use_certificate(SSL *ssl, X509 *x) { 74 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate, ERR_R_PASSED_NULL_PARAMETER); 77 return ssl_set_cert(ssl->cert, x); 80 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) [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 181 OPENSSL_PUT_ERROR(SSL, ssl_ctx_make_profiles, 193 OPENSSL_PUT_ERROR(SSL, ssl_ctx_make_profiles, 212 int SSL_set_srtp_profiles(SSL *s, const char *profiles) { 216 STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *s) { 232 const SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s) { 241 int SSL_set_tlsext_use_srtp(SSL *s, const char *profiles) [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 170 int SSL_clear(SSL *ssl) { 171 if (ssl->method == NULL) { 172 OPENSSL_PUT_ERROR(SSL, SSL_clear, SSL_R_NO_METHOD_SPECIFIED); 176 if (ssl_clear_bad_session(ssl)) { 177 SSL_SESSION_free(ssl->session) [all...] |
d1_lib.c | 84 static void get_current_time(const SSL *ssl, struct timeval *out_clock); 86 int dtls1_new(SSL *s) { 121 static void dtls1_clear_queues(SSL *s) { 138 void dtls1_free(SSL *s) { 159 void dtls1_start_timer(SSL *s) { 174 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { 175 if (!SSL_IS_DTLS(ssl)) { 180 if (ssl->d1->next_timeout.tv_sec == 0 && ssl->d1->next_timeout.tv_usec == 0) [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 181 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); 188 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); 196 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); 211 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); 224 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); 231 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE) [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 184 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap); 185 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap); 186 static int dtls1_process_record(SSL *s); 187 static int do_dtls1_write(SSL *s, int type, const uint8_t *buf, 190 static int dtls1_process_record(SSL *s) { 197 OPENSSL_PUT_ERROR(SSL, dtls1_process_record [all...] |
s3_clnt.c | 0 /* ssl/s3_clnt.c */ 5 * This package is an SSL implementation written 7 * The implementation was written so as to conform with Netscapes SSL. 12 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 171 int ssl3_connect(SSL *s) { 173 void (*cb)(const SSL *ssl, int type, int val) = NULL; 221 OPENSSL_PUT_ERROR(SSL, ssl3_connect, ERR_R_INTERNAL_ERROR); 555 OPENSSL_PUT_ERROR(SSL, ssl3_connect, SSL_R_UNKNOWN_STATE) [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 123 static int do_ssl3_write(SSL *s, int type, const uint8_t *buf, unsigned int len, 125 static int ssl3_get_record(SSL *s); 127 int ssl3_read_n(SSL *s, int n, int extend) { 209 OPENSSL_PUT_ERROR(SSL, ssl3_read_n, ERR_R_INTERNAL_ERROR); 226 OPENSSL_PUT_ERROR(SSL, ssl3_read_n, SSL_R_READ_BIO_NOT_SET); 264 * ssl->s3->rrec.type - is the type of recor [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 181 int ssl3_set_handshake_header(SSL *s, int htype, unsigned long len) { 192 int ssl3_handshake_write(SSL *s) { return ssl3_do_write(s, SSL3_RT_HANDSHAKE); } 194 int ssl3_new(SSL *s) { 217 void ssl3_free(SSL *s) { 245 int SSL_session_reused(const SSL *ssl) { [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 179 int ssl3_accept(SSL *s) { 182 void (*cb)(const SSL *ssl, int type, int val) = NULL; 202 OPENSSL_PUT_ERROR(SSL, ssl3_accept, SSL_R_NO_CERTIFICATE_SET); 234 OPENSSL_PUT_ERROR(SSL, ssl3_accept, ERR_R_INTERNAL_ERROR); 567 OPENSSL_PUT_ERROR(SSL, ssl3_accept, SSL_R_UNKNOWN_STATE) [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 163 static int ssl3_handshake_mac(SSL *s, int md_nid, const char *sender, int len, 166 int ssl3_prf(SSL *s, uint8_t *out, size_t out_len, const uint8_t *secret, 183 OPENSSL_PUT_ERROR(SSL, ssl3_prf, ERR_R_INTERNAL_ERROR); 192 OPENSSL_PUT_ERROR(SSL, ssl3_prf, ERR_LIB_EVP); 207 OPENSSL_PUT_ERROR(SSL, ssl3_prf, ERR_LIB_EVP); 229 void ssl3_cleanup_key_block(SSL *s) [all...] |
s3_both.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 134 int ssl3_do_write(SSL *s, int type) { 156 int ssl3_send_finished(SSL *s, int a, int b, const char *sender, int slen) { 200 static void ssl3_take_mac(SSL *s) { 222 int ssl3_get_finished(SSL *s, int a, int b) { 245 OPENSSL_PUT_ERROR(SSL, ssl3_get_finished, SSL_R_GOT_A_FIN_BEFORE_A_CCS); 255 OPENSSL_PUT_ERROR(SSL, ssl3_get_finished, SSL_R_BAD_DIGEST_LENGTH) [all...] |
ssl_aead_ctx.c | 37 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_INTERNAL_ERROR); 46 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_INTERNAL_ERROR); 59 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_MALLOC_FAILURE); 79 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_INTERNAL_ERROR); 149 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_open, SSL_R_BUFFER_TOO_SMALL); 164 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_open, SSL_R_BAD_PACKET_LENGTH); 181 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_open, SSL_R_BAD_PACKET_LENGTH); 204 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_seal, SSL_R_BUFFER_TOO_SMALL); 238 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_seal, SSL_R_BUFFER_TOO_SMALL); 242 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_seal, SSL_R_OUTPUT_ALIASES_INPUT) [all...] |
ssl_sess.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 163 SSL_SESSION *SSL_get_session(const SSL *ssl) 166 return ssl->session; 169 SSL_SESSION *SSL_get1_session(SSL *ssl) { 171 return SSL_SESSION_up_ref(ssl->session) [all...] |
d1_both.c | 61 * This package is an SSL implementation written 63 * The implementation was written so as to conform with Netscapes SSL. 68 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 146 static void dtls1_fix_message_header(SSL *s, unsigned long frag_off, 148 static unsigned char *dtls1_write_message_header(SSL *s, unsigned char *p); 158 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_MALLOC_FAILURE); 165 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_MALLOC_FAILURE); 177 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_OVERFLOW); 183 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_MALLOC_FAILURE) [all...] |
t1_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 223 int tls1_prf(SSL *s, uint8_t *out, size_t out_len, const uint8_t *secret, 241 OPENSSL_PUT_ERROR(SSL, tls1_prf, ERR_R_MALLOC_FAILURE); 285 static int tls1_generate_key_block(SSL *s, uint8_t *out, size_t out_len) { 295 int tls1_change_cipher_state(SSL *s, int which) { 320 OPENSSL_PUT_ERROR(SSL, tls1_change_cipher_state, ERR_R_INTERNAL_ERROR); 330 OPENSSL_PUT_ERROR(SSL, tls1_change_cipher_state, ERR_R_INTERNAL_ERROR) [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 125 static int tls_decrypt_ticket(SSL *s, const uint8_t *tick, int ticklen, 128 static int ssl_check_clienthello_tlsext(SSL *s); 129 static int ssl_check_serverhello_tlsext(SSL *s); 216 OPENSSL_PUT_ERROR(SSL, tls1_check_duplicate_extensions, 267 if (SSL_IS_DTLS(ctx->ssl)) { 387 static void tls1_get_curvelist(SSL *s, int get_peer_curves [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 140 0, "SSL for verify callback", NULL, NULL, NULL); 154 OPENSSL_PUT_ERROR(SSL, ssl_cert_new, ERR_R_MALLOC_FAILURE); 169 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_MALLOC_FAILURE); 184 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_DH_LIB); 190 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_BN_LIB); 198 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_BN_LIB) [all...] |
/external/boringssl/src/include/openssl/ |
srtp.h | 0 /* ssl/tls1.h */ 5 * This package is an SSL implementation written 7 * The implementation was written so as to conform with Netscapes SSL. 12 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 134 /* SSL_CTX_set_srtp_profiles enables SRTP for all SSL objects created from 140 /* SSL_set_srtp_profiles enables SRTP for |ssl|. |profile| contains a 143 OPENSSL_EXPORT int SSL_set_srtp_profiles(SSL *ctx, const char *profiles); 145 /* SSL_get_srtp_profiles returns the SRTP profiles supported by |ssl|. */ 147 SSL *ssl) variable [all...] |
ssl.h | 0 /* ssl/ssl.h */ 5 * This package is an SSL implementation written 7 * The implementation was written so as to conform with Netscapes SSL. 12 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 160 /* wpa_supplicant expects to get the version functions from ssl.h */ 173 /* SSL implementation. */ 178 /* SSL_library_init initializes the crypto and SSL libraries and returns one. */ 191 /* The following are internal fields. See ssl/internal.h for their values. * 795 SSL *ssl; member in struct:ssl_early_callback_ctx [all...] |
/external/boringssl/src/ssl/test/ |
scoped_types.h | 18 #include <openssl/ssl.h> 23 using ScopedSSL = ScopedOpenSSLType<SSL, SSL_free>;
|
/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/ |
android_compat_hacks.c | 28 #include <openssl/ssl.h> 56 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) { 60 int SSL_set_session_ticket_ext_cb(SSL *s, void *cb, void *arg) { 64 int SSL_set_session_secret_cb(SSL *s, void *cb, void *arg) { 68 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method) {
|