Lines Matching defs:peer
200 dtls_send(dtls_context_t *ctx, dtls_peer_t *peer, unsigned char type, in dtls_send()
227 dtls_add_peer(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_add_peer()
239 dtls_peer_t *peer = dtls_get_peer(ctx, dst); in dtls_write() local
424 dtls_set_handshake_header(uint8 type, dtls_peer_t *peer, in dtls_set_handshake_header()
601 dtls_peer_t *peer, in calculate_key_block()
777 dtls_check_tls_extension(dtls_peer_t *peer, in dtls_check_tls_extension()
901 dtls_peer_t *peer, in dtls_update_parameters()
1070 update_hs_hash(dtls_peer_t *peer, uint8 *data, size_t length) { in update_hs_hash()
1076 copy_hs_hash(dtls_peer_t *peer, dtls_hash_ctx *hs_hash) { in copy_hs_hash()
1082 finalize_hs_hash(dtls_peer_t *peer, uint8 *buf) { in finalize_hs_hash()
1087 clear_hs_hash(dtls_peer_t *peer) { in clear_hs_hash()
1104 check_finished(dtls_context_t *ctx, dtls_peer_t *peer, in check_finished()
1180 dtls_prepare_record(dtls_peer_t *peer, dtls_security_parameters_t *security, in dtls_prepare_record()
1324 dtls_peer_t *peer, in dtls_send_handshake_msg_hash()
1362 dtls_peer_t *peer, in dtls_send_handshake_msg()
1407 dtls_send_multi(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_multi()
1485 dtls_send_alert(dtls_context_t *ctx, dtls_peer_t *peer, dtls_alert_level_t level, in dtls_send_alert()
1496 dtls_peer_t *peer; in dtls_close() local
1508 static void dtls_destroy_peer(dtls_context_t *ctx, dtls_peer_t *peer, int unlink) in dtls_destroy_peer()
1541 dtls_peer_t *peer, in dtls_verify_peer()
1692 dtls_peer_t *peer, in check_client_certificate_verify()
1736 dtls_send_server_hello(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_server_hello()
1834 dtls_send_certificate_ecdsa(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_certificate_ecdsa()
1924 dtls_send_server_key_exchange_ecdh(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_server_key_exchange_ecdh()
1989 dtls_send_server_key_exchange_psk(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_server_key_exchange_psk()
2019 dtls_send_server_certificate_request(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_server_certificate_request()
2061 dtls_send_server_hello_done(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_server_hello_done()
2073 dtls_send_server_hello_msgs(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_server_hello_msgs()
2156 dtls_send_ccs(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_send_ccs()
2164 dtls_send_client_key_exchange(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_client_key_exchange()
2241 dtls_send_certificate_verify_ecdh(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_certificate_verify_ecdh()
2277 dtls_send_finished(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_finished()
2308 dtls_send_client_hello(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_send_client_hello()
2461 dtls_peer_t *peer, in check_server_hello()
2531 dtls_peer_t *peer, in check_server_hello_verify_request()
2553 dtls_peer_t *peer, in check_server_certificate()
2605 dtls_peer_t *peer, in check_server_key_exchange_ecdsa()
2688 dtls_peer_t *peer, in check_server_key_exchange_psk()
2727 dtls_peer_t *peer, in check_certificate_request()
2805 dtls_peer_t *peer, in check_server_hellodone()
2877 decrypt_verify(dtls_peer_t *peer, uint8 *packet, size_t length, in decrypt_verify()
2948 dtls_send_hello_request(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_hello_request()
2958 dtls_peer_t *peer = NULL; in dtls_renegotiate() local
2992 handle_handshake_msg(dtls_context_t *ctx, dtls_peer_t *peer, session_t *session, in handle_handshake_msg()
3347 handle_handshake(dtls_context_t *ctx, dtls_peer_t *peer, session_t *session, in handle_handshake()
3457 handle_ccs(dtls_context_t *ctx, dtls_peer_t *peer, in handle_ccs()
3496 handle_alert(dtls_context_t *ctx, dtls_peer_t *peer, in handle_alert()
3559 static int dtls_alert_send_from_err(dtls_context_t *ctx, dtls_peer_t *peer, in dtls_alert_send_from_err()
3594 dtls_peer_t *peer = NULL; in dtls_handle_message() local
3826 dtls_connect_peer(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_connect_peer()
3863 dtls_peer_t *peer; in dtls_connect() local
3941 dtls_stop_retransmission(dtls_context_t *context, dtls_peer_t *peer) { in dtls_stop_retransmission()