commit | 9a2537d0ebc984bab4f3ff5012dacf42b0ac70a2 | [log] [tgz] |
---|---|---|
author | Iuliana Prodan <Iuliana.Prodan@nxp.com> | Fri Dec 21 17:59:09 2018 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jan 11 14:16:56 2019 +0800 |
tree | b2c9c57a491b64b7a67da796b002b0d13df01d61 | |
parent | 0f103b37282f48e2221aca955985550b7eabc98b [diff] |
crypto: caam - create ahash shared descriptors only once For keyed hash algorithms, shared descriptors are currently generated twice: -at tfm initialization time, in cra_init() callback -in setkey() callback Since it's mandatory to call setkey() for keyed algorithms, drop the generation in cra_init(). Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>