]> asedeno.scripts.mit.edu Git - linux.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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Apr 2017 13:58:35 +0000 (21:58 +0800)
commit2d158391061ec8c73898ceac148f4eddfa83efd5
tree3e8c9c3c8af547b1020949ed23019fddc3c58e6f
parent51de7dd02d422da11b4dff6f11936c8333a870fe
crypto: ccp - Rearrange structure members to minimize size

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>
drivers/crypto/ccp/ccp-dev.h