diff options
author | Harald Freudenberger <[email protected]> | 2014-01-22 13:01:33 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2014-01-30 21:45:14 +0800 |
commit | ee97dc7db4cbda33e4241c2d85b42d1835bc8a35 (patch) | |
tree | 14232912769ade751a61a61984bf1aaf2dc2fb24 /net/lapb/lapb_subr.c | |
parent | adc3fcf1552b6e406d172fd9690bbd1395053d13 (diff) |
crypto: s390 - fix des and des3_ede ctr concurrency issue
In s390 des and 3des ctr mode there is one preallocated page
used to speed up the en/decryption. This page is not protected
against concurrent usage and thus there is a potential of data
corruption with multiple threads.
The fix introduces locking/unlocking the ctr page and a slower
fallback solution at concurrency situations.
Cc: [email protected]
Signed-off-by: Harald Freudenberger <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions