Lines Matching refs:thiswr
1633 TLS_RL_RECORD *thiswr) in tls_prepare_for_encryption_default() argument
1648 || !rl->funcs->mac(rl, thiswr, mac, 1)) { in tls_prepare_for_encryption_default()
1673 TLS_RL_RECORD_set_data(thiswr, recordstart); in tls_prepare_for_encryption_default()
1674 TLS_RL_RECORD_reset_input(thiswr); in tls_prepare_for_encryption_default()
1675 TLS_RL_RECORD_set_length(thiswr, len); in tls_prepare_for_encryption_default()
1684 TLS_RL_RECORD *thiswr) in tls_post_encryption_processing_default() argument
1694 - mac_size >= thiswr->length) in tls_post_encryption_processing_default()
1696 || origlen > thiswr->length in tls_post_encryption_processing_default()
1697 || (thiswr->length > origlen in tls_post_encryption_processing_default()
1699 thiswr->length - origlen, in tls_post_encryption_processing_default()
1708 || !rl->funcs->mac(rl, thiswr, mac, 1)) { in tls_post_encryption_processing_default()
1713 TLS_RL_RECORD_add_length(thiswr, mac_size); in tls_post_encryption_processing_default()
1726 rl->msg_callback(1, thiswr->rec_version, SSL3_RT_HEADER, recordstart, in tls_post_encryption_processing_default()
1732 rl->msg_callback(1, thiswr->rec_version, SSL3_RT_INNER_CONTENT_TYPE, in tls_post_encryption_processing_default()
1742 TLS_RL_RECORD_add_length(thiswr, headerlen); in tls_post_encryption_processing_default()
1754 TLS_RL_RECORD *thiswr; in tls_write_records_default() local
1788 thiswr = &wr[j]; in tls_write_records_default()
1800 TLS_RL_RECORD_set_type(thiswr, rectype); in tls_write_records_default()
1801 TLS_RL_RECORD_set_rec_version(thiswr, thistempl->version); in tls_write_records_default()
1810 TLS_RL_RECORD_set_data(thiswr, compressdata); in tls_write_records_default()
1811 TLS_RL_RECORD_set_length(thiswr, thistempl->buflen); in tls_write_records_default()
1813 TLS_RL_RECORD_set_input(thiswr, (unsigned char *)thistempl->buf); in tls_write_records_default()
1822 if (!tls_do_compress(rl, thiswr) in tls_write_records_default()
1823 || !WPACKET_allocate_bytes(thispkt, thiswr->length, NULL)) { in tls_write_records_default()
1828 if (!WPACKET_memcpy(thispkt, thiswr->input, thiswr->length)) { in tls_write_records_default()
1837 thiswr)) { in tls_write_records_default()
1842 if (!rl->funcs->prepare_for_encryption(rl, mac_size, thispkt, thiswr)) { in tls_write_records_default()
1866 thiswr = &wr[j]; in tls_write_records_default()
1870 thispkt, thiswr)) { in tls_write_records_default()
1876 TLS_BUFFER_set_left(&rl->wbuf[j], TLS_RL_RECORD_get_length(thiswr)); in tls_write_records_default()