[PATCH 2/6] [CRYPTO] api: Add async blkcipher type

2007-04-16 Thread Herbert Xu
[CRYPTO] api: Add async blkcipher type This patch adds the mid-level interface for asynchronous block ciphers. It also includes a generic queueing mechanism that can be used by other asynchronous crypto operations in future. Signed-off-by: Herbert Xu [EMAIL PROTECTED] --- crypto/Kconfig

[PATCH 1/3] [DM] dm-crypt: Move post-processing into its own queue

2007-04-16 Thread Herbert Xu
[DM] dm-crypt: Move post-processing into its own queue With async crypto we can have a large number of crypto requests outstanding. When crypto requests for write operations are completed they need to be given back to the block layer in process context. We can't reuse kcryptd because it'll

[PATCH 2/3] [DM] dm-crypt: Add async infrastructure

2007-04-16 Thread Herbert Xu
[DM] dm-crypt: Add async infrastructure This patch breaks up the read/write processing so that the crypto operations can complete asynchronously. Signed-off-by: Herbert Xu [EMAIL PROTECTED] --- drivers/md/dm-crypt.c | 179 ++ 1 files changed,

Re: [CRYPTO] is it really optimized ?

2007-04-16 Thread Herbert Xu
On Mon, Apr 16, 2007 at 10:37:01AM +0200, Francis Moreau wrote: BTW, here are figures I got with 2 different versions of the driver when using tcrypt module. The second being the result with the optimized driver (no key reloading on each block): normal version: test 4 (128 bit key, 8192