commit | 38003cd26c9f59da77d98927fb9af58732da207a | [log] [tgz] |
---|---|---|
author | Dave Watson <davejwatson@fb.com> | Mon Dec 10 19:58:19 2018 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sun Dec 23 11:52:42 2018 +0800 |
tree | 2e973dd27e7c8ce3d92da1a6bb02f36d3528eb48 | |
parent | e377bedb09d6970ad27d7714b0a6365ee7e4d732 [diff] |
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>