The crypto mediatek driver has been replaced by the inside-secure driver now.
Remove DT bindings documentation and update crypto engine nodes to the
mt7623.dtsi files.
Signed-off-by: Vic Wu
Acked-by: Ryder Lee
---
Documentation/devicetree/bindings/crypto/mediatek-crypto.txt | 25
The crypto mediatek driver has been replaced by the inside-secure
driver now. Remove this driver to avoid having duplicate drivers.
Signed-off-by: Vic Wu
Acked-by: Ryder Lee
---
drivers/crypto/Kconfig | 15 -
drivers/crypto/Makefile|1 -
drivers/crypto
From: Ryder Lee
The driver was treating -EBUSY as indication of queueing to backlog
without checking that backlog is enabled for the request.
Fix it by checking request flags.
Signed-off-by: Ryder Lee
Signed-off-by: Vic Wu
---
drivers/crypto/mediatek/mtk-sha.c | 4 +++-
1 file changed, 3
Record crypto key to context during setkey and set the key to
transform state buffer in encrypt/decrypt process.
Signed-off-by: Vic Wu
---
drivers/crypto/mediatek/mtk-aes.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/crypto/mediatek/mtk-aes.c
b
From: Ryder Lee
Add a pre-computed text length to avoid uninitialized value in the check.
Fixes: e47270665b5f ("crypto: mediatek - Add empty messages check in GCM mode")
Signed-off-by: Ryder Lee
Signed-off-by: Vic Wu
---
drivers/crypto/mediatek/mtk-aes.c | 10 +-
1 file
From: Ryder Lee
This patch adds support to OFB/CFB mode.
Signed-off-by: Ryder Lee
Signed-off-by: Vic Wu
---
drivers/crypto/mediatek/mtk-aes.c | 85 ---
1 file changed, 78 insertions(+), 7 deletions(-)
diff --git a/drivers/crypto/mediatek/mtk-aes.c
b/drivers
From: Ryder Lee
Move mtk_aes_find_dev() to right functions as nobody uses the
'cryp' under current flows.
We can also avoid duplicate checks here and there in this way.
Signed-off-by: Ryder Lee
Signed-off-by: Vic Wu
---
drivers/crypto/mediatek/mtk-