Lines Matching refs:out_buf
103 uint8_t *in_buf, *out_buf;
181 u8 *out_buf;
193 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC);
195 if (!out_buf)
199 out_buf + pad_len, len);
202 out_buf, ctx->key_size);
203 kfree_sensitive(out_buf);
281 u8 *out_buf;
291 out_buf = req_ctx->out_buf;
293 if (out_buf[0] != 0x00)
298 out_buf++;
301 if (out_buf[0] != 0x02)
305 if (out_buf[pos] == 0x00)
320 out_buf + pos, req->dst_len);
323 kfree_sensitive(req_ctx->out_buf);
351 req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL);
352 if (!req_ctx->out_buf)
355 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,
495 req_ctx->out_buf + ctx->key_size,
498 if (memcmp(req_ctx->out_buf + ctx->key_size, out_buf + pos,
502 kfree_sensitive(req_ctx->out_buf);
541 req_ctx->out_buf = kmalloc(ctx->key_size + digest_size, GFP_KERNEL);
542 if (!req_ctx->out_buf)
545 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf,