Home
last modified time | relevance | path

Searched refs:ciph_req (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-crypto-fallback.c191 struct skcipher_request *ciph_req; in blk_crypto_fallback_alloc_cipher_req() local
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
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; in blk_crypto_fallback_decrypt_bio() local
413 skcipher_request_set_crypt(ciph_req, &sg, &sg, data_unit_size, in blk_crypto_fallback_decrypt_bio()
425 if (crypto_wait_req(crypto_skcipher_decrypt(ciph_req), in blk_crypto_fallback_decrypt_bio()
[all …]