crypto: aesni - Merge encode and decode to GCM_ENC_DEC macro
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:39:10 +0000 (09:39 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:45 +0000 (22:16 +0800)
commitba45833e3e76aac409b7ebc3a428515a1b53ebda
treea1817481e0ad9d30a84ed21928dc43eaf7399e88
parentadcadab3698d5104e68899c6d2a2230399780807
crypto: aesni - Merge encode and decode to GCM_ENC_DEC macro

Make a macro for the main encode/decode routine.  Only a small handful
of lines differ for enc and dec.   This will also become the main
scatter/gather update routine.

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