History log of /rk3399_rockchip-uboot/drivers/crypto/rockchip/crypto_v2.c (Results 1 – 25 of 54)
Revision Date Author Comments
# f84a40b4 14-Apr-2025 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: Change the print level of the clk_enable error

For CRYPTO_NS clock may not be implemented, change the erro
message to debug level.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.c

drivers: crypto: Change the print level of the clk_enable error

For CRYPTO_NS clock may not be implemented, change the erro
message to debug level.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ifbfcf9e6141b34a29558a04ec0d430b6747c6bc0

show more ...


# 36e17db4 09-Apr-2025 troy.lin <troy.lin@rock-chips.com>

drivers: crypto: add multi devices support

SPL : support crypto_s & crypto_ns, prefere to use crypto_s
Uboot: support crypto_ns

Signed-off-by: troy.lin <troy.lin@rock-chips.com>
Change-Id: Iad92ad

drivers: crypto: add multi devices support

SPL : support crypto_s & crypto_ns, prefere to use crypto_s
Uboot: support crypto_ns

Signed-off-by: troy.lin <troy.lin@rock-chips.com>
Change-Id: Iad92ad8e7f53ed83a1732ab9d7d2d587bfa5b4db

show more ...


# f489a6d7 02-Apr-2025 Joseph Chen <chenjh@rock-chips.com>

crypto: v2: Wrap with CONFIG_SPL_DM_KEYLAD

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ieb1b082b33838eddc7ed231b084d205347090ea5


# 3cbec420 01-Apr-2025 Joseph Chen <chenjh@rock-chips.com>

crypto: v2: Add rk3562 keylad addr

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ib742f81d75decb53b52edb16997bbcf623d2f50d


# 6b0f7484 25-Mar-2025 Lin Jinhan <troy.lin@rock-chips.com>

Revert "drivers: crypto: v2: add security attribute check"

Not being compatible with platforms that already have only
one crypto node will result in CRYPTO not being available in SPL.

This reverts

Revert "drivers: crypto: v2: add security attribute check"

Not being compatible with platforms that already have only
one crypto node will result in CRYPTO not being available in SPL.

This reverts commit 087d1a194f99878c965e1cc8a08fb39d3dc336af.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I1682379181e9020cbe5fd380b6f627475606e023

show more ...


# 087d1a19 13-Mar-2025 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: add security attribute check

The CRYPTO add security attribute of dts is used to
indicate whether the CRYPTO is secure.Secure CRYPTO
nodes are used in spl and non-secure nodes

drivers: crypto: v2: add security attribute check

The CRYPTO add security attribute of dts is used to
indicate whether the CRYPTO is secure.Secure CRYPTO
nodes are used in spl and non-secure nodes are used in uboot.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Id15bb0cac44b0adb214a6765568bee97b0cda04c

show more ...


# eecb3765 14-Mar-2025 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: add otp key cipher support

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I0a9291e44a0227ce7197fc3620e40a792f5e362e


# 02b4cf42 23-Dec-2024 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: add ec_verify support

Add CRYPTO_SM2/ECC_192R1/ECC_224R1/ECC256R1 algorithms support.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I765dac881deb5c4106d6664e988f76

drivers: crypto: add ec_verify support

Add CRYPTO_SM2/ECC_192R1/ECC_224R1/ECC256R1 algorithms support.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I765dac881deb5c4106d6664e988f764ca28c160c

show more ...


# e0c259fe 25-Mar-2024 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: skip hash/tag valid check for V4

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Idef966b12e72941c20cf136783143b28c3f35633


# 9b9c232a 05-Jan-2024 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: fix switch case fallthrough

fix commit "dd7763a89df"
(drivers: crypto: v2: Add support to enable/disable clk)

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I5

drivers: crypto: v2: fix switch case fallthrough

fix commit "dd7763a89df"
(drivers: crypto: v2: Add support to enable/disable clk)

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I5638e68c3407078b9c4e9598342a8b6a03e3fa75

show more ...


# f2c2c30c 19-Apr-2023 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: fixed the crypto reset timeout issue

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I2e2ff182a7a2366a89507daa714708eb56abee0c


# dd7763a8 09-Feb-2023 Finley Xiao <finley.xiao@rock-chips.com>

drivers: crypto: v2: Add support to enable/disable clk

Change-Id: Ib629704314f3247d1aa38a08dea9e68f81ff4d1a
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh

drivers: crypto: v2: Add support to enable/disable clk

Change-Id: Ib629704314f3247d1aa38a08dea9e68f81ff4d1a
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# a8335d81 09-Feb-2023 Finley Xiao <finley.xiao@rock-chips.com>

