@@ -295,28 +295,8 @@ struct blkcipher_tfm {
295295};
296296
297297struct cipher_tfm {
298- void * cit_iv ;
299- unsigned int cit_ivsize ;
300- u32 cit_mode ;
301298 int (* cit_setkey )(struct crypto_tfm * tfm ,
302299 const u8 * key , unsigned int keylen );
303- int (* cit_encrypt )(struct crypto_tfm * tfm ,
304- struct scatterlist * dst ,
305- struct scatterlist * src ,
306- unsigned int nbytes );
307- int (* cit_encrypt_iv )(struct crypto_tfm * tfm ,
308- struct scatterlist * dst ,
309- struct scatterlist * src ,
310- unsigned int nbytes , u8 * iv );
311- int (* cit_decrypt )(struct crypto_tfm * tfm ,
312- struct scatterlist * dst ,
313- struct scatterlist * src ,
314- unsigned int nbytes );
315- int (* cit_decrypt_iv )(struct crypto_tfm * tfm ,
316- struct scatterlist * dst ,
317- struct scatterlist * src ,
318- unsigned int nbytes , u8 * iv );
319- void (* cit_xor_block )(u8 * dst , const u8 * src );
320300 void (* cit_encrypt_one )(struct crypto_tfm * tfm , u8 * dst , const u8 * src );
321301 void (* cit_decrypt_one )(struct crypto_tfm * tfm , u8 * dst , const u8 * src );
322302};
0 commit comments