Lines Matching refs:req
88 static int __ecb_crypt(struct skcipher_request *req, bool encrypt)
90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
102 err = skcipher_walk_virt(&walk, req, true);
120 static int ecb_encrypt(struct skcipher_request *req)
122 return __ecb_crypt(req, true);
125 static int ecb_decrypt(struct skcipher_request *req)
127 return __ecb_crypt(req, false);
138 static int cbc_encrypt(struct skcipher_request *req)
140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
152 err = skcipher_walk_virt(&walk, req, true);
167 static int cbc_decrypt(struct skcipher_request *req)
169 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
181 err = skcipher_walk_virt(&walk, req, true);