Lines Matching defs:ciph_req
190 struct skcipher_request *ciph_req;
195 ciph_req = skcipher_request_alloc(slotp->tfms[slotp->crypto_mode],
197 if (!ciph_req)
200 skcipher_request_set_callback(ciph_req,
204 *ciph_req_ret = ciph_req;
265 struct skcipher_request *ciph_req = NULL;
300 if (!blk_crypto_alloc_cipher_req(slot, &ciph_req, &wait)) {
309 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size,
334 if (crypto_wait_req(crypto_skcipher_encrypt(ciph_req),
359 skcipher_request_free(ciph_req);
380 struct skcipher_request *ciph_req = NULL;
402 if (!blk_crypto_alloc_cipher_req(slot, &ciph_req, &wait)) {
409 skcipher_request_set_crypt(ciph_req, &sg, &sg, data_unit_size,
421 if (crypto_wait_req(crypto_skcipher_decrypt(ciph_req),
432 skcipher_request_free(ciph_req);