Lines Matching refs:out_buf
103 uint8_t *in_buf, *out_buf;
181 u8 *out_buf;
193 out_buf = kzalloc(ctx->key_size, GFP_KERNEL);
195 if (!out_buf)
199 out_buf + pad_len, len);
202 out_buf, ctx->key_size);
203 kfree_sensitive(out_buf);
282 u8 *out_buf;
292 out_buf = req_ctx->out_buf;
294 if (out_buf[0] != 0x00)
299 out_buf++;
302 if (out_buf[0] != 0x02)
306 if (out_buf[pos] == 0x00)
321 out_buf + pos, req->dst_len);
324 kfree_sensitive(req_ctx->out_buf);
353 req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL);
354 if (!req_ctx->out_buf)
357 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf,
443 u8 *out_buf;
453 out_buf = req_ctx->out_buf;
455 if (out_buf[0] != 0x00)
460 out_buf++;
464 if (out_buf[0] != 0x01)
468 if (out_buf[pos] != 0xff)
471 if (pos < 9 || pos == dst_len || out_buf[pos] != 0x00)
478 if (crypto_memneq(out_buf + pos, digest_info->data,
496 req_ctx->out_buf + ctx->key_size,
499 if (memcmp(req_ctx->out_buf + ctx->key_size, out_buf + pos,
503 kfree_sensitive(req_ctx->out_buf);
542 req_ctx->out_buf = kmalloc(ctx->key_size + req->dst_len, GFP_KERNEL);
543 if (!req_ctx->out_buf)
546 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf,