update mediatek crypto driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | crypto: mediatek - move HW control data to transformation contextdrivers/ drivers/ drivers/ | +126 | 0 replies | |
| 2/8 | crypto: mediatek - fix incorrect data transfer resultdrivers/ drivers/ drivers/ | +47 | 0 replies | |
| 3/8 | crypto: mediatek - make crypto request queue management more genericdrivers/ drivers/ | +53 | 0 replies | |
| 4/8 | crypto: mediatek - rework crypto request completiondrivers/ drivers/ | +16 | 0 replies | |
| 5/8 | crypto: mediatek - regroup functions by usagedrivers/ | +141 | 0 replies | |
| 6/8 | crypto: mediatek - fix typo and indentationdrivers/ drivers/ drivers/ | +63 | 0 replies | |
| 7/8 | crypto: mediatek - add support to CTR modedrivers/ | +146 | 0 replies | |
| 8/8 | crypto: mediatek - add support to GCM modedrivers/ drivers/ drivers/ | +369 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] update mediatek crypto driver
Hi,
This series of patches is a global rework of the mtk driver. Fix bug - incomplete DMA data transfer when SG buffer dst.len != src.len
It also updates some part of the code to make them more generic. For instance the crypto request queue management supports both async block cipher and AEAD requests, which allows us to add support the the GCM mode. GMAC mode is not supported yet.
Current implementation was validated using the tcrypt module running modes:
- 10: ecb(aes), cbc(aes), ctr(aes), rfc3686(ctr(aes))
- 35: gcm(aes)
- 2,6,11,12: sha1, sha2 family
tcrypt speed test was run with modes:
- 211: rfc4106(gcm(aes)), gcm(aes)
- 500: ecb(aes), cbc(aes), ctr(aes), rfc3686(ctr(aes))
- 403 ~ 406: sha1, sha2 family
IxChariot multiple pairs throughput 24 hours test:
- IPSec VPN
- MACSec
Ryder Lee (8):
crypto: mediatek - move HW control data to transformation context
crypto: mediatek - fix incorrect data transfer result
crypto: mediatek - make crypto request queue management more generic
crypto: mediatek - rework crypto request completion
crypto: mediatek - regroup functions by usage
crypto: mediatek - fix typo and indentation
crypto: mediatek - add support to CTR mode
crypto: mediatek - add support to GCM mode
drivers/crypto/Kconfig | 2 + drivers/crypto/mediatek/mtk-aes.c | 1026 ++++++++++++++++++++++++-------- drivers/crypto/mediatek/mtk-platform.h | 47 +- drivers/crypto/mediatek/mtk-sha.c | 170 +++--- 4 files changed, 886 insertions(+), 359 deletions(-)
Signature · 1 line
1.9.1