Lines Matching refs:SSL
167 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
178 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
186 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in dtls1_hm_fragment_new()
192 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in dtls1_hm_fragment_new()
255 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete()
266 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message()
281 OPENSSL_PUT_ERROR(SSL, SSL_R_FRAGMENT_MISMATCH); in dtls1_get_incoming_message()
297 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake()
310 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in dtls1_open_handshake()
323 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in dtls1_open_handshake()
329 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_CHANGE_CIPHER_SPEC); in dtls1_open_handshake()
345 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in dtls1_open_handshake()
357 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_HANDSHAKE_RECORD); in dtls1_open_handshake()
368 OPENSSL_PUT_ERROR(SSL, SSL_R_EXCESSIVE_MESSAGE_SIZE); in dtls1_open_handshake()
375 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in dtls1_open_handshake()
408 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message()
426 void dtls1_next_message(SSL *ssl) { in dtls1_next_message()
440 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data()
475 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec()
500 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages()
511 bool dtls1_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in dtls1_init_message()
525 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in dtls1_finish_message()
528 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in dtls1_finish_message()
555 static bool add_outgoing(SSL *ssl, bool is_ccs, Array<uint8_t> data) { in add_outgoing()
569 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in add_outgoing()
578 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in add_outgoing()
596 bool dtls1_add_message(SSL *ssl, Array<uint8_t> data) { in dtls1_add_message()
600 bool dtls1_add_change_cipher_spec(SSL *ssl) { in dtls1_add_change_cipher_spec()
606 static void dtls1_update_mtu(SSL *ssl) { in dtls1_update_mtu()
635 static enum seal_result_t seal_next_message(SSL *ssl, uint8_t *out, in seal_next_message()
645 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in seal_next_message()
680 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in seal_next_message()
705 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in seal_next_message()
730 static bool seal_next_packet(SSL *ssl, uint8_t *out, size_t *out_len, in seal_next_packet()
765 OPENSSL_PUT_ERROR(SSL, SSL_R_MTU_TOO_SMALL); in seal_next_packet()
773 static int send_flight(SSL *ssl) { in send_flight()
775 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in send_flight()
784 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in send_flight()
820 int dtls1_flush_flight(SSL *ssl) { in dtls1_flush_flight()
827 int dtls1_retransmit_outgoing_messages(SSL *ssl) { in dtls1_retransmit_outgoing_messages()