]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: omap-aes - Add fallback support
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 4 Aug 2016 10:28:44 +0000 (13:28 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Sep 2016 12:23:10 +0000 (20:23 +0800)
commit9fcb191a84eb5c46004b66cc449b45b4d9a2da91
tree898285b57f92f5d4130494c7febedf2c1171839c
parent164f3ef301bff9741a00ff7015f9d51f1b864201
crypto: omap-aes - Add fallback support

As setting up the DMA operations is quite costly, add software fallback
support for requests smaller than 200 bytes. This change gives some 10%
extra performance in ipsec use case.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[t-kristo@ti.com: udpated against latest upstream, to use skcipher mainly]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/omap-aes.c