summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-27 00:04:44 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:59 +1100
commit866cd902e864e9d0e31299efa9d61fc9a9bec315 (patch)
treee324d07a3ada70c77722e31af9d5d604482cada0 /crypto/tcrypt.c
parent1c5dfe6a959b79215c0f73d793169a7d5755900e (diff)
downloadop-kernel-dev-866cd902e864e9d0e31299efa9d61fc9a9bec315.zip
op-kernel-dev-866cd902e864e9d0e31299efa9d61fc9a9bec315.tar.gz
[CRYPTO] padlock: Only reset the key once for each CBC and ECB operation
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>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud