crypto: aesni - Add GCM_COMPLETE macro
authorDave Watson <davejwatson@fb.com>
Mon, 10 Dec 2018 19:57:49 +0000 (19:57 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 23 Dec 2018 03:52:42 +0000 (11:52 +0800)
commite377bedb09d6970ad27d7714b0a6365ee7e4d732
tree822f6318ecac12cbfbd9f81a9631f69b6d2267f3
parent5350b0f563433dacc134214a452fd316b36251d6
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_avx-x86_64.S