Lines Matching refs:req
142 static int ecb_encrypt(struct skcipher_request *req)
144 return glue_ecb_req_128bit(&cast6_enc, req);
147 static int ecb_decrypt(struct skcipher_request *req)
149 return glue_ecb_req_128bit(&cast6_dec, req);
152 static int cbc_encrypt(struct skcipher_request *req)
154 return glue_cbc_encrypt_req_128bit(__cast6_encrypt, req);
157 static int cbc_decrypt(struct skcipher_request *req)
159 return glue_cbc_decrypt_req_128bit(&cast6_dec_cbc, req);
162 static int ctr_crypt(struct skcipher_request *req)
164 return glue_ctr_req_128bit(&cast6_ctr, req);
191 static int xts_encrypt(struct skcipher_request *req)
193 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
196 return glue_xts_req_128bit(&cast6_enc_xts, req, __cast6_encrypt,
200 static int xts_decrypt(struct skcipher_request *req)
202 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
205 return glue_xts_req_128bit(&cast6_dec_xts, req, __cast6_encrypt,