Home | History | Annotate | Download | only in evp

Lines Matching full:buf_off

148 	size_t buf_off;
185 ctx->buf_off=0;
229 i=ctx->buf_len-ctx->buf_off;
231 memcpy(out,&(ctx->buf[ctx->buf_off]),i);
235 ctx->buf_off+=i;
238 if (ctx->buf_len == ctx->buf_off)
240 ctx->buf_off=0;
300 n=ctx->buf_len-ctx->buf_off;
303 i=BIO_write(b->next_bio,&(ctx->buf[ctx->buf_off]),n);
311 ctx->buf_off+=i;
317 if (ctx->buf_len == ctx->buf_off)
320 ctx->buf_off=0;
358 ctx->buf_off=0;
375 ret=ctx->blockout ? ctx->buf_len-ctx->buf_off : 0;
395 ctx->buf_off=ctx->buf_len=0;
494 if((int)(ctx->buf_len-ctx->buf_off) < 2*md->digest->md_size) return;
497 memcpy(md->md_data, &(ctx->buf[ctx->buf_off]), md->digest->md_size);
499 ctx->buf_off+= md->digest->md_size;
503 ret= memcmp(&(ctx->buf[ctx->buf_off]), tmp, md->digest->md_size) == 0;
504 ctx->buf_off+= md->digest->md_size;
508 if(ctx->buf_len != ctx->buf_off)
510 memmove(ctx->buf, &(ctx->buf[ctx->buf_off]), ctx->buf_len- ctx->buf_off);
512 ctx->buf_len-= ctx->buf_off;
513 ctx->buf_off= 0;
566 ctx->buf_off= OK_BLOCK_BLOCK;