diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-20 15:35:55 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-22 12:42:07 +0300 |
commit | 456bee986e0a372ad4beed5d3cedb3622633d9df (patch) | |
tree | f15f1e438e2b88d6ecae117947a9cf90de1f28ba /lib/memweight.c | |
parent | 2db34e78f126c6001d79d3b66ab1abb482dc7caa (diff) | |
download | linux-456bee986e0a372ad4beed5d3cedb3622633d9df.tar.xz |
KEYS: Fix skcipher IV clobbering
The IV must not be modified by the skcipher operation so we need
to duplicate it.
Fixes: c3917fd9dfbc ("KEYS: Use skcipher")
Cc: stable@vger.kernel.org
Reported-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions