Lines Matching refs:out_buf
30 uint8_t *in_buf, *out_buf; member
82 u8 *out_buf; in pkcs1pad_encrypt_complete() local
94 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC); in pkcs1pad_encrypt_complete()
96 if (!out_buf) in pkcs1pad_encrypt_complete()
100 out_buf + pad_len, len); in pkcs1pad_encrypt_complete()
103 out_buf, ctx->key_size); in pkcs1pad_encrypt_complete()
104 kfree_sensitive(out_buf); in pkcs1pad_encrypt_complete()
182 u8 *out_buf; in pkcs1pad_decrypt_complete() local
192 out_buf = req_ctx->out_buf; in pkcs1pad_decrypt_complete()
194 if (out_buf[0] != 0x00) in pkcs1pad_decrypt_complete()
199 out_buf++; in pkcs1pad_decrypt_complete()
202 if (out_buf[0] != 0x02) in pkcs1pad_decrypt_complete()
206 if (out_buf[pos] == 0x00) in pkcs1pad_decrypt_complete()
221 out_buf + pos, req->dst_len); in pkcs1pad_decrypt_complete()
224 kfree_sensitive(req_ctx->out_buf); in pkcs1pad_decrypt_complete()
252 req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL); in pkcs1pad_decrypt()
253 if (!req_ctx->out_buf) in pkcs1pad_decrypt()
256 pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf, in pkcs1pad_decrypt()