Skip to content
Commit 866cd902 authored by Herbert Xu's avatar Herbert Xu
Browse files

[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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1c5dfe6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment