commit | add89d470c6633b9f16c7faec1307c53939d4329 | [log] [tgz] |
---|---|---|
author | Neeraj Soni <neersoni@codeaurora.org> | Fri Aug 23 14:10:09 2019 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Sep 03 22:31:39 2019 -0700 |
tree | 5eb8e4eb35e82d8e37b0a65d662f9e9e0300fbb3 | |
parent | c5ef08e5beda93b524d3e92a628b6a900d628efa [diff] |
fs/crypto: do not clear encryption key before inode is updated Although an all zero key is not an invalid key but it is indeed a weak key. Clearing crypt key memory before updating the file inode with crypto information will lead to a weak file encryption key to be used in encryption operation. Change-Id: Ide6340ea58f7ff916d3161716f0e9b4adf9b9c75 Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>