Lines Matching refs:subreq
262 struct skcipher_request *subreq = &rctx->req; in cryptd_skcipher_encrypt() local
268 skcipher_request_set_tfm(subreq, child); in cryptd_skcipher_encrypt()
269 skcipher_request_set_callback(subreq, CRYPTO_TFM_REQ_MAY_SLEEP, in cryptd_skcipher_encrypt()
271 skcipher_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, in cryptd_skcipher_encrypt()
274 err = crypto_skcipher_encrypt(subreq); in cryptd_skcipher_encrypt()
275 skcipher_request_zero(subreq); in cryptd_skcipher_encrypt()
290 struct skcipher_request *subreq = &rctx->req; in cryptd_skcipher_decrypt() local
296 skcipher_request_set_tfm(subreq, child); in cryptd_skcipher_decrypt()
297 skcipher_request_set_callback(subreq, CRYPTO_TFM_REQ_MAY_SLEEP, in cryptd_skcipher_decrypt()
299 skcipher_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, in cryptd_skcipher_decrypt()
302 err = crypto_skcipher_decrypt(subreq); in cryptd_skcipher_decrypt()
303 skcipher_request_zero(subreq); in cryptd_skcipher_decrypt()