Lines Matching refs:req
177 static int ecb_encrypt(struct skcipher_request *req)
179 return glue_ecb_req_128bit(&serpent_enc, req);
182 static int ecb_decrypt(struct skcipher_request *req)
184 return glue_ecb_req_128bit(&serpent_dec, req);
187 static int cbc_encrypt(struct skcipher_request *req)
189 return glue_cbc_encrypt_req_128bit(__serpent_encrypt, req);
192 static int cbc_decrypt(struct skcipher_request *req)
194 return glue_cbc_decrypt_req_128bit(&serpent_dec_cbc, req);
197 static int ctr_crypt(struct skcipher_request *req)
199 return glue_ctr_req_128bit(&serpent_ctr, req);
202 static int xts_encrypt(struct skcipher_request *req)
204 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
207 return glue_xts_req_128bit(&serpent_enc_xts, req,
212 static int xts_decrypt(struct skcipher_request *req)
214 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
217 return glue_xts_req_128bit(&serpent_dec_xts, req,