crypto: aesni - Move ghash_mul to GCM_COMPLETE
authorDave Watson <davejwatson@fb.com>
Mon, 10 Dec 2018 19:59:11 +0000 (19:59 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 23 Dec 2018 03:52:42 +0000 (11:52 +0800)
commit517a448e09846732d46e983a2195002d05857919
treed149770889be74d510302d0dfe75390caba16aac
parenta44b419fe5aee3bfe12c88698a023cb5c6067985
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_avx-x86_64.S