diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-05-24 10:35:23 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-10 12:04:13 +0800 |
commit | 619ce700583f0f193bfb1487ca393b8ad2141a9a (patch) | |
tree | e6049068815cb1fa4aa6421cc8a811b8ea493481 /drivers/crypto/omap-des.c | |
parent | f09b348c1ac56b61fceb12808b4003109188f1d2 (diff) |
crypto: omap-aes - fix context handling for multiple cores
AES can have multiple HW accelerator cores in the system, in which case
each core has its own crypto engine in use. Currently, the used hardware
device is stored under the omap_aes_ctx struct, which is global for
the algorithm itself, causing conflicts when used with multiple cores.
Fix this by moving the used HW device under reqctx, which is stored
per-request basis.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-des.c')
0 files changed, 0 insertions, 0 deletions