crypto: aesni - Add fast path for > 16 byte update
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:40:31 +0000 (09:40 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:50 +0000 (22:16 +0800)
commit933d6aefd54e4b49c347eb1a6cf8f8785814e90e
treed1ce8a8cd085f135cdf597d06da20fe686882ba2
parentae952c5ec655b2b8bb337acb554d53481b0e01bc
crypto: aesni - Add fast path for > 16 byte update

We can fast-path any < 16 byte read if the full message is > 16 bytes,
and shift over by the appropriate amount.  Usually we are
reading > 16 bytes, so this should be faster than the READ_PARTIAL
macro introduced in b20209c91e2 for the average case.

Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_asm.S