]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aesni - Add GCM_INIT macro
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:38:45 +0000 (09:38 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:44 +0000 (22:16 +0800)
commitdfbac16c4b86dd7f014093c133ebc3c088563c84
tree20879cc2d1d9760e3fe98fb311c8ec1f33ef767a
parent40bacf77283b51a2a591af6020f44ca9ecd4fb4b
crypto: aesni - Add GCM_INIT macro

Reduce code duplication by introducting GCM_INIT macro.  This macro
will also be exposed as a function for implementing scatter/gather
support, since INIT only needs to be called once for the full
operation.

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