Lines Matching refs:in_buf
103 uint8_t *in_buf, *out_buf;
208 kfree(req_ctx->in_buf);
246 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
248 if (!req_ctx->in_buf)
252 req_ctx->in_buf[0] = 0x02;
254 req_ctx->in_buf[i] = 1 + prandom_u32_max(255);
255 req_ctx->in_buf[ps_end] = 0x00;
257 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,
401 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
403 if (!req_ctx->in_buf)
407 req_ctx->in_buf[0] = 0x01;
408 memset(req_ctx->in_buf + 1, 0xff, ps_end - 1);
409 req_ctx->in_buf[ps_end] = 0x00;
412 memcpy(req_ctx->in_buf + ps_end + 1, digest_info->data,
415 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,