[CRYPTO] padlock: Only reset the key once for each CBC and ECB operation
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 Dec 2007 13:04:44 +0000 (00:04 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:59 +0000 (08:16 +1100)
Currently we reset the key for each segment fed to the xcrypt instructions.
This patch optimises this for CBC and ECB so that we only do this once for
each encrypt/decrypt operation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found