diff options
author | Harald Freudenberger <[email protected]> | 2014-01-22 13:00:04 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2014-01-30 21:45:11 +0800 |
commit | adc3fcf1552b6e406d172fd9690bbd1395053d13 (patch) | |
tree | d10b74782748dade0df03c287f3d52455ef9493b /net/lapb/lapb_subr.c | |
parent | 0519e9ad89e5cd6e6b08398f57c6a71d9580564c (diff) |
crypto: s390 - fix des and des3_ede cbc concurrency issue
In s390 des and des3_ede cbc mode the iv value is not protected
against concurrency access and modifications from another running
en/decrypt operation which is using the very same tfm struct
instance. This fix copies the iv to the local stack before
the crypto operation and stores the value back when done.
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