* Per-cpu tfm allocation/free functions
@ 2011-12-01 17:01 Seth Jennings
0 siblings, 0 replies; only message in thread
From: Seth Jennings @ 2011-12-01 17:01 UTC (permalink / raw)
To: linux-crypto; +Cc: Dave Hansen
linux-crypto,
I am currently working on the zcache RAM compression driver (in the staging
tree) and have a question.
I am looking to use the crypto compression API instead of the hardcoded LZO
calls that are in there right now, but I need to allocate a tfm per cpu per
compression algorithm being used.
I've already written the code but it looks very similar to what is already in
ipcomp_alloc/free_tfms() in net/xfrm/xfrm_ipcomp.c.
Has there ever been any talk about implementing functions like that inside
the cryptographic API in order to prevent duplicate per-cpu code by the users?
Would there be any interest/objections regarding a patch that did implement them?
--
Seth
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-01 17:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01 17:01 Per-cpu tfm allocation/free functions Seth Jennings
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.