Lines Matching refs:rec
525 SSL3_RECORD *rec;
536 rec= &(s->s3->wrec);
547 rec= &(s->s3->rrec);
561 memmove(rec->data,rec->input,rec->length);
562 rec->input=rec->data;
566 l=rec->length;
583 rec->input[k]=j;
585 rec->length+=i;
591 printf("EVP_Cipher(ds=%p,rec->data=%p,rec->input=%p,l=%ld) ==>\n",
592 ds,rec->data,rec->input,l);
601 for (ui=0; ui<l; ui++) printf(" %02x", rec->input[ui]);
616 EVP_Cipher(ds,rec->data,rec->input,l);
623 printf(" %02x", rec->data[i]); printf("\n");
629 ii=i=rec->data[l-1]; /* padding_length */
642 if (i > (int)rec->length)
652 if (rec->data[j] != ii)
658 rec->length-=i;
706 SSL3_RECORD *rec;
716 rec= &(ssl->s3->wrec);
723 rec= &(ssl->s3->rrec);
731 buf[0]=rec->type;
742 buf[3]=rec->length>>8;
743 buf[4]=rec->length&0xff;
762 HMAC_Update(&hmac,rec->input,rec->length);
773 printf("rec=");
774 {unsigned int z; for (z=0; z<rec->length; z++) printf("%02X ",buf[z]); printf("\n"); }