diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2020-07-22 15:14:54 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-31 11:25:27 +0300 |
commit | b7ec41da3b8314d262aef7be09b5684c5f9dd43a (patch) | |
tree | 8476b44afa431d81c88a78e2c114287daee7a690 /kernel/audit_watch.c | |
parent | d9f2d010302e858cada492c99da301858916ff28 (diff) | |
download | linux-b7ec41da3b8314d262aef7be09b5684c5f9dd43a.tar.xz |
crypto: caam/qi2 - 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().
This is similar to the change in caamhash (caam/jr top-level library)
commit 9a2537d0ebc9 ("crypto: caam - create ahash shared descriptors only once")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions