Lines Matching defs:in_buf
126 uint8_t *in_buf, *out_buf;
231 kfree(req_ctx->in_buf);
268 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
270 if (!req_ctx->in_buf)
274 req_ctx->in_buf[0] = 0x02;
276 req_ctx->in_buf[i] = get_random_u32_inclusive(1, 255);
277 req_ctx->in_buf[ps_end] = 0x00;
279 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,
422 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
424 if (!req_ctx->in_buf)
428 req_ctx->in_buf[0] = 0x01;
429 memset(req_ctx->in_buf + 1, 0xff, ps_end - 1);
430 req_ctx->in_buf[ps_end] = 0x00;
433 memcpy(req_ctx->in_buf + ps_end + 1, digest_info->data,
436 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,