Home
last modified time | relevance | path

Searched refs:SSL (Results 1 – 25 of 86) sorted by relevance

1234

/external/boringssl/src/crypto/err/
Dssl.errordata1 SSL,function,276,SSL_AEAD_CTX_new
2 SSL,function,277,SSL_AEAD_CTX_open
3 SSL,function,278,SSL_AEAD_CTX_seal
4 SSL,function,100,SSL_CTX_check_private_key
5 SSL,function,101,SSL_CTX_new
6 SSL,function,272,SSL_CTX_set1_tls_channel_id
7 SSL,function,102,SSL_CTX_set_cipher_list
8 SSL,function,103,SSL_CTX_set_cipher_list_tls11
9 SSL,function,104,SSL_CTX_set_session_id_context
10 SSL,function,268,SSL_CTX_set_tmp_dh
[all …]
/external/boringssl/src/ssl/
Dinternal.h525 DH *(*dh_tmp_cb)(SSL *ssl, int is_export, int keysize);
533 EC_KEY *(*ecdh_tmp_cb)(SSL *ssl, int is_export, int keysize);
574 int (*cert_cb)(SSL *ssl, void *arg);
626 int (*ssl_new)(SSL *s);
627 void (*ssl_free)(SSL *s);
628 int (*ssl_accept)(SSL *s);
629 int (*ssl_connect)(SSL *s);
630 long (*ssl_get_message)(SSL *s, int header_state, int body_state,
633 int (*ssl_read_app_data)(SSL *s, uint8_t *buf, int len, int peek);
634 void (*ssl_read_close_notify)(SSL *s);
[all …]
Dssl_lib.c170 int SSL_clear(SSL *ssl) { in SSL_clear()
172 OPENSSL_PUT_ERROR(SSL, SSL_clear, SSL_R_NO_METHOD_SPECIFIED); in SSL_clear()
243 SSL *SSL_new(SSL_CTX *ctx) { in SSL_new()
244 SSL *s; in SSL_new()
247 OPENSSL_PUT_ERROR(SSL, SSL_new, SSL_R_NULL_SSL_CTX); in SSL_new()
251 OPENSSL_PUT_ERROR(SSL, SSL_new, SSL_R_SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION); in SSL_new()
255 s = (SSL *)OPENSSL_malloc(sizeof(SSL)); in SSL_new()
259 memset(s, 0, sizeof(SSL)); in SSL_new()
361 OPENSSL_PUT_ERROR(SSL, SSL_new, ERR_R_MALLOC_FAILURE); in SSL_new()
369 OPENSSL_PUT_ERROR(SSL, SSL_CTX_set_session_id_context, in SSL_CTX_set_session_id_context()
[all …]
Dssl_rsa.c72 int SSL_use_certificate(SSL *ssl, X509 *x) { in SSL_use_certificate()
74 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_certificate()
80 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) { in SSL_use_certificate_file()
88 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, ERR_R_BUF_LIB); in SSL_use_certificate_file()
93 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, ERR_R_SYS_LIB); in SSL_use_certificate_file()
105 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file()
110 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_file, reason_code); in SSL_use_certificate_file()
123 int SSL_use_certificate_ASN1(SSL *ssl, const uint8_t *d, int len) { in SSL_use_certificate_ASN1()
129 OPENSSL_PUT_ERROR(SSL, SSL_use_certificate_ASN1, ERR_R_ASN1_LIB); in SSL_use_certificate_ASN1()
138 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) { in SSL_use_RSAPrivateKey()
[all …]
Ds3_clnt.c171 int ssl3_connect(SSL *s) { in ssl3_connect()
173 void (*cb)(const SSL *ssl, int type, int val) = NULL; in ssl3_connect()
221 OPENSSL_PUT_ERROR(SSL, ssl3_connect, ERR_R_INTERNAL_ERROR); in ssl3_connect()
555 OPENSSL_PUT_ERROR(SSL, ssl3_connect, SSL_R_UNKNOWN_STATE); in ssl3_connect()
580 int ssl3_send_client_hello(SSL *s) { in ssl3_send_client_hello()
591 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, SSL_R_WRONG_SSL_VERSION); in ssl3_send_client_hello()
664 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello()
674 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, ERR_R_INTERNAL_ERROR); in ssl3_send_client_hello()
685 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, in ssl3_send_client_hello()
698 OPENSSL_PUT_ERROR(SSL, ssl3_send_client_hello, SSL_R_CLIENTHELLO_TLSEXT); in ssl3_send_client_hello()
[all …]
Dssl_asn1.c181 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
188 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
196 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
211 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
224 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
231 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
241 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
251 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
259 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
268 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_to_bytes_full, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full()
[all …]
Dd1_srtp.c181 OPENSSL_PUT_ERROR(SSL, ssl_ctx_make_profiles, in ssl_ctx_make_profiles()
193 OPENSSL_PUT_ERROR(SSL, ssl_ctx_make_profiles, in ssl_ctx_make_profiles()
212 int SSL_set_srtp_profiles(SSL *s, const char *profiles) { in SSL_set_srtp_profiles()
216 STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *s) { in STACK_OF()
232 const SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s) { in SSL_get_selected_srtp_profile()
241 int SSL_set_tlsext_use_srtp(SSL *s, const char *profiles) { in SSL_set_tlsext_use_srtp()
247 int ssl_add_clienthello_use_srtp_ext(SSL *s, uint8_t *p, int *len, int maxlen) { in ssl_add_clienthello_use_srtp_ext()
258 OPENSSL_PUT_ERROR(SSL, ssl_add_clienthello_use_srtp_ext, in ssl_add_clienthello_use_srtp_ext()
264 OPENSSL_PUT_ERROR(SSL, ssl_add_clienthello_use_srtp_ext, in ssl_add_clienthello_use_srtp_ext()
285 int ssl_parse_clienthello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert) { in ssl_parse_clienthello_use_srtp_ext()
[all …]
Ds3_srvr.c179 int ssl3_accept(SSL *s) { in ssl3_accept()
182 void (*cb)(const SSL *ssl, int type, int val) = NULL; in ssl3_accept()
202 OPENSSL_PUT_ERROR(SSL, ssl3_accept, SSL_R_NO_CERTIFICATE_SET); in ssl3_accept()
234 OPENSSL_PUT_ERROR(SSL, ssl3_accept, ERR_R_INTERNAL_ERROR); in ssl3_accept()
567 OPENSSL_PUT_ERROR(SSL, ssl3_accept, SSL_R_UNKNOWN_STATE); in ssl3_accept()
590 static int ssl3_read_sniff_buffer(SSL *s, size_t n) { in ssl3_read_sniff_buffer()
614 int ssl3_get_initial_bytes(SSL *s) { in ssl3_get_initial_bytes()
634 OPENSSL_PUT_ERROR(SSL, ssl3_get_initial_bytes, SSL_R_HTTP_REQUEST); in ssl3_get_initial_bytes()
638 OPENSSL_PUT_ERROR(SSL, ssl3_get_initial_bytes, SSL_R_HTTPS_PROXY_REQUEST); in ssl3_get_initial_bytes()
672 OPENSSL_PUT_ERROR(SSL, ssl3_get_initial_bytes, SSL_R_UNKNOWN_PROTOCOL); in ssl3_get_initial_bytes()
[all …]
Ds3_pkt.c123 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) { in ssl3_read_n()
209 OPENSSL_PUT_ERROR(SSL, ssl3_read_n, ERR_R_INTERNAL_ERROR); in ssl3_read_n()
226 OPENSSL_PUT_ERROR(SSL, ssl3_read_n, SSL_R_READ_BIO_NOT_SET); in ssl3_read_n()
268 static int ssl3_get_record(SSL *s) { in ssl3_get_record()
305 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_WRONG_VERSION_NUMBER); in ssl3_get_record()
311 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_WRONG_VERSION_NUMBER); in ssl3_get_record()
317 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, SSL_R_ENCRYPTED_LENGTH_TOO_LONG); in ssl3_get_record()
357 OPENSSL_PUT_ERROR(SSL, ssl3_get_record, in ssl3_get_record()
[all …]
Dt1_reneg.c120 int ssl_add_clienthello_renegotiate_ext(SSL *s, unsigned char *p, int *len, in ssl_add_clienthello_renegotiate_ext()
124 OPENSSL_PUT_ERROR(SSL, ssl_add_clienthello_renegotiate_ext, in ssl_add_clienthello_renegotiate_ext()
143 int ssl_parse_clienthello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert) { in ssl_parse_clienthello_renegotiate_ext()
148 OPENSSL_PUT_ERROR(SSL, ssl_parse_clienthello_renegotiate_ext, in ssl_parse_clienthello_renegotiate_ext()
157 OPENSSL_PUT_ERROR(SSL, ssl_parse_clienthello_renegotiate_ext, in ssl_parse_clienthello_renegotiate_ext()
169 int ssl_add_serverhello_renegotiate_ext(SSL *s, unsigned char *p, int *len, in ssl_add_serverhello_renegotiate_ext()
174 OPENSSL_PUT_ERROR(SSL, ssl_add_serverhello_renegotiate_ext, in ssl_add_serverhello_renegotiate_ext()
199 int ssl_parse_serverhello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert) { in ssl_parse_serverhello_renegotiate_ext()
212 OPENSSL_PUT_ERROR(SSL, ssl_parse_serverhello_renegotiate_ext, in ssl_parse_serverhello_renegotiate_ext()
220 OPENSSL_PUT_ERROR(SSL, ssl_parse_serverhello_renegotiate_ext, in ssl_parse_serverhello_renegotiate_ext()
[all …]
Ds3_enc.c163 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, in ssl3_prf()
183 OPENSSL_PUT_ERROR(SSL, ssl3_prf, ERR_R_INTERNAL_ERROR); in ssl3_prf()
192 OPENSSL_PUT_ERROR(SSL, ssl3_prf, ERR_LIB_EVP); in ssl3_prf()
207 OPENSSL_PUT_ERROR(SSL, ssl3_prf, ERR_LIB_EVP); in ssl3_prf()
229 void ssl3_cleanup_key_block(SSL *s) { in ssl3_cleanup_key_block()
238 int ssl3_init_finished_mac(SSL *s) { in ssl3_init_finished_mac()
250 void ssl3_free_digest_list(SSL *s) { in ssl3_free_digest_list()
264 int ssl3_finish_mac(SSL *s, const uint8_t *buf, int len) { in ssl3_finish_mac()
280 SSL *s, enum should_free_handshake_buffer_t should_free_handshake_buffer) { in ssl3_digest_cached_records()
[all …]
Ds3_lib.c181 int ssl3_set_handshake_header(SSL *s, int htype, unsigned long len) { in ssl3_set_handshake_header()
192 int ssl3_handshake_write(SSL *s) { return ssl3_do_write(s, SSL3_RT_HANDSHAKE); } in ssl3_handshake_write()
194 int ssl3_new(SSL *s) { in ssl3_new()
217 void ssl3_free(SSL *s) { in ssl3_free()
245 int SSL_session_reused(const SSL *ssl) { in SSL_session_reused()
249 int SSL_total_renegotiations(const SSL *ssl) { in SSL_total_renegotiations()
253 int SSL_num_renegotiations(const SSL *ssl) { in SSL_num_renegotiations()
261 int SSL_need_rsa(const SSL *ssl) { in SSL_need_rsa()
269 int SSL_set_tmp_rsa(SSL *ssl, const RSA *rsa) { in SSL_set_tmp_rsa()
277 OPENSSL_PUT_ERROR(SSL, SSL_CTX_set_tmp_dh, ERR_R_DH_LIB); in SSL_CTX_set_tmp_dh()
[all …]
Dd1_pkt.c184 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) { in dtls1_process_record()
197 OPENSSL_PUT_ERROR(SSL, dtls1_process_record, in dtls1_process_record()
229 OPENSSL_PUT_ERROR(SSL, dtls1_process_record, SSL_R_DATA_LENGTH_TOO_LONG); in dtls1_process_record()
262 int dtls1_get_record(SSL *s) { in dtls1_get_record()
391 int dtls1_read_app_data(SSL *ssl, uint8_t *buf, int len, int peek) { in dtls1_read_app_data()
395 void dtls1_read_close_notify(SSL *ssl) { in dtls1_read_close_notify()
[all …]
Dd1_lib.c84 static void get_current_time(const SSL *ssl, struct timeval *out_clock);
86 int dtls1_new(SSL *s) { in dtls1_new()
121 static void dtls1_clear_queues(SSL *s) { in dtls1_clear_queues()
138 void dtls1_free(SSL *s) { in dtls1_free()
159 void dtls1_start_timer(SSL *s) { in dtls1_start_timer()
174 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout()
214 int dtls1_is_timer_expired(SSL *s) { in dtls1_is_timer_expired()
231 void dtls1_double_timeout(SSL *s) { in dtls1_double_timeout()
239 void dtls1_stop_timer(SSL *s) { in dtls1_stop_timer()
250 int dtls1_check_timeout_num(SSL *s) { in dtls1_check_timeout_num()
[all …]
Ds3_both.c134 int ssl3_do_write(SSL *s, int type) { in ssl3_do_write()
156 int ssl3_send_finished(SSL *s, int a, int b, const char *sender, int slen) { in ssl3_send_finished()
200 static void ssl3_take_mac(SSL *s) { in ssl3_take_mac()
222 int ssl3_get_finished(SSL *s, int a, int b) { in ssl3_get_finished()
245 OPENSSL_PUT_ERROR(SSL, ssl3_get_finished, SSL_R_GOT_A_FIN_BEFORE_A_CCS); in ssl3_get_finished()
255 OPENSSL_PUT_ERROR(SSL, ssl3_get_finished, SSL_R_BAD_DIGEST_LENGTH); in ssl3_get_finished()
261 OPENSSL_PUT_ERROR(SSL, ssl3_get_finished, SSL_R_DIGEST_CHECK_FAILED); in ssl3_get_finished()
291 int ssl3_send_change_cipher_spec(SSL *s, int a, int b) { in ssl3_send_change_cipher_spec()
304 int ssl3_output_cert_chain(SSL *s, CERT_PKEY *cpk) { in ssl3_output_cert_chain()
311 OPENSSL_PUT_ERROR(SSL, ssl3_output_cert_chain, ERR_R_BUF_LIB); in ssl3_output_cert_chain()
[all …]
Dd1_both.c146 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); in dtls1_hm_fragment_new()
165 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
177 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_OVERFLOW); in dtls1_hm_fragment_new()
183 OPENSSL_PUT_ERROR(SSL, dtls1_hm_fragment_new, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
262 int dtls1_do_write(SSL *s, int type, enum dtls1_use_epoch_t use_epoch) { in dtls1_do_write()
329 OPENSSL_PUT_ERROR(SSL, dtls1_do_write, SSL_R_MTU_TOO_SMALL); in dtls1_do_write()
347 OPENSSL_PUT_ERROR(SSL, dtls1_do_write, SSL_R_MTU_TOO_SMALL); in dtls1_do_write()
385 static int dtls1_is_next_message_complete(SSL *s) { in dtls1_is_next_message_complete()
[all …]
Dssl_sess.c163 SSL_SESSION *SSL_get_session(const SSL *ssl) in SSL_get_session()
169 SSL_SESSION *SSL_get1_session(SSL *ssl) { in SSL_get1_session()
198 OPENSSL_PUT_ERROR(SSL, SSL_SESSION_new, ERR_R_MALLOC_FAILURE); in SSL_SESSION_new()
227 static int def_generate_session_id(const SSL *ssl, uint8_t *id, in def_generate_session_id()
252 int ssl_get_new_session(SSL *s, int session) { in ssl_get_new_session()
260 OPENSSL_PUT_ERROR(SSL, ssl_get_new_session, in ssl_get_new_session()
285 OPENSSL_PUT_ERROR(SSL, ssl_get_new_session, in ssl_get_new_session()
308 OPENSSL_PUT_ERROR(SSL, ssl_get_new_session, in ssl_get_new_session()
318 OPENSSL_PUT_ERROR(SSL, ssl_get_new_session, in ssl_get_new_session()
327 OPENSSL_PUT_ERROR(SSL, ssl_get_new_session, in ssl_get_new_session()
[all …]
Dt1_enc.c223 int tls1_prf(SSL *s, uint8_t *out, size_t out_len, const uint8_t *secret, in tls1_prf()
241 OPENSSL_PUT_ERROR(SSL, tls1_prf, ERR_R_MALLOC_FAILURE); in tls1_prf()
285 static int tls1_generate_key_block(SSL *s, uint8_t *out, size_t out_len) { in tls1_generate_key_block()
295 int tls1_change_cipher_state(SSL *s, int which) { in tls1_change_cipher_state()
320 OPENSSL_PUT_ERROR(SSL, tls1_change_cipher_state, ERR_R_INTERNAL_ERROR); in tls1_change_cipher_state()
330 OPENSSL_PUT_ERROR(SSL, tls1_change_cipher_state, ERR_R_INTERNAL_ERROR); in tls1_change_cipher_state()
361 OPENSSL_PUT_ERROR(SSL, tls1_change_cipher_state, ERR_R_INTERNAL_ERROR); in tls1_change_cipher_state()
382 int tls1_setup_key_block(SSL *s) { in tls1_setup_key_block()
409 OPENSSL_PUT_ERROR(SSL, tls1_setup_key_block, ERR_R_INTERNAL_ERROR); in tls1_setup_key_block()
416 OPENSSL_PUT_ERROR(SSL, tls1_setup_key_block, ERR_R_INTERNAL_ERROR); in tls1_setup_key_block()
[all …]
Dssl_cert.c154 OPENSSL_PUT_ERROR(SSL, ssl_cert_new, ERR_R_MALLOC_FAILURE); in ssl_cert_new()
169 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_MALLOC_FAILURE); in ssl_cert_dup()
184 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_DH_LIB); in ssl_cert_dup()
190 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_BN_LIB); in ssl_cert_dup()
198 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_BN_LIB); in ssl_cert_dup()
223 OPENSSL_PUT_ERROR(SSL, ssl_cert_dup, ERR_R_MALLOC_FAILURE); in ssl_cert_dup()
397 void ssl_cert_set_cert_cb(CERT *c, int (*cb)(SSL *ssl, void *arg), void *arg) { in ssl_cert_set_cert_cb()
407 OPENSSL_PUT_ERROR(SSL, ssl_sess_cert_new, ERR_R_MALLOC_FAILURE); in ssl_sess_cert_new()
441 int ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk) { in ssl_verify_cert_chain()
459 OPENSSL_PUT_ERROR(SSL, ssl_verify_cert_chain, ERR_R_X509_LIB); in ssl_verify_cert_chain()
[all …]
Dt1_lib.c125 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, in tls1_check_duplicate_extensions()
387 static void tls1_get_curvelist(SSL *s, int get_peer_curves, in tls1_get_curvelist()
407 int tls1_check_curve(SSL *s, CBS *cbs, uint16_t *out_curve_id) { in tls1_check_curve()
431 int tls1_get_shared_curve(SSL *s) { in tls1_get_shared_curve()
540 static int tls1_check_point_format(SSL *s, uint8_t comp_id) { in tls1_check_point_format()
563 static int tls1_check_curve_id(SSL *s, uint16_t curve_id) { in tls1_check_curve_id()
596 static void tls1_get_formatlist(SSL *s, const uint8_t **pformats, in tls1_get_formatlist()
[all …]
Dssl_aead_ctx.c37 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_INTERNAL_ERROR); in SSL_AEAD_CTX_new()
46 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_INTERNAL_ERROR); in SSL_AEAD_CTX_new()
59 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_MALLOC_FAILURE); in SSL_AEAD_CTX_new()
79 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_new, ERR_R_INTERNAL_ERROR); in SSL_AEAD_CTX_new()
149 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_open, SSL_R_BUFFER_TOO_SMALL); in SSL_AEAD_CTX_open()
164 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_open, SSL_R_BAD_PACKET_LENGTH); in SSL_AEAD_CTX_open()
181 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_open, SSL_R_BAD_PACKET_LENGTH); in SSL_AEAD_CTX_open()
204 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_seal, SSL_R_BUFFER_TOO_SMALL); in SSL_AEAD_CTX_seal()
238 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_seal, SSL_R_BUFFER_TOO_SMALL); in SSL_AEAD_CTX_seal()
242 OPENSSL_PUT_ERROR(SSL, SSL_AEAD_CTX_seal, SSL_R_OUTPUT_ALIASES_INPUT); in SSL_AEAD_CTX_seal()
/external/boringssl/src/include/openssl/
Dssl.h283 OPENSSL_EXPORT SSL *SSL_new(SSL_CTX *ctx);
286 OPENSSL_EXPORT void SSL_free(SSL *ssl);
289 OPENSSL_EXPORT void SSL_set_connect_state(SSL *ssl);
292 OPENSSL_EXPORT void SSL_set_accept_state(SSL *ssl);
317 OPENSSL_EXPORT void SSL_set_min_version(SSL *ssl, uint16_t version);
321 OPENSSL_EXPORT void SSL_set_max_version(SSL *ssl, uint16_t version);
401 OPENSSL_EXPORT uint32_t SSL_set_options(SSL *ssl, uint32_t options);
406 OPENSSL_EXPORT uint32_t SSL_clear_options(SSL *ssl, uint32_t options);
410 OPENSSL_EXPORT uint32_t SSL_get_options(const SSL *ssl);
486 OPENSSL_EXPORT uint32_t SSL_set_mode(SSL *ssl, uint32_t mode);
[all …]
Dsrtp.h143 OPENSSL_EXPORT int SSL_set_srtp_profiles(SSL *ctx, const char *profiles);
147 SSL *ssl);
152 SSL *s);
170 OPENSSL_EXPORT int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles);
Dtls1.h281 OPENSSL_EXPORT const char *SSL_get_servername(const SSL *s, const int type);
282 OPENSSL_EXPORT int SSL_get_servername_type(const SSL *s);
291 SSL *s, uint8_t *out, size_t out_len, const char *label, size_t label_len,
294 OPENSSL_EXPORT int SSL_get_sigalgs(SSL *s, int idx, int *psign, int *phash,
298 OPENSSL_EXPORT int SSL_get_shared_sigalgs(SSL *s, int idx, int *psign,
304 OPENSSL_EXPORT int SSL_set_tlsext_host_name(SSL *ssl, const char *name);
314 SSL_CTX *ctx, int (*callback)(SSL *ssl, int *out_alert, void *arg));
354 SSL_CTX *ctx, int (*callback)(SSL *ssl, uint8_t *key_name, uint8_t *iv,
/external/boringssl/
Dandroid_compat_hacks.c56 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) { in SSL_set_session_ticket_ext()
60 int SSL_set_session_ticket_ext_cb(SSL *s, void *cb, void *arg) { in SSL_set_session_ticket_ext_cb()
64 int SSL_set_session_secret_cb(SSL *s, void *cb, void *arg) { in SSL_set_session_secret_cb()
68 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method) { in SSL_set_ssl_method()

1234