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);
57 static int ecb_do_decrypt(struct skcipher_request *req, const u32 *rkey)
59 ECB_WALK_START(req, ARIA_BLOCK_SIZE, ARIA_AESNI_PARALLEL_BLOCKS);
66 static int aria_avx2_ecb_encrypt(struct skcipher_request *req)
68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
71 return ecb_do_encrypt(req, ctx->enc_key[0]);
74 static int aria_avx2_ecb_decrypt(struct skcipher_request *req)
76 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
79 return ecb_do_decrypt(req, ctx->dec_key[0]);
88 static int aria_avx2_ctr_encrypt(struct skcipher_request *req)
90 struct aria_avx2_request_ctx *req_ctx = skcipher_request_ctx(req);
91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
97 err = skcipher_walk_virt(&walk, req, false);