Home | History | Annotate | Download | only in ssl

Lines Matching defs:wr

1479 	SSL3_RECORD *wr;
1504 wr= &(s->s3->wrec);
1527 wr->type=type;
1547 wr->data=p + bs; /* make room for IV in case of CBC */
1548 wr->length=(int)len;
1549 wr->input=(unsigned char *)buf;
1551 /* we now 'read' from wr->input, wr->length bytes into
1552 * wr->data */
1565 memcpy(wr->data,wr->input,wr->length);
1566 wr->input=wr->data;
1569 /* we should still have the output to wr->data and the input
1570 * from wr->input. Length should be wr->length.
1571 * wr->data still points in the wb->buf */
1575 if(s->method->ssl3_enc->mac(s,&(p[wr->length + bs]),1) < 0)
1577 wr->length+=mac_size;
1581 wr->input=p;
1582 wr->data=p;
1591 wr->length += bs;
1610 s2n(wr->length,pseq);
1613 * wr->data pointing to the encrypted data, which is
1614 * wr->length long */
1615 wr->type=type; /* not needed but helps for debugging */
1616 wr->length+=DTLS1_RT_HEADER_LENGTH;
1621 dtls1_buffer_record(s, wr->data, wr->length,
1628 wb->left = prefix_len + wr->length;