Lines Matching refs:SSL
151 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
161 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
168 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in dtls1_hm_fragment_new()
174 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
250 static void dtls1_update_mtu(SSL *ssl) { in dtls1_update_mtu()
270 static size_t dtls1_max_record_size(SSL *ssl) { in dtls1_max_record_size()
288 static int dtls1_write_change_cipher_spec(SSL *ssl, in dtls1_write_change_cipher_spec()
320 int dtls1_do_handshake_write(SSL *ssl, enum dtls1_use_epoch_t use_epoch) { in dtls1_do_handshake_write()
359 OPENSSL_PUT_ERROR(SSL, SSL_R_MTU_TOO_SMALL); in dtls1_do_handshake_write()
381 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in dtls1_do_handshake_write()
414 static int dtls1_is_next_message_complete(SSL *ssl) { in dtls1_is_next_message_complete()
432 static int dtls1_discard_fragment_body(SSL *ssl, size_t frag_len) { in dtls1_discard_fragment_body()
450 SSL *ssl, const struct hm_header_st *msg_hdr) { in dtls1_get_buffered_message()
482 OPENSSL_PUT_ERROR(SSL, SSL_R_FRAGMENT_MISMATCH); in dtls1_get_buffered_message()
493 static size_t dtls1_max_handshake_message_len(const SSL *ssl) { in dtls1_max_handshake_message_len()
503 static int dtls1_process_fragment(SSL *ssl) { in dtls1_process_fragment()
512 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_MESSAGE); in dtls1_process_fragment()
530 OPENSSL_PUT_ERROR(SSL, SSL_R_EXCESSIVE_MESSAGE_SIZE); in dtls1_process_fragment()
564 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in dtls1_process_fragment()
576 long dtls1_get_message(SSL *ssl, int st1, int stn, int msg_type, long max, in dtls1_get_message()
592 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_MESSAGE); in dtls1_get_message()
618 OPENSSL_PUT_ERROR(SSL, SSL_R_EXCESSIVE_MESSAGE_SIZE); in dtls1_get_message()
638 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_get_message()
654 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_MESSAGE); in dtls1_get_message()
682 int dtls1_read_failed(SSL *ssl, int code) { in dtls1_read_failed()
717 static int dtls1_retransmit_message(SSL *ssl, hm_fragment *frag) { in dtls1_retransmit_message()
750 int dtls1_retransmit_buffered_messages(SSL *ssl) { in dtls1_retransmit_buffered_messages()
768 static int dtls1_buffer_change_cipher_spec(SSL *ssl, uint16_t seq) { in dtls1_buffer_change_cipher_spec()
793 int dtls1_buffer_message(SSL *ssl) { in dtls1_buffer_message()
833 int dtls1_send_change_cipher_spec(SSL *ssl, int a, int b) { in dtls1_send_change_cipher_spec()
845 void dtls1_clear_record_buffer(SSL *ssl) { in dtls1_clear_record_buffer()
856 void dtls1_set_message_header(SSL *ssl, uint8_t mt, unsigned long len, in dtls1_set_message_header()