Lines Matching refs:wr
495 SSL3_RECORD *wr;
497 wr= &(ssl->s3->wrec);
498 i=COMP_compress_block(ssl->compress,wr->data,
500 wr->input,(int)wr->length);
504 wr->length=i;
506 wr->input=wr->data;
571 SSL3_RECORD *wr;
592 wr= &(s->s3->wrec);
638 wr->type=type;
648 wr->data=p;
649 wr->length=(int)len;
650 wr->input=(unsigned char *)buf;
652 /* we now 'read' from wr->input, wr->length bytes into
653 * wr->data */
666 memcpy(wr->data,wr->input,wr->length);
667 wr->input=wr->data;
670 /* we should still have the output to wr->data and the input
671 * from wr->input. Length should be wr->length.
672 * wr->data still points in the wb->buf */
676 s->method->ssl3_enc->mac(s,&(p[wr->length]),1);
677 wr->length+=mac_size;
678 wr->input=p;
679 wr->data=p;
686 s2n(wr->length,plen);
689 * wr->data pointing to the encrypted data, which is
690 * wr->length long */
691 wr->type=type; /* not needed but helps for debugging */
692 wr->length+=SSL3_RT_HEADER_LENGTH;
699 return wr->length;
703 wb->left = prefix_len + wr->length;