summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorTero Kristo2017-05-24 09:35:23 +0200
committerHerbert Xu2017-06-10 06:04:13 +0200
commit619ce700583f0f193bfb1487ca393b8ad2141a9a (patch)
treee6049068815cb1fa4aa6421cc8a811b8ea493481 /security/tomoyo/common.h
parentcrypto: omap-aes - drop unused flags attribute from omap_aes_ctx (diff)
downloadkernel-qcow2-linux-619ce700583f0f193bfb1487ca393b8ad2141a9a.tar.gz
kernel-qcow2-linux-619ce700583f0f193bfb1487ca393b8ad2141a9a.tar.xz
kernel-qcow2-linux-619ce700583f0f193bfb1487ca393b8ad2141a9a.zip
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 'security/tomoyo/common.h')
0 files changed, 0 insertions, 0 deletions