PD#SWPL-135332
Problem:
Ensure old keyable driver compatibility.
Maintain the old keytable driver for one year.
Solution:
Move old keytable driver to new keytable driver
Verify:
T3 metacas
Change-Id: I40fb4935f6f0f08ca9be4044cfe760f03b6c85c2
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-132576
Problem:
There is a conflict of key table/ladder hardware register resources
when accessing the key table/ladder API between different
REE application simultaneously.
Solution:
Modified to protect kt_lock/kl_lock to kt_unlock/kl_unlock with mutex.
Verify:
Pass
Change-Id: Ibe4b6e8009390ddc8d61c000e79f34803423a14a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-131811
Problem:
copy_from_user can not find during build of user mode.
Solution:
Add header for copy_from_user()
Verify:
Build
Change-Id: I9fa35bb1acd45ac276b740c621f708261a0a671c
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-129723
Problem:
It is used for M2M/descrambler.
Solution:
It is used only for descrambler.
Verify:
S4D
Change-Id: I94f34095dce7fa16af497bb5c61c52edf1a34f39
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-126582
Problem:
In the case of the AES algorithm,
it could not be converted to a new algorithm value.
Solution:
Fix the algorithm conversion code.
Verify:
T5W
Change-Id: I3e3ccfe0754801c4c0d822ba665561e30f2f4ef3
Signed-off-by: Doosan Baek <doosan.baek@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>