Lines Matching refs:fallback_req
155 struct skcipher_request fallback_req; // keep at the end member
661 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_ecb_encrypt()
662 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_ecb_encrypt()
666 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_ecb_encrypt()
668 return crypto_skcipher_encrypt(&rctx->fallback_req); in sahara_aes_ecb_encrypt()
681 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_ecb_decrypt()
682 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_ecb_decrypt()
686 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_ecb_decrypt()
688 return crypto_skcipher_decrypt(&rctx->fallback_req); in sahara_aes_ecb_decrypt()
701 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_cbc_encrypt()
702 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_cbc_encrypt()
706 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_cbc_encrypt()
708 return crypto_skcipher_encrypt(&rctx->fallback_req); in sahara_aes_cbc_encrypt()
721 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback); in sahara_aes_cbc_decrypt()
722 skcipher_request_set_callback(&rctx->fallback_req, in sahara_aes_cbc_decrypt()
726 skcipher_request_set_crypt(&rctx->fallback_req, req->src, in sahara_aes_cbc_decrypt()
728 return crypto_skcipher_decrypt(&rctx->fallback_req); in sahara_aes_cbc_decrypt()