Home
last modified time | relevance | path

Searched refs:msg_callback (Results 1 – 20 of 20) sorted by relevance

/external/libsepol/src/
Ddebug.c9 .msg_callback = sepol_msg_default_handler,
15 sepol_compat_handle.msg_callback = (on) ? in sepol_debug()
80 void (*msg_callback) (void *varg, in sepol_msg_set_callback()
87 handle->msg_callback = msg_callback; in sepol_msg_set_callback()
Ddebug.h39 if (_sepol_h->msg_callback) { \
44 _sepol_h->msg_callback( \
Dhandle.h14 void (*msg_callback) (void *varg, member
Dhandle.c14 sh->msg_callback = sepol_msg_default_handler; in sepol_handle_create()
/external/openssl/ssl/
Ds2_srvr.c436 if (s->msg_callback) in get_client_master_key()
437 s->msg_callback(0, s->version, 0, p, (size_t)len, s, s->msg_callback_arg); /* CLIENT-MASTER-KEY */ in get_client_master_key()
585 if (s->msg_callback) in get_client_hello()
586 s->msg_callback(0, s->version, 0, p, (size_t)len, s, s->msg_callback_arg); /* CLIENT-HELLO */ in get_client_hello()
858 if (s->msg_callback) in get_client_finished()
859 s->msg_callback(0, s->version, 0, p, len, s, s->msg_callback_arg); /* CLIENT-FINISHED */ in get_client_finished()
981 if (s->msg_callback) in request_certificate()
982 s->msg_callback(0, s->version, 0, p, 3, s, s->msg_callback_arg); /* ERROR */ in request_certificate()
1036 if (s->msg_callback) in request_certificate()
1037 s->msg_callback(0, s->version, 0, p, len, s, s->msg_callback_arg); /* CLIENT-CERTIFICATE */ in request_certificate()
Ds3_both.c142 if (s->msg_callback) in ssl3_do_write()
143 …s->msg_callback(1, s->version, type, s->init_buf->data, (size_t)(s->init_off + s->init_num), s, s-… in ssl3_do_write()
481 if (s->msg_callback) in ssl3_get_message()
482 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, p, 4, s, s->msg_callback_arg); in ssl3_get_message()
560 if (s->msg_callback) in ssl3_get_message()
561 …s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, (size_t)s->init_num + 4, s, s… in ssl3_get_message()
Dd1_both.c384 if (s->msg_callback) in dtls1_do_write()
385 s->msg_callback(1, s->version, type, s->init_buf->data, in dtls1_do_write()
458 if (s->msg_callback) in dtls1_get_message()
459 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, in dtls1_get_message()
832 if (s->msg_callback) in dtls1_get_message_fragment()
833 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, in dtls1_get_message_fragment()
1460 if (s->msg_callback) in dtls1_process_heartbeat()
1461 s->msg_callback(0, s->version, TLS1_RT_HEARTBEAT, in dtls1_process_heartbeat()
1487 if (r >= 0 && s->msg_callback) in dtls1_process_heartbeat()
1488 s->msg_callback(1, s->version, TLS1_RT_HEARTBEAT, in dtls1_process_heartbeat()
[all …]
Ds23_clnt.c575 if ((ret >= 2) && s->msg_callback) in ssl23_client_hello()
580 s->msg_callback(1, SSL2_VERSION, 0, s->init_buf->data+2, ret-2, s, s->msg_callback_arg); in ssl23_client_hello()
582 …s->msg_callback(1, version, SSL3_RT_HANDSHAKE, s->init_buf->data+5, ret-5, s, s->msg_callback_arg); in ssl23_client_hello()
737 if (s->msg_callback) in ssl23_get_server_hello()
738 s->msg_callback(0, s->version, SSL3_RT_ALERT, p+5, 2, s, s->msg_callback_arg); in ssl23_get_server_hello()
Ds2_clnt.c390 if (s->msg_callback) in get_server_hello()
391 s->msg_callback(0, s->version, 0, buf, (size_t)len, s, s->msg_callback_arg); /* SERVER-HELLO */ in get_server_hello()
769 if (s->msg_callback) in client_certificate()
770 …s->msg_callback(0, s->version, 0, buf, (size_t)s->init_num, s, s->msg_callback_arg); /* REQUEST-CE… in client_certificate()
938 if (s->msg_callback) in get_server_verify()
939 s->msg_callback(0, s->version, 0, p, len, s, s->msg_callback_arg); /* SERVER-VERIFY */ in get_server_verify()
996 if (s->msg_callback) in get_server_finished()
997 …s->msg_callback(0, s->version, 0, buf, (size_t)s->init_num, s, s->msg_callback_arg); /* SERVER-FIN… in get_server_finished()
Ds3_pkt.c1142 if (s->msg_callback) in ssl3_read_bytes()
1143 …s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->s3->handshake_fragment, 4, s, s->msg_callback… in ssl3_read_bytes()
1208 if (s->msg_callback) in ssl3_read_bytes()
1209 s->msg_callback(0, s->version, SSL3_RT_ALERT, s->s3->alert_fragment, 2, s, s->msg_callback_arg); in ssl3_read_bytes()
1302 if (s->msg_callback) in ssl3_read_bytes()
1303 s->msg_callback(0, s->version, SSL3_RT_CHANGE_CIPHER_SPEC, rr->data, 1, s, s->msg_callback_arg); in ssl3_read_bytes()
1508 if (s->msg_callback) in ssl3_dispatch_alert()
1509 s->msg_callback(1, s->version, SSL3_RT_ALERT, s->s3->send_alert, 2, s, s->msg_callback_arg); in ssl3_dispatch_alert()
Dd1_pkt.c1046 if (s->msg_callback) in dtls1_read_bytes()
1047 s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, in dtls1_read_bytes()
1096 if (s->msg_callback) in dtls1_read_bytes()
1097 s->msg_callback(0, s->version, SSL3_RT_ALERT, in dtls1_read_bytes()
1213 if (s->msg_callback) in dtls1_read_bytes()
1214 s->msg_callback(0, s->version, SSL3_RT_CHANGE_CIPHER_SPEC, in dtls1_read_bytes()
1766 if (s->msg_callback) in dtls1_dispatch_alert()
1767 s->msg_callback(1, s->version, SSL3_RT_ALERT, s->s3->send_alert, in dtls1_dispatch_alert()
Ds2_lib.c540 if (s->msg_callback) in ssl2_write_error()
541 s->msg_callback(1, s->version, 0, buf, 3, s, s->msg_callback_arg); /* ERROR */ in ssl2_write_error()
Ds23_srvr.c458 if (s->msg_callback) in ssl23_get_client_hello()
459 …s->msg_callback(0, SSL2_VERSION, 0, s->packet+2, s->packet_length-2, s, s->msg_callback_arg); /* C… in ssl23_get_client_hello()
Dt1_lib.c2520 if (s->msg_callback) in tls1_process_heartbeat()
2521 s->msg_callback(0, s->version, TLS1_RT_HEARTBEAT, in tls1_process_heartbeat()
2547 if (r >= 0 && s->msg_callback) in tls1_process_heartbeat()
2548 s->msg_callback(1, s->version, TLS1_RT_HEARTBEAT, in tls1_process_heartbeat()
2637 if (s->msg_callback) in tls1_heartbeat()
2638 s->msg_callback(1, s->version, TLS1_RT_HEARTBEAT, in tls1_heartbeat()
Ds2_pkt.c702 if (s->msg_callback) in ssl2_do_write()
703 …s->msg_callback(1, s->version, 0, s->init_buf->data, (size_t)(s->init_off + s->init_num), s, s->ms… in ssl2_do_write()
Dssl_lib.c322 s->msg_callback=ctx->msg_callback; in SSL_new()
1118 …s->msg_callback = (void (*)(int write_p, int version, int content_type, const void *buf, size_t le… in SSL_callback_ctrl()
1215 …ctx->msg_callback = (void (*)(int write_p, int version, int content_type, const void *buf, size_t … in SSL_CTX_callback_ctrl()
1771 ret->msg_callback=0; in IMPLEMENT_LHASH_HASH_FN()
2739 ret->msg_callback = s->msg_callback; in SSL_dup()
Dssl.h887 …void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL … member
1190 …void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL … member
/external/libsepol/include/sepol/
Ddebug.h29 void (*msg_callback) (void *varg,
/external/openssl/patches/
Dchannelid.patch35 if (s->msg_callback)
36 …s->msg_callback(0, s->version, SSL3_RT_HANDSHAKE, s->init_buf->data, (size_t)s->init_num + 4, s, s…
/external/openssl/include/openssl/
Dssl.h887 …void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL … member
1190 …void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL … member