Home | History | Annotate | Download | only in ssl

Lines Matching refs:rec

131 	SSL3_RECORD *rec;
146 rec= &(s->s3->wrec);
152 if ( rec->data != rec->input)
154 fprintf(stderr, "%s:%d: rec->data != rec->input\n",
158 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0)
172 rec= &(s->s3->rrec);
186 memmove(rec->data,rec->input,rec->length);
187 rec->input=rec->data;
191 l=rec->length;
208 rec->input[k]=j;
210 rec->length+=i;
216 printf("EVP_Cipher(ds=%p,rec->data=%p,rec->input=%p,l=%ld) ==>\n",
217 ds,rec->data,rec->input,l);
226 for (ui=0; ui<l; ui++) printf(" %02x", rec->input[ui]);
241 EVP_Cipher(ds,rec->data,rec->input,l);
248 printf(" %02x", rec->data[i]); printf("\n");
254 ii=i=rec->data[l-1]; /* padding_length */
267 if (i > (int)rec->length)
278 if (rec->data[j] != ii)
284 rec->length-=i;
286 rec->data += bs; /* skip the implicit IV */
287 rec->input += bs;
288 rec->length -= bs;