]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
crypto: cipher - remove struct cipher_desc
authorEric Biggers <ebiggers@google.com>
Mon, 17 Dec 2018 03:12:18 +0000 (19:12 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:55 +0000 (14:16 +0800)
'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>
include/linux/crypto.h

index 902ec171fc6db55c3babc1eaea78c3b0c1d7dc30..c3c98a62e503bf625674739b89745ad10c8c675b 100644 (file)
@@ -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
  *