Lines Matching refs:req
135 static int ecb_encrypt(struct skcipher_request *req)
137 return glue_ecb_req_128bit(&serpent_enc, req);
140 static int ecb_decrypt(struct skcipher_request *req)
142 return glue_ecb_req_128bit(&serpent_dec, req);
145 static int cbc_encrypt(struct skcipher_request *req)
147 return glue_cbc_encrypt_req_128bit(__serpent_encrypt, req);
150 static int cbc_decrypt(struct skcipher_request *req)
152 return glue_cbc_decrypt_req_128bit(&serpent_dec_cbc, req);
155 static int ctr_crypt(struct skcipher_request *req)
157 return glue_ctr_req_128bit(&serpent_ctr, req);
160 static int xts_encrypt(struct skcipher_request *req)
162 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
165 return glue_xts_req_128bit(&serpent_enc_xts, req,
170 static int xts_decrypt(struct skcipher_request *req)
172 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
175 return glue_xts_req_128bit(&serpent_dec_xts, req,