commit | 4a559cd15dbc79958fa9b18ad4e8afe4a0bf4744 | [log] [tgz] |
---|---|---|
author | Torsten Duwe <duwe@suse.de> | Tue Feb 25 15:34:30 2020 +0100 |
committer | Vasily Gorbik <gor@linux.ibm.com> | Thu Feb 27 16:02:21 2020 +0100 |
tree | 4c42b6a1b4f5cbc506bd574474dc8b1f0f9c2fa3 | |
parent | fa226f1d81e2d3798d30eaa14550d7f35c35e6f3 [diff] |
s390/crypto: explicitly memzero stack key material in aes_s390.c aes_s390.c has several functions which allocate space for key material on the stack and leave the used keys there. It is considered good practice to clean these locations before the function returns. Link: https://lkml.kernel.org/r/20200221165511.GB6928@lst.de Signed-off-by: Torsten Duwe <duwe@suse.de> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>