* [PATCH 0/3] crypto: Add per-cpu transform helpers
@ 2011-12-06 22:45 Seth Jennings
0 siblings, 0 replies; 2+ messages in thread
From: Seth Jennings @ 2011-12-06 22:45 UTC (permalink / raw)
To: David S . Miller
Cc: Seth Jennings, linux-crypto, linux-kernel, netdev, Eric Dumazet,
Brian King, Robert Jennings
This patchset includes two new functions for the cryptographic library,
crypto_alloc_percpu_tfms() and crypto_free_percpu_tfms(), which assist users
in allocating and freeing per-cpu transforms.
It also includes typing wrappers for the compression algorithm class.
The reason for this patch is that during my work to enable page compression
via the cryptographic API in the zcache staging driver, and realized that I
had rewritten some per-cpu transform code that already exists in the
xfrm_ipcomp code.
In an effort to avoid duplication, this patchset moves the per-cpu code into
helper functions in the cryptographic library and makes the necessary
modifications to the xfrm_ipcomp code.
After this change is (hopefully) merged, I will submit the zcache driver
changes, which will be the second user of these helpers.
Seth Jennings (3):
crypto: Add per-cpu transform alloc() and free()
crypto: Add inline per-cpu wrappers for compression
xfrm: Modify xfrm_ipcomp code to use new per-cpu helpers
crypto/api.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/crypto.h | 28 +++++++++++++++++++++
net/xfrm/xfrm_ipcomp.c | 34 ++++++--------------------
3 files changed, 98 insertions(+), 26 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 0/3] crypto: Add per-cpu transform helpers
@ 2011-12-07 18:59 Seth Jennings
0 siblings, 0 replies; 2+ messages in thread
From: Seth Jennings @ 2011-12-07 18:59 UTC (permalink / raw)
To: David S . Miller
Cc: Seth Jennings, linux-crypto, linux-kernel, netdev, Eric Dumazet,
Brian King, Robert Jennings
This patchset includes two new functions for the cryptographic library,
crypto_alloc_percpu_tfms() and crypto_free_percpu_tfms(), which assist users
in allocating and freeing per-cpu transforms.
It also includes typing wrappers for the compression algorithm class.
The reason for this patch is that during my work to enable page compression
via the cryptographic API in the zcache staging driver, and realized that I
had rewritten some per-cpu transform code that already exists in the
xfrm_ipcomp code.
In an effort to avoid duplication, this patchset moves the per-cpu code into
helper functions in the cryptographic library and makes the necessary
modifications to the xfrm_ipcomp code.
After this change is (hopefully) merged, I will submit the zcache driver
changes, which will be the second user of these helpers.
Seth Jennings (3):
crypto: Add per-cpu transform alloc() and free()
crypto: Add inline per-cpu wrappers for compression
xfrm: Modify xfrm_ipcomp code to use new per-cpu helpers
crypto/api.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/crypto.h | 28 +++++++++++++++++++++
net/xfrm/xfrm_ipcomp.c | 34 ++++++--------------------
3 files changed, 98 insertions(+), 26 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-07 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 22:45 [PATCH 0/3] crypto: Add per-cpu transform helpers Seth Jennings
-- strict thread matches above, loose matches on Subject: below --
2011-12-07 18:59 Seth Jennings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).