crypto: aesni - Add GCM_COMPLETE macro
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:38:57 +0000 (09:38 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:44 +0000 (22:16 +0800)
commitadcadab3698d5104e68899c6d2a2230399780807
treed0004c0b2ab6ac95837b8b912907105d55ad642b
parent7af964c2fc7f415b334eb9d2e52ebdf258df662e
crypto: aesni - Add GCM_COMPLETE macro

Merge encode and decode tag calculations in GCM_COMPLETE macro.
Scatter/gather routines will call this once at the end of encryption
or decryption.

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