crypto: caam - incorporate job descriptor into struct ahash_edesc
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 8 Aug 2016 17:04:42 +0000 (18:04 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:24 +0000 (18:47 +0800)
commit64ce56cb44f8b13df4d8f47b8ea527591a68a03b
treea27a8fad7512ebbe419db41c4ab53d21312e1711
parente11793f5dad8225023d8b46ac93a98ec14cebcde
crypto: caam - incorporate job descriptor into struct ahash_edesc

Rather than giving the descriptor as hw_desc[0], give it's real size.
All places where we allocate an ahash_edesc incorporate DESC_JOB_IO_LEN
bytes of job descriptor.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c