Searched refs:ciph_req (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-crypto-fallback.c | 190 struct skcipher_request *ciph_req; in blk_crypto_alloc_cipher_req() local 195 ciph_req = skcipher_request_alloc(slotp->tfms[slotp->crypto_mode], in blk_crypto_alloc_cipher_req() 197 if (!ciph_req) in blk_crypto_alloc_cipher_req() 200 skcipher_request_set_callback(ciph_req, in blk_crypto_alloc_cipher_req() 204 *ciph_req_ret = ciph_req; in blk_crypto_alloc_cipher_req() 265 struct skcipher_request *ciph_req = NULL; in blk_crypto_fallback_encrypt_bio() local 300 if (!blk_crypto_alloc_cipher_req(slot, &ciph_req, &wait)) { in blk_crypto_fallback_encrypt_bio() 309 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_fallback_encrypt_bio() 334 if (crypto_wait_req(crypto_skcipher_encrypt(ciph_req), in blk_crypto_fallback_encrypt_bio() 359 skcipher_request_free(ciph_req); in blk_crypto_fallback_encrypt_bio() 380 struct skcipher_request *ciph_req = NULL; blk_crypto_fallback_decrypt_bio() local [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-crypto-fallback.c | 191 struct skcipher_request *ciph_req; in blk_crypto_fallback_alloc_cipher_req() local 196 ciph_req = skcipher_request_alloc(slotp->tfms[slotp->crypto_mode], in blk_crypto_fallback_alloc_cipher_req() 198 if (!ciph_req) in blk_crypto_fallback_alloc_cipher_req() 201 skcipher_request_set_callback(ciph_req, in blk_crypto_fallback_alloc_cipher_req() 205 *ciph_req_ret = ciph_req; in blk_crypto_fallback_alloc_cipher_req() 267 struct skcipher_request *ciph_req = NULL; in blk_crypto_fallback_encrypt_bio() local 303 if (!blk_crypto_fallback_alloc_cipher_req(slot, &ciph_req, &wait)) { in blk_crypto_fallback_encrypt_bio() 312 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_fallback_encrypt_bio() 337 if (crypto_wait_req(crypto_skcipher_encrypt(ciph_req), in blk_crypto_fallback_encrypt_bio() 362 skcipher_request_free(ciph_req); in blk_crypto_fallback_encrypt_bio() 383 struct skcipher_request *ciph_req = NULL; blk_crypto_fallback_decrypt_bio() local [all...] |
Completed in 2 milliseconds