Skip to content

Commit e69ff73

Browse files
committed
[CRYPTO] cipher: Remove obsolete fields from cipher_tfm
This removes all the unused block cipher fields from cipher_tfm. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent ca7c393 commit e69ff73

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

include/linux/crypto.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -295,28 +295,8 @@ struct blkcipher_tfm {
295295
};
296296

297297
struct 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

Comments
 (0)