public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/7] Introduce new async/sync compression APIs
@ 2016-01-04  4:46 Joonsoo Kim
  2016-01-04  4:46 ` [PATCH RFC 1/7] crypto/compress: remove unused pcomp interface Joonsoo Kim
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Joonsoo Kim @ 2016-01-04  4:46 UTC (permalink / raw)
  To: Herbert Xu
  Cc: David S. Miller, Weigang Li, Sergey Senozhatsky, Minchan Kim,
	linux-crypto, linux-kernel, Joonsoo Kim

Happy New Year!

This patchset is to introduce new compression APIs. It supports async/sync
compression although there is no async compression driver yet. But, async
APIs can be used as front-end to sync compression algorithm. Major change
is that now APIs are stateless. Instead of previous implementation, tfm
objects doesn't embedded any context so we can de/compress concurrently
with one tfm object. Instead, this de/compression context is coupled with
the request. This architecture change will make APIs more flexible.

This is just a RFC so commit description isn't sufficient. If Herbert
confirms that this is what he expect, I will respin the series with proper
commit description and adding more algorithm support.

Thanks.

Joonsoo Kim (6):
  crypto/compress: remove unused pcomp interface
  crypto/compress: introduce sychronuous compression API
  crypto/lzo: support SCOMPRESS alg type
  crypto: testmgr: add scompress/acompress test
  crypto/compress: add algorithm type specific flag, DECOMP_NOCTX
  crypto/lzo: add CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX cra_flags

Weigang Li (1):
  crypto: add asynchronous compression support

 crypto/Kconfig                     |  19 +-
 crypto/Makefile                    |   4 +-
 crypto/acompress.c                 | 164 ++++++++++++++++
 crypto/lzo.c                       |  95 +++++++--
 crypto/pcompress.c                 | 115 -----------
 crypto/scompress.c                 | 283 +++++++++++++++++++++++++++
 crypto/testmgr.c                   | 376 +++++++++++++++---------------------
 crypto/testmgr.h                   | 142 --------------
 crypto/zlib.c                      | 381 -------------------------------------
 include/crypto/compress.h          | 354 +++++++++++++++++++++++++---------
 include/crypto/internal/compress.h |  32 +---
 include/linux/crypto.h             |  10 +-
 12 files changed, 969 insertions(+), 1006 deletions(-)
 create mode 100644 crypto/acompress.c
 delete mode 100644 crypto/pcompress.c
 create mode 100644 crypto/scompress.c
 delete mode 100644 crypto/zlib.c

-- 
1.9.1


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

end of thread, other threads:[~2016-01-13  8:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04  4:46 [PATCH RFC 0/7] Introduce new async/sync compression APIs Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 1/7] crypto/compress: remove unused pcomp interface Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 2/7] crypto/compress: introduce sychronuous compression API Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 3/7] crypto: add asynchronous compression support Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 4/7] crypto/lzo: support SCOMPRESS alg type Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 5/7] crypto: testmgr: add scompress/acompress test Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 6/7] crypto/compress: add algorithm type specific flag, DECOMP_NOCTX Joonsoo Kim
2016-01-04  4:46 ` [PATCH RFC 7/7] crypto/lzo: add CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX cra_flags Joonsoo Kim
2016-01-12  8:00 ` [PATCH RFC 0/7] Introduce new async/sync compression APIs Li, Weigang
2016-01-12 12:47   ` Herbert Xu
2016-01-13  8:31     ` Joonsoo Kim
2016-01-13  8:29       ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox