On Fri, Oct 19, 2007 at 12:03:50PM +0200, Sebastian Siewior wrote: > From: Sebastian Siewior <sebastian@xxxxxxxxxxxxx> > > The code waits in a busy loop until the hardware finishes the encryption > or decryption process. This wants a cpu_relax() :) > The busy loop finishes either if the encryption is done or if the counter > is zero. If the latter is true than the hardware failed. Since this > should not happen, leave sith a BUG(). > > Signed-off-by: Sebastian Siewior <sebastian@xxxxxxxxxxxxx> Applied. I'd like to see the error propagated up though. We'd need to change the simple cipher interface to allow errors to be returned. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html