Thread (21 messages) read the whole thread 21 messages, 2 authors, 2016-03-23
STALE3781d

Revision v1 of 10 in this series.

Revisions (10)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]
  6. v6 [diff vs current]
  7. v7 [diff vs current]
  8. v8 [diff vs current]
  9. v9 [diff vs current]
  10. v10 [diff vs current]

[PATCH 0/2] crypto: asynchronous compression api

From: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Date: 2016-02-08 16:10:11

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help