summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/bcm/util.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-18 18:26:42 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-25 18:41:52 +0800
commit37ebffff65b2321a9b51ae928851330154358f1d (patch)
treed1fce2e38d26956ca537184f52e83d0e51ec3bb9 /drivers/crypto/bcm/util.h
parentaef027db48da56b6f25d0e54c07c8401ada6ce21 (diff)
downloadlinux-37ebffff65b2321a9b51ae928851330154358f1d.tar.bz2
crypto: bcm - remove unused function do_decrypt()
The do_decrypt() function in util.c in the BCM crypto driver is never used, so remove it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/bcm/util.h')
-rw-r--r--drivers/crypto/bcm/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/crypto/bcm/util.h b/drivers/crypto/bcm/util.h
index 712e029795f8..15c60356518a 100644
--- a/drivers/crypto/bcm/util.h
+++ b/drivers/crypto/bcm/util.h
@@ -95,12 +95,6 @@ u32 spu_msg_sg_add(struct scatterlist **to_sg,
void add_to_ctr(u8 *ctr_pos, unsigned int increment);
-/* do a synchronous decrypt operation */
-int do_decrypt(char *alg_name,
- void *key_ptr, unsigned int key_len,
- void *iv_ptr, void *src_ptr, void *dst_ptr,
- unsigned int block_len);
-
/* produce a message digest from data of length n bytes */
int do_shash(unsigned char *name, unsigned char *result,
const u8 *data1, unsigned int data1_len,