Lines Matching refs:thisrr

548     TLS_RL_RECORD *rr, *thisrr;  in tls_get_more_records()  local
575 thisrr = &rr[num_recs]; in tls_get_more_records()
619 thisrr->type = SSL3_RT_HANDSHAKE; in tls_get_more_records()
620 thisrr->rec_version = SSL2_VERSION; in tls_get_more_records()
622 thisrr->length = sslv2len & 0x7fff; in tls_get_more_records()
624 if (thisrr->length > TLS_BUFFER_get_len(rbuf) in tls_get_more_records()
636 || !PACKET_get_net_2_len(&pkt, &thisrr->length)) { in tls_get_more_records()
642 thisrr->type = type; in tls_get_more_records()
643 thisrr->rec_version = version; in tls_get_more_records()
651 if (thisrr->rec_version == SSL2_VERSION) { in tls_get_more_records()
660 if (thisrr->length > in tls_get_more_records()
668 if (!rl->funcs->validate_record_header(rl, thisrr)) { in tls_get_more_records()
680 if (thisrr->rec_version == SSL2_VERSION) { in tls_get_more_records()
681 more = thisrr->length + SSL2_RT_HEADER_LENGTH in tls_get_more_records()
684 more = thisrr->length; in tls_get_more_records()
703 if (thisrr->rec_version == SSL2_VERSION) in tls_get_more_records()
704 thisrr->input = &(rl->packet[SSL2_RT_HEADER_LENGTH]); in tls_get_more_records()
706 thisrr->input = &(rl->packet[SSL3_RT_HEADER_LENGTH]); in tls_get_more_records()
722 thisrr->data = thisrr->input; in tls_get_more_records()
723 thisrr->orig_len = thisrr->length; in tls_get_more_records()
731 && thisrr->type == SSL3_RT_APPLICATION_DATA in tls_get_more_records()
739 && thisrr->type == SSL3_RT_CHANGE_CIPHER_SPEC in tls_get_more_records()
746 if (thisrr->length != 1 || thisrr->data[0] != 0x01) { in tls_get_more_records()
757 thisrr->data, 1, rl->cbarg); in tls_get_more_records()
758 thisrr->type = SSL3_RT_HANDSHAKE; in tls_get_more_records()
792 thisrr = &rr[j]; in tls_get_more_records()
794 if (thisrr->length < mac_size) { in tls_get_more_records()
798 thisrr->length -= mac_size; in tls_get_more_records()
799 mac = thisrr->data + thisrr->length; in tls_get_more_records()
800 i = rl->funcs->mac(rl, thisrr, md, 0 /* not send */); in tls_get_more_records()
851 thisrr = &rr[0]; in tls_get_more_records()
853 if (!rlayer_early_data_count_ok(rl, thisrr->length, in tls_get_more_records()
859 thisrr->length = 0; in tls_get_more_records()
887 thisrr = &rr[j]; in tls_get_more_records()
889 i = rl->funcs->mac(rl, thisrr, md, 0 /* not send */); in tls_get_more_records()
893 if (thisrr->length > SSL3_RT_MAX_COMPRESSED_LENGTH + mac_size) in tls_get_more_records()
922 thisrr = &rr[j]; in tls_get_more_records()
924 if (!rl->funcs->post_process_record(rl, thisrr)) { in tls_get_more_records()
940 && thisrr->length > rl->max_frag_len) { in tls_get_more_records()
945 thisrr->off = 0; in tls_get_more_records()
955 if (thisrr->length == 0) { in tls_get_more_records()
967 thisrr = &rr[0]; in tls_get_more_records()
968 if (thisrr->type == SSL3_RT_APPLICATION_DATA in tls_get_more_records()
969 && !rlayer_early_data_count_ok(rl, thisrr->length, 0, 0)) { in tls_get_more_records()