[PATCH] crypto: cleanup: Use max() in blkcipher_get_spot() to state the intention.

2007-09-11 Thread Ingo Oeser
[PATCH] crypto: cleanup: Use max() in blkcipher_get_spot() to state the intention. Signed-off-by: Ingo Oeser <[EMAIL PROTECTED]> --- Hi Herbert, here is the requested patch against Linus' latest tree. It at least compiles. Best Regards Ingo Oeser crypto/blkcipher.c |2 +- 1 files change

RE: Openswan 2.4.9 - tasklet or workqueue ?

2007-09-11 Thread Kabir Ahsan-r9aahw
We can also do direct function call of ipsec_xsm or ipsec_rsm instead of using tasklet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eran Ben-Avi Sent: Thursday, August 30, 2007 2:58 AM To: David McCullough Cc: linux-crypto@vger.kernel.org Subject: Re

Re: [PATCH] crypto: blkcipher_get_spot() handling of buffer at end of page

2007-09-11 Thread Herbert Xu
On Mon, Sep 10, 2007 at 09:46:46PM +0200, Ingo Oeser wrote: > > What about using max() for this to make your intention obvious? > > static inline u8 *blkcipher_get_spot(u8 *start, unsigned int len) > { > u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) & PAGE_MASK); > return m