Lines Matching defs:ctx
200 dtls_send(dtls_context_t *ctx, dtls_peer_t *peer, unsigned char type, in dtls_send()
212 dtls_get_peer(const dtls_context_t *ctx, const session_t *session) { in dtls_get_peer()
227 dtls_add_peer(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_add_peer()
236 dtls_write(struct dtls_context_t *ctx, in dtls_write()
286 dtls_create_cookie(dtls_context_t *ctx, in dtls_create_cookie()
481 static inline int is_psk_supported(dtls_context_t *ctx) in is_psk_supported()
491 static inline int is_ecdsa_supported(dtls_context_t *ctx, int is_client) in is_ecdsa_supported()
503 static inline int is_ecdsa_client_auth_supported(dtls_context_t *ctx) in is_ecdsa_client_auth_supported()
522 known_cipher(dtls_context_t *ctx, dtls_cipher_t code, int is_client) { in known_cipher()
599 calculate_key_block(dtls_context_t *ctx, in calculate_key_block()
900 dtls_update_parameters(dtls_context_t *ctx, in dtls_update_parameters()
1005 check_client_keyexchange(dtls_context_t *ctx, in check_client_keyexchange()
1104 check_finished(dtls_context_t *ctx, dtls_peer_t *peer, in check_finished()
1323 dtls_send_handshake_msg_hash(dtls_context_t *ctx, in dtls_send_handshake_msg_hash()
1361 dtls_send_handshake_msg(dtls_context_t *ctx, 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()
1494 dtls_close(dtls_context_t *ctx, const session_t *remote) { in dtls_close()
1508 static void dtls_destroy_peer(dtls_context_t *ctx, dtls_peer_t *peer, int unlink) in dtls_destroy_peer()
1540 dtls_verify_peer(dtls_context_t *ctx, in dtls_verify_peer()
1691 check_client_certificate_verify(dtls_context_t *ctx, 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()
2460 check_server_hello(dtls_context_t *ctx, in check_server_hello()
2530 check_server_hello_verify_request(dtls_context_t *ctx, in check_server_hello_verify_request()
2552 check_server_certificate(dtls_context_t *ctx, in check_server_certificate()
2604 check_server_key_exchange_ecdsa(dtls_context_t *ctx, in check_server_key_exchange_ecdsa()
2687 check_server_key_exchange_psk(dtls_context_t *ctx, in check_server_key_exchange_psk()
2726 check_certificate_request(dtls_context_t *ctx, in check_certificate_request()
2804 check_server_hellodone(dtls_context_t *ctx, in check_server_hellodone()
2948 dtls_send_hello_request(dtls_context_t *ctx, dtls_peer_t *peer) in dtls_send_hello_request()
2956 dtls_renegotiate(dtls_context_t *ctx, const session_t *dst) in dtls_renegotiate()
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()
3591 dtls_handle_message(dtls_context_t *ctx, in dtls_handle_message()
3802 dtls_free_context(dtls_context_t *ctx) { in dtls_free_context()
3826 dtls_connect_peer(dtls_context_t *ctx, dtls_peer_t *peer) { in dtls_connect_peer()
3862 dtls_connect(dtls_context_t *ctx, const session_t *dst) { in dtls_connect()