Skip to content

Commit

Permalink
crypto: cipher - remove struct cipher_desc
Browse files Browse the repository at this point in the history
'struct cipher_desc' is unused.  Remove it.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Eric Biggers authored and Herbert Xu committed Jan 11, 2019
1 parent 5b3b987 commit bec9ba7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/linux/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,6 @@ struct blkcipher_desc {
u32 flags;
};

struct cipher_desc {
struct crypto_tfm *tfm;
void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
unsigned int (*prfn)(const struct cipher_desc *desc, u8 *dst,
const u8 *src, unsigned int nbytes);
void *info;
};

/**
* DOC: Block Cipher Algorithm Definitions
*
Expand Down

0 comments on commit bec9ba7

Please sign in to comment.