commit | e2e34b0856463727292498d756308cba957fe477 | [log] [tgz] |
---|---|---|
author | Dave Watson <davejwatson@fb.com> | Wed Feb 14 09:39:55 2018 -0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Feb 22 22:16:48 2018 +0800 |
tree | 44f504da813c6a6f63c54efc11e7a288643551f9 | |
parent | 9660474b0e635196628a86a43e205d37e8936587 [diff] |
crypto: aesni - Move ghash_mul to GCM_COMPLETE Prepare to handle partial blocks between scatter/gather calls. For the last partial block, we only want to calculate the aadhash in GCM_COMPLETE, and a new partial block macro will handle both aadhash update and encrypting partial blocks between calls. Signed-off-by: Dave Watson <davejwatson@fb.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>