On Wed, Jul 26, 2017 at 01:07:34AM +0100, Ard Biesheuvel wrote:
>
> > On 26 Jul 2017, at 00:36, Giovanni Cabiddu <giovanni.cabi...@intel.com>
> > wrote:
> >
> > Hi Ard,
> >
> >> On Fri, Jul 21, 2017 at 04:42:38PM +0100, Ard Biesheuvel wrot
Hi Ard,
On Fri, Jul 21, 2017 at 04:42:38PM +0100, Ard Biesheuvel wrote:
> +static int crypto_scomp_init_tfm(struct crypto_tfm *tfm)
> +{
> + int ret;
> +
> + mutex_lock(_lock);
> + ret = crypto_scomp_alloc_all_scratches();
> + mutex_unlock(_lock);
> +
> + return ret;
> +}
If
Hi Nick,
On Thu, Jul 20, 2017 at 10:27:42PM +0100, Nick Terrell wrote:
> Add zstd compression and decompression support to BtrFS. zstd at its
> fastest level compresses almost as well as zlib, while offering much
> faster compression and decompression, approaching lzo speeds.
Can we look at
Add scomp backend for zlib-deflate compression algorithm.
This backend outputs data using the format defined in rfc1950
(raw deflate surrounded by zlib header and footer).
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/deflate.
Add crypto_register_scomps and crypto_unregister_scomps to allow
the registration of multiple implementations with one call.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/scompress.c | 29 +
include/crypto/in
Add crypto_register_scomps and crypto_unregister_scomps to allow
the registration of multiple implementations with one call.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/scompress.c | 29 +
include/crypto/in
Add scomp backend for zlib-deflate compression algorithm.
This backend outputs data using the format defined in rfc1950
(raw deflate surrounded by zlib header and footer).
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/deflate.
test for acomp
compression tests rather than a known answer test.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 29 ++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index c
Fix crypto_has_acomp to report scomp implementations.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
include/crypto/acompress.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/crypto/acompress.h b/include/crypto/acompress.h
index e328b52..39871f9
Add crypto_register_acomps and crypto_unregister_acomps to allow
the registration of multiple implementations with one call.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/acompress.c | 29 +
include/crypto/in
Hi Herbert,
On Fri, Dec 30, 2016 at 08:20:11PM +0800, Herbert Xu wrote:
> On Thu, Dec 22, 2016 at 03:00:24PM +0000, Giovanni Cabiddu wrote:
> > Zero embedded ram in DH85x devices. This is not
> > needed for newer generations as it is done by HW.
> >
> > Sign
From: Xin Zeng <xin.z...@intel.com>
The unsigned long type for init_status and start_status in
service_hndl are not long enough to represent more than 64
acceleration devices. Use an array instead.
Signed-off-by: Xin Zeng <xin.z...@intel.com>
Signed-off-by: Giovanni Cabiddu &l
Initialize dh.base.cra_flags before registering the dh algorithm.
Without this fix, the registration of the dh algorithm might fail
if the qat driver is restarted.
Signed-off-by: Sushil Kumar <sushilx.ku...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
From: Pablo Marcos Oltra <pablo.marcos.ol...@intel.com>
Remove leading zeros in pci function number to be consistent
with output from lspci.
Signed-off-by: Pablo Marcos Oltra <pablo.marcos.ol...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
Some accelerators of the c62x series have only two bars.
This patch skips BAR0 if the accelerator does not have it.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_c62x/adf_drv.c | 2 +-
drivers/crypto/qat/qat_common/adf_accel_devices
Zero embedded ram in DH85x devices. This is not
needed for newer generations as it is done by HW.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/qat_hal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/cryp
Replace BIT(0) macro with proper definition in pf2vf path
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/adf_vf_isr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/qat/qat_common/adf_vf_isr.c
b/d
From: Ahsan Atta <ahsan.a...@intel.com>
Signed-off-by: Ahsan Atta <ahsan.a...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/adf_sriov.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/
From: Ahsan Atta <ahsan.a...@intel.com>
Signed-off-by: Ahsan Atta <ahsan.a...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/adf_dev_mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cry
Hi Arnd,
On Thu, Oct 27, 2016 at 04:09:49PM +0200, Arnd Bergmann wrote:
> The newly added scomp/acomp interface has a couple of functions
> that should be exported to allow linking the two drivers
> as loadable modules:
>
> ERROR: "crypto_acomp_scomp_free_ctx" [crypto/acompress.ko] undefined!
>
Hi,
On Wed, Oct 26, 2016 at 07:54:00PM -0400, Paul Gortmaker wrote:
> So, no EXPORT_SYMBOL, and any .config which has ACOMP2=m will fail.
I sent a patch for this:
https://patchwork.kernel.org/patch/9396503/
Regards,
--
Giovanni
--
To unsubscribe from this list: send the line "unsubscribe
scomp that appears when acomp is
built as module
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/crypto/Makefile b/crypto/Makefile
index 5c83f3d..82ffeee 100644
--- a/crypto/Makefile
+++
Add scomp backend for lzo compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lzo.c | 97 +-
2 files changed, 83 insertions(+), 15 deletions(-)
diff --git a/crypto/K
Add scomp backend for lz4 compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lz4.c | 91 +++---
2 files changed, 82 insertions(+), 10 deletions(-)
diff --git a/crypto/K
Add scomp backend for lz4hc compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lz4hc.c | 92 +++---
2 files changed, 83 insertions(+), 10 deletions(-)
diff --git a/
Add tests to the test manager for algorithms exposed through acomp.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 ++-
1 file changed, 145 insertions(+), 13 deletions(-)
diff --git a/crypto/testm
Add a synchronous back-end (scomp) to acomp. This allows to easily
expose the already present compression algorithms in LKCF via acomp.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile | 1 +
crypto/acompress.c
compressors
---
Giovanni Cabiddu (8):
crypto: add asynchronous compression api
crypto: add driver-side scomp interface
crypto: acomp - add support for lzo via scomp
crypto: acomp - add support for lz4 via scomp
crypto: acomp - add support for lz4hc via scomp
crypto: acomp - add support for 842
Add scomp backend for 842 compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 81 --
crypto/Kconfig | 1 +
2 files changed, 80 insertions(+), 2 deletions(-)
diff --git a/crypto/8
Add scomp backend for deflate compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/deflate.c | 111 ++-
2 files changed, 102 insertions(+), 10 deletions(-)
diff --git a/
Add acomp, an asynchronous compression api that uses scatterlist
buffers.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 ++
crypto/Makefile | 2 +
crypto/acompress.c | 118 +++
Add tests to the test manager for algorithms exposed through acomp.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 ++-
1 file changed, 145 insertions(+), 13 deletions(-)
diff --git a/crypto/testm
Add scomp backend for 842 compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 81 --
crypto/Kconfig | 1 +
2 files changed, 80 insertions(+), 2 deletions(-)
diff --git a/crypto/8
Add scomp backend for lz4hc compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lz4hc.c | 92 +++---
2 files changed, 83 insertions(+), 10 deletions(-)
diff --git a/
Add scomp backend for lzo compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lzo.c | 97 +-
2 files changed, 83 insertions(+), 15 deletions(-)
diff --git a/crypto/K
Add a synchronous back-end (scomp) to acomp. This allows to easily
expose the already present compression algorithms in LKCF via acomp.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile | 1 +
crypto/acompress.c
Add scomp backend for lz4 compression algorithm.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lz4.c | 91 +++---
2 files changed, 82 insertions(+), 10 deletions(-)
diff --git a/crypto/K
to allocate compression and
decompression requests
Changes from initial submit:
- added consumed and produced fields to acomp_req
- extended api to support configuration of deflate compressors
---
Giovanni Cabiddu (8):
crypto: add asynchronous compression api
crypto: add driver
On Fri, Sep 23, 2016 at 11:05:18PM +0800, Herbert Xu wrote:
> When I said acomp layer I'm referring specifically to the algorithm
> or driver. As to your last question it would be the caller's
> responsibility to free that memory.
>
> The use-case is our oldest user, IPcomp. Most packets are
On Thu, Sep 22, 2016 at 05:22:44PM +0800, Herbert Xu wrote:
> I'm suggesting that we have just one set of buffers for all scomp
> algorithms. After all, a CPU can only process one request at a
> time.
Makes sense. Implemented in v8.
> Yes scomp should just be flat. A sync algorithm capable of
Add scomp backend for deflate compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/deflate.c | 111 ++-
2 files changed, 102 insertions(+), 10 deletions(-)
diff --git a/
Add scomp backend for lz4 compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lz4.c | 91 +++---
2 files changed, 82 insertions(+), 10 deletions(-)
diff --git a/crypto/K
Add tests to the test manager for algorithms exposed through acomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 ++-
1 file changed, 145 insertions(+), 13 deletions(-)
diff --git a/crypto/testm
Add scomp backend for 842 compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 81 --
crypto/Kconfig | 1 +
2 files changed, 80 insertions(+), 2 deletions(-)
diff --git a/crypto/8
Add scomp backend for lz4hc compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lz4hc.c | 92 +++---
2 files changed, 83 insertions(+), 10 deletions(-)
diff --git a/
Add a synchronous back-end (scomp) to acomp. This allows to easily
expose the already present compression algorithms in LKCF via acomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile | 1 +
crypto/acompress.c
Add scomp backend for lzo compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 1 +
crypto/lzo.c | 97 +-
2 files changed, 83 insertions(+), 15 deletions(-)
diff --git a/crypto/K
Add acomp, an asynchronous compression api that uses scatterlist
buffers
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 ++
crypto/Makefile | 2 +
crypto/acompress.c | 118
in acomp_alg
in order to enable noctx support
- extended api with helpers to allocate compression and
decompression requests
Changes from initial submit:
- added consumed and produced fields to acomp_req
- extended api to support configuration of deflate compressors
---
Giovanni
Hi Herbert,
apologies for the duplicate. The previous email didn't get delivered to
the ML.
On Tue, Sep 20, 2016 at 05:26:18PM +0800, Herbert Xu wrote:
> Rather than duplicating the scratch buffer handling in every scomp
> algorithm, let's centralize this and put it into scomp.c.
Are you
Add scomp backend for lzo compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lzo.c | 146 +++-
2 files changed, 134 insertions(+), 13 deletions(-)
diff --git a/
Add scomp backend for 842 compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 135 +++-
crypto/Kconfig |1 +
2 files changed, 134 insertions(+), 2 deletions(-)
diff --git a/crypto
Add scomp backend for lz4 compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4.c | 147
2 files changed, 138 insertions(+), 10 deletions(-)
diff --git a/
Add acomp, an asynchronous compression api that uses scatterlist
buffers
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 ++
crypto/Makefile |2 +
crypto/acompress.c
Add tests to the test manager for algorithms exposed through the acomp
api
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 +-
1 files changed, 145 insertions(+), 13 deletions(-)
diff --git a/
Add scomp backend for lz4hc compression algorithm
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4hc.c | 147
2 files changed, 138 insertions(+), 10 deletions(-)
diff --git a/
Add utility functions to allocate and deallocate scratch buffers used by
software implementations of scomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/scompress.c | 41 +++
include/crypto/internal/scompress.h
uc loader.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/qat_uclo.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/qat/qat_common/qat_uclo.c
b/drivers/crypto/qat/qat_common/qat_uclo.c
index
From: Maksim Lukoshkov <maksim.lukosh...@intel.com>
Fix incorrect value of ADF_C3XXX_ACCELERATORS_MASK.
Signed-off-by: Maksim Lukoshkov <maksim.lukosh...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_d
From: Maksim Lukoshkov <maksim.lukosh...@intel.com>
Copy const_tab array into DMA-able memory (accesible by qat hw).
Signed-off-by: Maksim Lukoshkov <maksim.lukosh...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/
Increase value of supported key sizes for qat_aes_xts.
aes-xts keys consists of keys of equal size concatenated.
Reported-by: Wenqian Yu <wenqian...@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
drivers/crypto/qat/qat_common/qat_algs.c |4 ++--
1 f
On Fri, Jun 24, 2016 at 05:26:43PM +0800, Herbert Xu wrote:
> Hmm, I guess we can still keep scomp and use vmalloc until someone
> spends the effort and optimises each algorithm to make them use acomp
> directly.
Ok.
> So I'd still like to move the allocation down into the algorithm.
> That way
On Thu, Jun 23, 2016 at 06:50:34PM +0800, Herbert Xu wrote:
> No that's not the problem. The problem is that you can't kmalloc
> 64K of memory. kmalloc requires physically contiguous memory and
> you cannot rely on having 64K of contiguous memory.
It is clear now. Thanks.
> > > This totally
This patch implements an scomp backend for the lz4hc compression algorithm.
This way, lz4hc is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4hc.c | 92 +---
This patch implements an scomp backend for the lz4 compression algorithm.
This way, lz4 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4.c | 91 +---
This patch implements an scomp backend for the deflate compression
algorithm. This way, deflate is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/deflate.c
This patch adds tests to the test manager for algorithms exposed through
the acomp api
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 +-
1 files changed, 145 insertions(+), 13 deletions(-)
diff
This patch implements an scomp backend for the 842 compression algorithm.
This way, 842 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 82 +--
crypto/Kconfig |
Add a synchronous back-end (scomp) to acomp. This allows to easily expose
the already present compression algorithms in LKCF via acomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile |1 +
crypto/acompress.c
This patch introduces acomp, an asynchronous compression api that uses
scatterlist buffers.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 ++
crypto/Makefile |2 +
crypto/acompress.c
requests
Changes from initial submit:
- added consumed and produced fields to acomp_req
- extended api to support configuration of deflate compressors
---
Giovanni Cabiddu (8):
crypto: add asynchronous compression api
crypto: add driver-side scomp interface
crypto: acomp - add
This patch implements an scomp backend for the lzo compression algorithm.
This way, lzo is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lzo.c | 97 +++--
of deflate compressors
Giovanni Cabiddu (9):
crypto: shrink hash down to two types
crypto: add asynchronous compression api
crypto: add driver-side scomp interface
crypto: acomp - add support for lzo via scomp
crypto: acomp - add support for lz4 via scomp
crypto: acomp - add support
This patch implements an scomp backend for the deflate compression
algorithm. This way, deflate is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/deflate.c
This patch introduces acomp, an asynchronous compression api that uses
scatterlist buffers.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 ++
crypto/Makefile |2 +
crypto/acompress.c
Add a synchronous back-end (scomp) to acomp. This allows to easily expose
the already present compression algorithms in LKCF via acomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile |1 +
crypto/acompress.c
Move hash to 0xe to free up the space for acomp/scomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
include/linux/crypto.h | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 6e28c89..d
This patch implements an scomp backend for the 842 compression algorithm.
This way, 842 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 82 +--
crypto/Kconfig |
This patch implements an scomp backend for the lz4 compression algorithm.
This way, lz4 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4.c | 91 +---
This patch adds tests to the test manager for algorithms exposed through
the acomp api
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 +-
1 files changed, 145 insertions(+), 13 deletions(-)
diff
Move hash to 0xe to free up the space for acomp/scomp/qdecomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
include/linux/crypto.h | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 6
This patch implements an scomp backend for the lzo compression algorithm.
This way, lzo is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lzo.c | 97 +++--
This patch implements an scomp backend for the deflate compression
algorithm. This way, deflate is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/deflate.c
This patch introduces acomp, an asynchronous compression api that uses
scatterlist buffers.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 ++
crypto/Makefile |2 +
crypto/acompress.c
This patch introduces qdecomp, an asynchronous decompression api.
qdecomp is a front-end for acomp and scomp algorithms which do not
not need additional vmalloc work space for decompression.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Ma
This patch implements an scomp backend for the 842 compression algorithm.
This way, 842 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 82 +--
crypto/Kconfig |
This patch implements an scomp backend for the lz4hc compression algorithm.
This way, lz4hc is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4hc.c | 92 +---
---
Giovanni Cabiddu (10):
crypto: shrink hash down to two types
crypto: add asynchronous compression api
crypto: add driver-side scomp interface
crypto: add quick decompression api
crypto: acomp - add support for lzo via scomp
crypto: acomp - add support for lz4 via scomp
crypto
Add a synchronous back-end (scomp) to acomp. This allows to easily expose
the already present compression algorithms in LKCF via acomp
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile |1 +
crypto/acompress.c
This patch implements an scomp backend for the lz4 compression algorithm.
This way, lz4 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4.c | 91 +---
This patch adds tests to the test manager for algorithms exposed through
the acomp api
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 158 +-
1 files changed, 145 insertions(+), 13 deletions(-)
diff
Hi Herbert,
I would like to have some clarifications before submitting a v4.
On Thu, Mar 17, 2016 at 07:00:27PM +0800, Herbert Xu wrote:
> On Wed, Feb 24, 2016 at 05:51:44PM +0000, Giovanni Cabiddu wrote:
> >
> > +#define CRYPTO_SCOMP_DECOMP_NOCTX CRYPTO_ALG_PRIVATE
>
This patch implements an scomp backend for the lz4hc compression algorithm.
This way, lz4hc is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4hc.c
Add a synchronous back-end (scomp) to acomp. This allows to easily expose
the already present compression algorithms in LKCF via acomp.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Makefile |1 +
crypto/acompress.c
This patch adds tests to the test manager for algorithms exposed through
the acomp api
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/testmgr.c | 159 +-
1 files changed, 146 insertions(+), 13 deletions(-)
diff
This patch implements an scomp backend for the lz4 compression algorithm.
This way, lz4 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lz4.c | 93 ++---
in order to enable noctx support
- extended api with helpers to allocate compression and
decompression requests
Changes from initial submit:
- added consumed and produced fields to acomp_req
- extended api to support configuration of deflate compressors
---
Giovanni Cabiddu (8
This patch introduces acomp, an asynchronous compression api that uses
scatterlist buffers.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig | 10 +
crypto/Makefile |2 +
crypto/acompress.c
This patch implements an scomp backend for the lzo compression algorithm.
This way, lzo is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/Kconfig |1 +
crypto/lzo.c | 100 +++-
This patch implements an scomp backend for the 842 compression algorithm.
This way, 842 is exposed through the acomp api.
Signed-off-by: Giovanni Cabiddu <giovanni.cabi...@intel.com>
---
crypto/842.c | 84 ++--
crypto/Kconfig |
1 - 100 of 106 matches
Mail list logo