summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/loongson1-cpufreq.c
diff options
context:
space:
mode:
authorHook, Gary <Gary.Hook@amd.com>2019-07-10 02:09:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-12 12:16:02 +0200
commit20e833dc36355ed642d00067641a679c618303fa (patch)
treeba09444dbe811a4de06861b5d7775f3b08096c7e /drivers/cpufreq/loongson1-cpufreq.c
parentcrypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe (diff)
downloadlinux-20e833dc36355ed642d00067641a679c618303fa.tar.xz
linux-20e833dc36355ed642d00067641a679c618303fa.zip
crypto: ccp - memset structure fields to zero before reuse
The AES GCM function reuses an 'op' data structure, which members contain values that must be cleared for each (re)use. This fix resolves a crypto self-test failure: alg: aead: gcm-aes-ccp encryption test failed (wrong result) on test vector 2, cfg="two even aligned splits" Fixes: 36cf515b9bbe ("crypto: ccp - Enable support for AES GCM on v5 CCPs") Cc: <stable@vger.kernel.org> Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/cpufreq/loongson1-cpufreq.c')
0 files changed, 0 insertions, 0 deletions