diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-18 18:51:15 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-20 16:11:10 +0200 |
commit | 434b421241f2d0faa7fea75f6320de00c5e3430e (patch) | |
tree | ac0626da8df3346d76537e1e9dc28da5d4742e70 /Documentation/atomic_ops.txt | |
parent | crypto: caam - print errno code when hash registration fails (diff) | |
download | linux-434b421241f2d0faa7fea75f6320de00c5e3430e.tar.xz linux-434b421241f2d0faa7fea75f6320de00c5e3430e.zip |
crypto: caam - avoid needlessly saving and restoring caam_hash_ctx
When exporting and importing the hash state, we will only export and
import into hashes which share the same struct crypto_ahash pointer.
(See hash_accept->af_alg_accept->hash_accept_parent.)
This means that saving the caam_hash_ctx structure on export, and
restoring it on import is a waste of resources. So, remove this code.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/atomic_ops.txt')
0 files changed, 0 insertions, 0 deletions