• Home
  • Raw
  • Download

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(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()
541 static bool add_outgoing(SSL *ssl, bool is_ccs, Array<uint8_t> data) { in add_outgoing()
555 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in add_outgoing()
564 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in add_outgoing()
582 bool dtls1_add_message(SSL *ssl, Array<uint8_t> data) { in dtls1_add_message()
586 bool dtls1_add_change_cipher_spec(SSL *ssl) { in dtls1_add_change_cipher_spec()
590 bool dtls1_add_alert(SSL *ssl, uint8_t level, uint8_t desc) { in dtls1_add_alert()
595 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in dtls1_add_alert()
601 static void dtls1_update_mtu(SSL *ssl) { in dtls1_update_mtu()
630 static enum seal_result_t seal_next_message(SSL *ssl, uint8_t *out, in seal_next_message()
640 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in seal_next_message()
675 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in seal_next_message()
700 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in seal_next_message()
725 static bool seal_next_packet(SSL *ssl, uint8_t *out, size_t *out_len, in seal_next_packet()
760 OPENSSL_PUT_ERROR(SSL, SSL_R_MTU_TOO_SMALL); in seal_next_packet()
768 static int send_flight(SSL *ssl) { in send_flight()
770 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in send_flight()
779 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in send_flight()
815 int dtls1_flush_flight(SSL *ssl) { in dtls1_flush_flight()
822 int dtls1_retransmit_outgoing_messages(SSL *ssl) { in dtls1_retransmit_outgoing_messages()