PD#SWPL-138376
Problem:
When there are multiple process accessing crypto device at the same
time, some of the request might be dropped and causing process failed to
exit.
Solution:
Move mutex lock to properly protect HW operation
Verify:
S905C3
Change-Id: Ie12b1f46e87dcbbaf5df4f780711dcebc9c87e75
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-140403
Problem:
Missing SM4 support in aml-crypto-device on S5
Solution:
Add SM4 support to aml-crypto-device
Verify:
S5
Change-Id: I0933bbcefa46daa5b00bd41d1e68fc9441bd3185
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-124965
Problem:
Need key ladder/table driver for kernel5.15
The KT driver needs to be separated from the descrambler.
New APIs are needed for the KT driver.
Solution:
Create a seckey driver.
Verify:
S5 KT/KL with DMA
T3 METACAS with Descramble
T5W
Change-Id: Id058e64f99918b66e79d24647880f999f55ca13a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-104759
Problem:
Bringup aml crypto on t5m
Solution:
Enable aml crypto dts on t5m
Verify:
T5M
Change-Id: I605aef6f6020924881ee2b5801beb8297611dd70
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
PD#SWPL-96209
Problem:
Compilation error when CONFIG_CRYPTO_DES is disabled
Solution:
1. Strip out symbol issue by aml-crypto-dma and
that is from crypto des framework.
Verify:
1. On AN400
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
Change-Id: I06e894ae10e55ab86c40ee7b2ebe2013c5412149
PD#SWPL-71764
Problem:
Need to bringup amlogic crypto driver for
kernel 5.15.
Solution:
1. Bringup amlogic crypto driver
2. Enable SHA1, DES, and ECB if they are
disabled by default.
3. Merged from 5.4 and 5.10
Verify:
1. Built-in driver on C2_AF400
2. GKI driver on S4D AP_222
Change-Id: I62487e615930070233c3a6b4a41b66edddf6f783
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>