Lines Matching refs:in_buf
103 uint8_t *in_buf, *out_buf;
208 kfree(req_ctx->in_buf);
245 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
247 if (!req_ctx->in_buf)
251 req_ctx->in_buf[0] = 0x02;
253 req_ctx->in_buf[i] = get_random_u32_inclusive(1, 255);
254 req_ctx->in_buf[ps_end] = 0x00;
256 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,
399 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
401 if (!req_ctx->in_buf)
405 req_ctx->in_buf[0] = 0x01;
406 memset(req_ctx->in_buf + 1, 0xff, ps_end - 1);
407 req_ctx->in_buf[ps_end] = 0x00;
410 memcpy(req_ctx->in_buf + ps_end + 1, digest_info->data,
413 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,