diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2016-02-02 11:38:21 -0600 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-02-06 15:33:24 +0800 |
commit | b31dde2a5cb1bf764282abf934266b7193c2bc7c (patch) | |
tree | e80308430723067da1984e396bf14f377f42c91f /security | |
parent | fd09967b830c9ed60f53f318ee67907803065c9c (diff) | |
download | linux-stable-b31dde2a5cb1bf764282abf934266b7193c2bc7c.tar.gz linux-stable-b31dde2a5cb1bf764282abf934266b7193c2bc7c.tar.bz2 linux-stable-b31dde2a5cb1bf764282abf934266b7193c2bc7c.zip |
crypto: ccp - Don't assume export/import areas are aligned
Use a local variable for the exported and imported state so that
alignment is not an issue. On export, set a local variable from the
request context and then memcpy the contents of the local variable to
the export memory area. On import, memcpy the import memory area into
a local variable and then use the local variable to set the request
context.
Cc: <stable@vger.kernel.org> # 3.14.x-
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions