summaryrefslogtreecommitdiff
path: root/drivers/crypto/cavium/zip/zip_main.c
diff options
context:
space:
mode:
authorMahipal Challa <mahipalreddy2006@gmail.com>2017-02-15 08:15:09 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-09 13:34:26 +0300
commitf05845fcba12579ad84f58386b60adbfc14397b2 (patch)
tree07051eb5d621a185f9b4b6ebd7562132764a1188 /drivers/crypto/cavium/zip/zip_main.c
parent640035a2dc5534b49cd64580e41874b71f131a1c (diff)
downloadlinux-f05845fcba12579ad84f58386b60adbfc14397b2.tar.xz
crypto: zip - Wire-up Compression / decompression HW offload
This contains changes for adding compression/decompression h/w offload functionality for both DEFLATE and LZS. Signed-off-by: Mahipal Challa <Mahipal.Challa@cavium.com> Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/zip/zip_main.c')
-rw-r--r--drivers/crypto/cavium/zip/zip_main.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/drivers/crypto/cavium/zip/zip_main.c b/drivers/crypto/cavium/zip/zip_main.c
index 89ea360d410d..dd5814a12c9a 100644
--- a/drivers/crypto/cavium/zip/zip_main.c
+++ b/drivers/crypto/cavium/zip/zip_main.c
@@ -339,63 +339,6 @@ static void zip_remove(struct pci_dev *pdev)
zip_dev[zip->index] = NULL;
}
-/* Dummy Functions */
-int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm)
-{
- return 0;
-}
-
-int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm)
-{
- return 0;
-}
-
-void zip_free_comp_ctx(struct crypto_tfm *tfm)
-{
-}
-
-int zip_comp_compress(struct crypto_tfm *tfm,
- const u8 *src, unsigned int slen,
- u8 *dst, unsigned int *dlen)
-{
- return 0;
-}
-
-int zip_comp_decompress(struct crypto_tfm *tfm,
- const u8 *src, unsigned int slen,
- u8 *dst, unsigned int *dlen)
-{
- return 0;
-}
-
-void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm)
-{
- return NULL;
-}
-
-void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm)
-{
- return NULL;
-}
-
-void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *zip_ctx)
-{
-}
-
-int zip_scomp_compress(struct crypto_scomp *tfm,
- const u8 *src, unsigned int slen,
- u8 *dst, unsigned int *dlen, void *ctx)
-{
- return 0;
-}
-
-int zip_scomp_decompress(struct crypto_scomp *tfm,
- const u8 *src, unsigned int slen,
- u8 *dst, unsigned int *dlen, void *ctx)
-{
- return 0;
-}
-
/* PCI Sub-System Interface */
static struct pci_driver zip_driver = {
.name = DRV_NAME,