crypto: sun4i-ss - Always use sun4i_tfm_ctx for storing pointer to dev ss
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Wed, 10 Aug 2016 09:45:33 +0000 (11:45 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Aug 2016 09:17:00 +0000 (17:17 +0800)
commit9b17e5ad7831cde78314f96445cfb4a9945c6c68
tree6fc6f864150f8bf3602f0d141e9ba820c680edfe
parent933e7e3ab239fe7fad5d64f3e2828618b3568e8c
crypto: sun4i-ss - Always use sun4i_tfm_ctx for storing pointer to dev ss

The dev *ss is stored both in sun4i_tfm_ctx and sun4i_req_ctx.
Since this pointer will never be changed during tfm life, it is better
to remove it from sun4i_req_ctx.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sunxi-ss/sun4i-ss-hash.c
drivers/crypto/sunxi-ss/sun4i-ss.h