diff options
author | Iuliana Prodan | 2018-12-21 17:59:09 +0200 |
---|---|---|
committer | Herbert Xu | 2019-01-11 14:16:56 +0800 |
commit | 9a2537d0ebc984bab4f3ff5012dacf42b0ac70a2 (patch) | |
tree | b2c9c57a491b64b7a67da796b002b0d13df01d61 /drivers/memory | |
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>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions