/third_party/openssl/ssl/record/ |
D | rec_layer_d1.c | 129 SSL3_BUFFER_release(&s->rlayer.rbuf); in dtls1_copy_record() 131 s->rlayer.packet = rdata->packet; in dtls1_copy_record() 132 s->rlayer.packet_length = rdata->packet_length; in dtls1_copy_record() 133 memcpy(&s->rlayer.rbuf, &(rdata->rbuf), sizeof(SSL3_BUFFER)); in dtls1_copy_record() 134 memcpy(&s->rlayer.rrec, &(rdata->rrec), sizeof(SSL3_RECORD)); in dtls1_copy_record() 137 memcpy(&(s->rlayer.read_sequence[2]), &(rdata->packet[5]), 6); in dtls1_copy_record() 161 rdata->packet = s->rlayer.packet; in dtls1_buffer_record() 162 rdata->packet_length = s->rlayer.packet_length; in dtls1_buffer_record() 163 memcpy(&(rdata->rbuf), &s->rlayer.rbuf, sizeof(SSL3_BUFFER)); in dtls1_buffer_record() 164 memcpy(&(rdata->rrec), &s->rlayer.rrec, sizeof(SSL3_RECORD)); in dtls1_buffer_record() [all …]
|
D | rec_layer_s3.c | 32 RECORD_LAYER_set_first_record(&s->rlayer); in RECORD_LAYER_init() 115 if (s->rlayer.rstate == SSL_ST_READ_BODY) in ssl3_pending() 118 for (i = 0; i < RECORD_LAYER_get_numrpipes(&s->rlayer); i++) { in ssl3_pending() 119 if (SSL3_RECORD_get_type(&s->rlayer.rrec[i]) in ssl3_pending() 122 num += SSL3_RECORD_get_length(&s->rlayer.rrec[i]); in ssl3_pending() 135 SSL3_BUFFER_set_default_len(RECORD_LAYER_get_rbuf(&s->rlayer), len); in SSL_set_default_read_buffer_len() 140 switch (s->rlayer.rstate) { in SSL_rstate_string_long() 154 switch (s->rlayer.rstate) { in SSL_rstate_string() 188 rb = &s->rlayer.rbuf; in ssl3_read_n() 224 s->rlayer.packet = rb->buf + rb->offset; in ssl3_read_n() [all …]
|
D | ssl3_record.c | 75 rbuf = RECORD_LAYER_get_rbuf(&s->rlayer); in ssl3_record_app_data_waiting() 190 rr = RECORD_LAYER_get_rrec(&s->rlayer); in ssl3_get_record() 191 rbuf = RECORD_LAYER_get_rbuf(&s->rlayer); in ssl3_get_record() 201 if ((RECORD_LAYER_get_rstate(&s->rlayer) != SSL_ST_READ_BODY) || in ssl3_get_record() 202 (RECORD_LAYER_get_packet_length(&s->rlayer) in ssl3_get_record() 212 RECORD_LAYER_set_rstate(&s->rlayer, SSL_ST_READ_BODY); in ssl3_get_record() 214 p = RECORD_LAYER_get_packet(&s->rlayer); in ssl3_get_record() 215 if (!PACKET_buf_init(&pkt, RECORD_LAYER_get_packet(&s->rlayer), in ssl3_get_record() 216 RECORD_LAYER_get_packet_length(&s->rlayer))) { in ssl3_get_record() 231 if (s->server && RECORD_LAYER_is_first_record(&s->rlayer) in ssl3_get_record() [all …]
|
D | ssl3_buffer.c | 43 b = RECORD_LAYER_get_rbuf(&s->rlayer); in ssl3_setup_read_buffer() 77 RECORD_LAYER_set_packet(&s->rlayer, &(b->buf[0])); in ssl3_setup_read_buffer() 88 s->rlayer.numwpipes = numwpipes; in ssl3_setup_write_buffer() 110 wb = RECORD_LAYER_get_wbuf(&s->rlayer); in ssl3_setup_write_buffer() 122 s->rlayer.numwpipes = currpipe; in ssl3_setup_write_buffer() 159 pipes = s->rlayer.numwpipes; in ssl3_release_write_buffer() 161 wb = &RECORD_LAYER_get_wbuf(&s->rlayer)[pipes - 1]; in ssl3_release_write_buffer() 167 s->rlayer.numwpipes = 0; in ssl3_release_write_buffer() 175 b = RECORD_LAYER_get_rbuf(&s->rlayer); in ssl3_release_read_buffer()
|
D | dtls1_bitmap.c | 42 const unsigned char *seq = s->rlayer.read_sequence; in dtls1_record_replay_check() 46 SSL3_RECORD_set_seq_num(RECORD_LAYER_get_rrec(&s->rlayer), seq); in dtls1_record_replay_check() 55 SSL3_RECORD_set_seq_num(RECORD_LAYER_get_rrec(&s->rlayer), seq); in dtls1_record_replay_check() 63 const unsigned char *seq = RECORD_LAYER_get_read_sequence(&s->rlayer); in dtls1_record_bitmap_update()
|
D | ssl3_record_tls13.c | 48 seq = RECORD_LAYER_get_write_sequence(&s->rlayer); in tls13_enc() 52 seq = RECORD_LAYER_get_read_sequence(&s->rlayer); in tls13_enc()
|
/third_party/openssl/test/ |
D | tls13encryptiontest.c | 363 RECORD_LAYER_get_read_sequence(&s->rlayer))) { in test_tls13_encryption() 369 memcpy(RECORD_LAYER_get_write_sequence(&s->rlayer), in test_tls13_encryption() 370 RECORD_LAYER_get_read_sequence(&s->rlayer), SEQ_NUM_SIZE); in test_tls13_encryption()
|
/third_party/openssl/ssl/ |
D | d1_lib.c | 71 if (!DTLS_RECORD_LAYER_new(&s->rlayer)) { in dtls1_new() 141 DTLS_RECORD_LAYER_free(&s->rlayer); in dtls1_free() 162 DTLS_RECORD_LAYER_clear(&s->rlayer); in dtls1_clear() 495 buf = RECORD_LAYER_get_rbuf(&s->rlayer)->buf; in DTLSv1_listen() 496 wbuf = RECORD_LAYER_get_wbuf(&s->rlayer)[0].buf; in DTLSv1_listen() 832 DTLS_RECORD_LAYER_set_write_sequence(&s->rlayer, seq); in DTLSv1_listen()
|
D | s3_msg.c | 58 if (!RECORD_LAYER_write_pending(&s->rlayer)) { in ssl3_send_alert()
|
D | tls13_enc.c | 487 RECORD_LAYER_reset_read_sequence(&s->rlayer); in tls13_change_cipher_state() 503 RECORD_LAYER_reset_write_sequence(&s->rlayer); in tls13_change_cipher_state() 746 RECORD_LAYER_reset_write_sequence(&s->rlayer); in tls13_update_key() 750 RECORD_LAYER_reset_read_sequence(&s->rlayer); in tls13_update_key()
|
D | s3_enc.c | 153 RECORD_LAYER_reset_read_sequence(&s->rlayer); in ssl3_change_cipher_state() 189 RECORD_LAYER_reset_write_sequence(&s->rlayer); in ssl3_change_cipher_state()
|
D | ssl_lib.c | 650 RECORD_LAYER_clear(&s->rlayer); in SSL_clear() 703 RECORD_LAYER_init(&s->rlayer, s); in SSL_new() 734 RECORD_LAYER_set_read_ahead(&s->rlayer, ctx->read_ahead); in SSL_new() 760 RECORD_LAYER_set_read_ahead(&s->rlayer, 1); in SSL_new() 1223 RECORD_LAYER_release(&s->rlayer); in SSL_free() 1484 RECORD_LAYER_set_read_ahead(&s->rlayer, yes); in SSL_set_read_ahead() 1489 return RECORD_LAYER_get_read_ahead(&s->rlayer); in SSL_get_read_ahead() 1519 if (RECORD_LAYER_processed_read_pending(&s->rlayer)) in SSL_has_pending() 1522 return RECORD_LAYER_read_pending(&s->rlayer); in SSL_has_pending() 2183 return RECORD_LAYER_get_read_ahead(&s->rlayer); in SSL_ctrl() [all …]
|
D | t1_enc.c | 149 RECORD_LAYER_reset_read_sequence(&s->rlayer); in tls1_change_cipher_state() 206 RECORD_LAYER_reset_write_sequence(&s->rlayer); in tls1_change_cipher_state()
|
D | s3_lib.c | 4518 if (!RECORD_LAYER_read_pending(&s->rlayer) in ssl3_renegotiate_check() 4519 && !RECORD_LAYER_write_pending(&s->rlayer) in ssl3_renegotiate_check()
|
D | ssl_local.h | 1430 RECORD_LAYER rlayer; member
|
/third_party/openssl/ssl/statem/ |
D | statem_dtls.c | 803 if (frag_len > RECORD_LAYER_get_rrec_length(&s->rlayer)) { in dtls_get_reassembled_message() 1075 DTLS_RECORD_LAYER_get_w_epoch(&s->rlayer); in dtls1_buffer_message() 1142 saved_state.epoch = DTLS_RECORD_LAYER_get_w_epoch(&s->rlayer); in dtls1_retransmit_message() 1151 DTLS_RECORD_LAYER_set_saved_w_epoch(&s->rlayer, in dtls1_retransmit_message() 1163 DTLS_RECORD_LAYER_set_saved_w_epoch(&s->rlayer, saved_state.epoch); in dtls1_retransmit_message()
|
D | statem_lib.c | 631 if (RECORD_LAYER_processed_read_pending(&s->rlayer)) { in tls_process_key_update() 787 if (SSL_IS_TLS13(s) && RECORD_LAYER_processed_read_pending(&s->rlayer)) { in tls_process_finished() 1229 if (RECORD_LAYER_is_sslv2_record(&s->rlayer)) { in tls_get_message_header() 1237 l = RECORD_LAYER_get_rrec_length(&s->rlayer) in tls_get_message_header() 1297 if (RECORD_LAYER_is_sslv2_record(&s->rlayer)) { in tls_get_message_body()
|
D | statem_srvr.c | 1418 clienthello->isv2 = RECORD_LAYER_is_sslv2_record(&s->rlayer); in tls_process_client_hello() 1691 if (SSL_IS_TLS13(s) && RECORD_LAYER_processed_read_pending(&s->rlayer)) { in tls_early_post_process_client_hello() 4281 if (RECORD_LAYER_processed_read_pending(&s->rlayer)) { in tls_process_end_of_early_data()
|
D | statem_clnt.c | 1535 if (RECORD_LAYER_processed_read_pending(&s->rlayer)) { in tls_process_server_hello()
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/ |
D | ssl_types.h | 217 RECORD_LAYER rlayer; member
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_lib.c | 938 ssl->rlayer.read_ahead = yes; in SSL_set_read_ahead() 958 return ssl->rlayer.read_ahead; in SSL_get_read_ahead()
|