All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: asynchronous compression api
@ 2016-02-08 16:10 Giovanni Cabiddu
  2016-02-08 16:10 ` [PATCH 1/2] crypto: add " Giovanni Cabiddu
  2016-02-08 16:10 ` [PATCH 2/2] crypto: extended acomp api for supporting deflate algorithm parameters Giovanni Cabiddu
  0 siblings, 2 replies; 21+ messages in thread
From: Giovanni Cabiddu @ 2016-02-08 16:10 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, Giovanni Cabiddu

The following patch set introduces acomp, a generic asynchronous
(de)compression api.
What is proposed is a new crypto type called crypto_acomp_type, 
plus a new struct acomp_alg and struct crypto_acomp, together
with number of helper functions to register acomp type algorithms
and allocate tfm instances. This is to make it similar to how the
existing crypto API works for the ablkcipher, ahash, and aead types.
This interface will allow the following operations:

       int (*compress)(struct acomp_req *req);
       int (*decompress)(struct acomp_req *req);

The main benefit that this API gives is to allow for
asynchronous implementations that can use compression hardware to
offload the computation.

Changes from initial submit:
	- added consumed and produced fields to acomp_req
	- extended api to support configuration of deflate compressors

---
Giovanni Cabiddu (2):
  crypto: add asynchronous compression api
  crypto: extended acomp api for supporting deflate algorithm
    parameters

 crypto/Kconfig                      |   10 +
 crypto/Makefile                     |    2 +
 crypto/acompress.c                  |  134 ++++++++++++
 crypto/crypto_user.c                |   21 ++
 include/crypto/acompress.h          |  379 +++++++++++++++++++++++++++++++++++
 include/crypto/internal/acompress.h |   90 +++++++++
 include/linux/crypto.h              |    1 +
 7 files changed, 637 insertions(+), 0 deletions(-)
 create mode 100644 crypto/acompress.c
 create mode 100644 include/crypto/acompress.h
 create mode 100644 include/crypto/internal/acompress.h

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-03-23 10:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 16:10 [PATCH 0/2] crypto: asynchronous compression api Giovanni Cabiddu
2016-02-08 16:10 ` [PATCH 1/2] crypto: add " Giovanni Cabiddu
2016-02-09 10:53   ` Herbert Xu
2016-02-09 17:31     ` [PATCH v2 0/2] crypto: " Giovanni Cabiddu
2016-02-09 17:31       ` [PATCH v2 1/2] crypto: add " Giovanni Cabiddu
2016-02-09 17:31       ` [PATCH v2 2/2] crypto: extended acomp api for supporting deflate algorithm parameters Giovanni Cabiddu
2016-02-16 19:57       ` [PATCH v2 0/2] crypto: asynchronous compression api Herbert Xu
2016-02-24 17:47         ` Giovanni Cabiddu
2016-02-24 17:51         ` [PATCH v3 0/8] " Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 1/8] crypto: add " Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 2/8] crypto: add driver-side scomp interface Giovanni Cabiddu
2016-03-17 11:00             ` Herbert Xu
2016-03-18 14:02               ` Giovanni Cabiddu
2016-03-23 10:18                 ` Herbert Xu
2016-02-24 17:51           ` [PATCH v3 3/8] crypto: acomp - add support for lzo via scomp Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 4/8] crypto: acomp - add support for lz4 " Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 5/8] crypto: acomp - add support for lz4hc " Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 6/8] crypto: acomp - add support for 842 " Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 7/8] crypto: acomp - add support for deflate " Giovanni Cabiddu
2016-02-24 17:51           ` [PATCH v3 8/8] crypto: acomp - update testmgr with support for acomp Giovanni Cabiddu
2016-02-08 16:10 ` [PATCH 2/2] crypto: extended acomp api for supporting deflate algorithm parameters Giovanni Cabiddu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.