diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2017-02-01 19:45:02 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-11 10:50:41 +0100 |
commit | c459bd7beda0295ea67db0ce2004a49addb2f765 (patch) | |
tree | b9367df4079888e70d00b02f04e530d09c23daee /Documentation/security/SELinux.txt | |
parent | crypto: arm64/crc32 - merge CRC32 and PMULL instruction based drivers (diff) | |
download | linux-c459bd7beda0295ea67db0ce2004a49addb2f765.tar.xz linux-c459bd7beda0295ea67db0ce2004a49addb2f765.zip |
crypto: sha512-mb - Protect sha512 mb ctx mgr access
The flusher and regular multi-buffer computation via mcryptd may race with another.
Add here a lock and turn off interrupt to to access multi-buffer
computation state cstate->mgr before a round of computation. This should
prevent the flusher code jumping in.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/security/SELinux.txt')
0 files changed, 0 insertions, 0 deletions