]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aesni - Split AAD hash calculation to separate macro
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:39:36 +0000 (09:39 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:47 +0000 (22:16 +0800)
commit95da4da321ee88757ce03aafdc563ee83f650359
tree7e425a8c3ff4d76846960cba18108cec5f9069c6
parent77cf36cdcf7ebf16934da817cf74a5b53ec94690
crypto: aesni - Split AAD hash calculation to separate macro

AAD hash only needs to be calculated once for each scatter/gather operation.
Move it to its own macro, and call it from GCM_INIT instead of
INITIAL_BLOCKS.

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