]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ccp - Rearrange structure members to minimize size
authorGary R Hook <gary.hook@amd.com>
Tue, 28 Mar 2017 15:57:26 +0000 (10:57 -0500)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 24 Aug 2017 17:57:01 +0000 (10:57 -0700)
commit463407e9b8eff596174f244b57c1d5da494d1e73
tree45e503b407ea3ed808f3df55d17053b2ecc0a42b
parent3167624821c4a40c5ae2ebd46e0963af9bbdb0c8
crypto: ccp - Rearrange structure members to minimize size

Orabug: 26644685

The AES GCM function (in ccp-ops) requires a fair amount of
stack space, which elicits a complaint when KASAN is enabled.
Rearranging and packing a few structures eliminates the
warning.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 2d158391061ec8c73898ceac148f4eddfa83efd5)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/crypto/ccp/ccp-dev.h