drivers: crypto: v2: Fix freq_nclocks and clk init

Change-Id: I4cabdab9e2bfb2b13e7629d44e9c3e0bd864d3be
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@roc

drivers: crypto: v2: Fix freq_nclocks and clk init

Change-Id: I4cabdab9e2bfb2b13e7629d44e9c3e0bd864d3be
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# da703fb5 03-Jan-2023 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: modify clocks node parse

1. Fix nclocks size error
2. Use clk_set_defaults to set clock frequence

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ie337face8619a7

drivers: crypto: v2: modify clocks node parse

1. Fix nclocks size error
2. Use clk_set_defaults to set clock frequence

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ie337face8619a7137e111ff856a304ee32b25ffe

show more ...


# ce7f4cd6 29-Aug-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: modify marco name spelling error

LLI_USER_CPIHER_START => LLI_USER_CIPHER_START

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Icaf844b2dffe62e19b74c17fa963b39e

drivers: crypto: v2: modify marco name spelling error

LLI_USER_CPIHER_START => LLI_USER_CIPHER_START

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Icaf844b2dffe62e19b74c17fa963b39e5f714706

show more ...


# afdbec36 29-Aug-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: fix gcm mode timeout when aad length = 0

The AAD lli descriptor is not required if aad length
is zero in GCM mode。

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-I

drivers: crypto: v2: fix gcm mode timeout when aad length = 0

The AAD lli descriptor is not required if aad length
is zero in GCM mode。

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ifadc60cb243e5e0f20af489fbb5d78ffd17a0a8a

show more ...


# 2db770ef 25-Aug-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: fix ccm tag error when aad_len < 16Byte

When aad_len is less than 16byte, the iv calculation of
CCM is incorrect, resulting in tag errors.

Signed-off-by: Lin Jinhan <troy.lin@

drivers: crypto: v2: fix ccm tag error when aad_len < 16Byte

When aad_len is less than 16byte, the iv calculation of
CCM is incorrect, resulting in tag errors.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ia06205edb5e2b90c33b46458539dbe081d88773d

show more ...


# 2bcebb1a 22-Aug-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: add crypto v3 compatible

Support rk3528 currently.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I7ddfa6a6c3ffe5458fff04396b35b4544036778e


# f93f9077 28-Mar-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: modify crypto v3 compatible

Modify crypto v3 compatible from "rockchip,crypto_v3" to
"rockchip,crypto-v3".

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ia5a

drivers: crypto: v2: modify crypto v3 compatible

Modify crypto v3 compatible from "rockchip,crypto_v3" to
"rockchip,crypto-v3".

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ia5aa851d8fe0b5fdb650ddb91bbdc159c25e0428

show more ...


# 549a74f7 22-Mar-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: Fixed some cases where RSA computing crashed

A data abort error occurs when n/e/d buffer address is not be
aligned at 4 bytes.When data addresses are misaligned, a cache
needs

drivers: crypto: v2: Fixed some cases where RSA computing crashed

A data abort error occurs when n/e/d buffer address is not be
aligned at 4 bytes.When data addresses are misaligned, a cache
needs to be allocated for copying.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I7d9dda11f4a9a59ad67cbeed35cc833dd108661e

show more ...


# 58432b6f 18-Mar-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: add rv1106 support

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I018bb02b4298e10c21f569d6a79e21179c1ea52c


# 46aac970 24-Mar-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: Fix hash update return value error

Return -EFAULT instead of 0 when the hash calculation is wrong.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I22dd59fbb981a

drivers: crypto: v2: Fix hash update return value error

Return -EFAULT instead of 0 when the hash calculation is wrong.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I22dd59fbb981a2ab94cf0228003d4bab16cdde64

show more ...


# 49cbb0fa 14-Feb-2022 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: v2: rk_hash_direct_calc mask lockstep

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Idb85f68bf99d61214aafc5ad3c24d94bedf51443


# 6cebff12 16-Nov-2021 Joseph Chen <chenjh@rock-chips.com>

drivers: crypto: v2: use common api to get clk

Phandle miss match between U-Boot and kernel has been solved,
we use this common api to ignore clock difference about
scmi clk and cru clk.

Signed-off

drivers: crypto: v2: use common api to get clk

Phandle miss match between U-Boot and kernel has been solved,
we use this common api to ignore clock difference about
scmi clk and cru clk.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9f53679ed38599261c8ecbfa36473543c566b4ed

show more ...


# 5c51263a 15-Nov-2021 Joseph Chen <chenjh@rock-chips.com>

drivers: crypto: v2: add CLK_SCMI build control

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I09e42bc9d88dd858d0cb35f15b7fa191d0babcee


123