Lines Matching refs:out_buf
126 uint8_t *in_buf, *out_buf;
204 u8 *out_buf;
216 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC);
218 if (!out_buf)
222 out_buf + pad_len, len);
225 out_buf, ctx->key_size);
226 kfree_sensitive(out_buf);
304 u8 *out_buf;
314 out_buf = req_ctx->out_buf;
316 if (out_buf[0] != 0x00)
321 out_buf++;
324 if (out_buf[0] != 0x02)
328 if (out_buf[pos] == 0x00)
343 out_buf + pos, req->dst_len);
346 kfree_sensitive(req_ctx->out_buf);
374 req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL);
375 if (!req_ctx->out_buf)
378 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf,
466 u8 *out_buf;
476 out_buf = req_ctx->out_buf;
478 if (out_buf[0] != 0x00)
483 out_buf++;
487 if (out_buf[0] != 0x01)
491 if (out_buf[pos] != 0xff)
494 if (pos < 9 || pos == dst_len || out_buf[pos] != 0x00)
501 if (crypto_memneq(out_buf + pos, digest_info->data,
518 req_ctx->out_buf + ctx->key_size,
521 if (memcmp(req_ctx->out_buf + ctx->key_size, out_buf + pos,
525 kfree_sensitive(req_ctx->out_buf);
564 req_ctx->out_buf = kmalloc(ctx->key_size + digest_size, GFP_KERNEL);
565 if (!req_ctx->out_buf)
568 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf,