Lines Matching defs:req
48 static int ecb_do_encrypt(struct skcipher_request *req, const u32 *rkey)
50 ECB_WALK_START(req, ARIA_BLOCK_SIZE, ARIA_AESNI_PARALLEL_BLOCKS);
56 static int ecb_do_decrypt(struct skcipher_request *req, const u32 *rkey)
58 ECB_WALK_START(req, ARIA_BLOCK_SIZE, ARIA_AESNI_PARALLEL_BLOCKS);
64 static int aria_avx_ecb_encrypt(struct skcipher_request *req)
66 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
69 return ecb_do_encrypt(req, ctx->enc_key[0]);
72 static int aria_avx_ecb_decrypt(struct skcipher_request *req)
74 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
77 return ecb_do_decrypt(req, ctx->dec_key[0]);
86 static int aria_avx_ctr_encrypt(struct skcipher_request *req)
88 struct aria_avx_request_ctx *req_ctx = skcipher_request_ctx(req);
89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
95 err = skcipher_walk_virt(&walk, req, false);