]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
crypto: crypto4xx - performance optimizations
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 19 Apr 2018 16:41:51 +0000 (18:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 28 Apr 2018 08:09:39 +0000 (16:09 +0800)
commita8d79d7bfb14f471914017103ee2329a74e5e89d
tree09b8ab254f2db3d37beb19781533dcbeb58b513d
parent5b0aa2556ec9ea98f98e2a802818f75827896d25
crypto: crypto4xx - performance optimizations

This patch provides a cheap 2MiB/s+ (~ 6%) performance
improvement over the current code. This is because the
compiler can now optimize several endian swap memcpy.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_alg.c
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_core.h