crypto: aesni - Move ghash_mul to GCM_COMPLETE
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:39:55 +0000 (09:39 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:48 +0000 (22:16 +0800)
commite2e34b0856463727292498d756308cba957fe477
tree44f504da813c6a6f63c54efc11e7a288643551f9
parent9660474b0e635196628a86a43e205d37e8936587
crypto: aesni - Move ghash_mul to GCM_COMPLETE

Prepare to handle partial blocks between scatter/gather calls.
For the last partial block, we only want to calculate the aadhash
in GCM_COMPLETE, and a new partial block macro will handle both
aadhash update and encrypting partial blocks between calls.

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