diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-27 00:04:44 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:59 +1100 |
commit | 866cd902e864e9d0e31299efa9d61fc9a9bec315 (patch) | |
tree | e324d07a3ada70c77722e31af9d5d604482cada0 /crypto/tcrypt.c | |
parent | 1c5dfe6a959b79215c0f73d793169a7d5755900e (diff) | |
download | op-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