Lines Matching refs:req
172 static int ecb_encrypt(struct skcipher_request *req)
174 return glue_ecb_req_128bit(&twofish_enc, req);
177 static int ecb_decrypt(struct skcipher_request *req)
179 return glue_ecb_req_128bit(&twofish_dec, req);
182 static int cbc_encrypt(struct skcipher_request *req)
184 return glue_cbc_encrypt_req_128bit(twofish_enc_blk, req);
187 static int cbc_decrypt(struct skcipher_request *req)
189 return glue_cbc_decrypt_req_128bit(&twofish_dec_cbc, req);
192 static int ctr_crypt(struct skcipher_request *req)
194 return glue_ctr_req_128bit(&twofish_ctr, req);
197 static int xts_encrypt(struct skcipher_request *req)
199 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
202 return glue_xts_req_128bit(&twofish_enc_xts, req, twofish_enc_blk,
206 static int xts_decrypt(struct skcipher_request *req)
208 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
211 return glue_xts_req_128bit(&twofish_dec_xts, req, twofish_enc_blk,