commit | 7af964c2fc7f415b334eb9d2e52ebdf258df662e | [log] [tgz] |
---|---|---|
author | Dave Watson <davejwatson@fb.com> | Wed Feb 14 09:38:45 2018 -0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Feb 22 22:16:44 2018 +0800 |
tree | 20879cc2d1d9760e3fe98fb311c8ec1f33ef767a | |
parent | 6c2c86b3e05822abec2fc0d7a5c31637b57cb126 [diff] |
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>