OpenCloudOS-Kernel/drivers/crypto/mediatek
Ryder Lee 382ae57d5e crypto: mediatek - make crypto request queue management more generic
This patch changes mtk_aes_handle_queue() to make it more generic.
The function argument is now a pointer to struct crypto_async_request,
which is the common base of struct ablkcipher_request and
struct aead_request.

Also this patch introduces struct mtk_aes_base_ctx which will be the
common base of all the transformation contexts.

Hence the very same queue will be used to manage both block cipher and
AEAD requests (such as gcm and authenc implemented in further patches).

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-01-23 22:50:30 +08:00
..
Makefile crypto: mediatek - Add crypto driver support for some MediaTek chips 2016-12-27 17:51:30 +08:00
mtk-aes.c crypto: mediatek - make crypto request queue management more generic 2017-01-23 22:50:30 +08:00
mtk-platform.c crypto: mediatek - make symbol of_crypto_id static 2017-01-13 18:47:16 +08:00
mtk-platform.h crypto: mediatek - make crypto request queue management more generic 2017-01-23 22:50:30 +08:00
mtk-regs.h crypto: mediatek - Add crypto driver support for some MediaTek chips 2016-12-27 17:51:30 +08:00
mtk-sha.c crypto: mediatek - fix incorrect data transfer result 2017-01-23 22:50:29 +08:00