diff options
| author | Tom Lendacky <thomas.lendacky@amd.com> | 2016-02-25 16:48:13 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-12 09:08:45 -0700 |
| commit | 0cdc91f539d77f4be720330f577b708a56cc9391 (patch) | |
| tree | 97843d2aa75d88d4b63facf6e6990ec823ab0d25 /tools/perf/scripts/python | |
| parent | cc78d091bd92300de98b1b372da7d5ee9dcd8e63 (diff) | |
crypto: ccp - memset request context to zero during import
commit ce0ae266feaf35930394bd770c69778e4ef03ba9 upstream.
Since a crypto_ahash_import() can be called against a request context
that has not had a crypto_ahash_init() performed, the request context
needs to be cleared to insure there is no random data present. If not,
the random data can result in a kernel oops during crypto_ahash_update().
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
