crypto: hifn_795x - Fix request context corruption
commit5df4c0c671bbb425e4a77dde5f51869aeebebd67
authorPatrick McHardy <kaber@trash.net>
Mon, 24 Nov 2008 14:01:42 +0000 (24 22:01 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:01:54 +0000 (25 11:01 +1100)
treea302e5c58642b8c22f0ceafbdfcba100f8c96c79
parent3416158680d5ba6fdb939e5bb52a8eba1ad5c027
crypto: hifn_795x - Fix request context corruption

HIFN uses the transform context to store per-request data, which breaks
when more than one request is outstanding. Move per request members from
struct hifn_context to a new struct hifn_request_context and convert
the code to use this.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c