Home | History | Annotate | Download | only in ssl

Lines Matching defs:rec

139 	SSL3_RECORD *rec;
154 rec= &(s->s3->wrec);
160 if ( rec->data != rec->input)
162 fprintf(stderr, "%s:%d: rec->data != rec->input\n",
166 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0)
179 rec= &(s->s3->rrec);
193 memmove(rec->data,rec->input,rec->length);
194 rec->input=rec->data;
198 l=rec->length;
215 rec->input[k]=j;
217 rec->length+=i;
223 printf("EVP_Cipher(ds=%p,rec->data=%p,rec->input=%p,l=%ld) ==>\n",
224 ds,rec->data,rec->input,l);
233 for (ui=0; ui<l; ui++) printf(" %02x", rec->input[ui]);
244 EVP_Cipher(ds,rec->data,rec->input,l);
251 printf(" %02x", rec->data[i]); printf("\n");
256 return tls1_cbc_remove_padding(s, rec, bs, mac_size);