Lines Matching refs:rec
135 SSL3_RECORD *rec;
150 rec= &(s->s3->wrec);
156 if ( rec->data != rec->input)
158 fprintf(stderr, "%s:%d: rec->data != rec->input\n",
162 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0)
175 rec= &(s->s3->rrec);
189 memmove(rec->data,rec->input,rec->length);
190 rec->input=rec->data;
194 l=rec->length;
206 rec->input[k]=j;
208 rec->length+=i;
214 printf("EVP_Cipher(ds=%p,rec->data=%p,rec->input=%p,l=%ld) ==>\n",
215 ds,rec->data,rec->input,l);
224 for (ui=0; ui<l; ui++) printf(" %02x", rec->input[ui]);
235 EVP_Cipher(ds,rec->data,rec->input,l);
242 printf(" %02x", rec->data[i]); printf("\n");
247 return tls1_cbc_remove_padding(s, rec, bs, mac_size);