History log of /rk3399_rockchip-uboot/drivers/crypto/rockchip/crypto_v1.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 6580548a 04-Mar-2021 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto v1: fix RSA2048 multiple call error

RK3288 RSA2048 must reset clk before every calculation.

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

drivers: crypto v1: fix RSA2048 multiple call error

RK3288 RSA2048 must reset clk before every calculation.

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

show more ...


# 49a2135e 26-Feb-2021 Lin Jinhan <troy.lin@rock-chips.com>

drivers: crypto: add des/aes/sm4/hmac support

Crypto V2 implements the following interfaces:
DES: ECB/CBC/CFB/OFB
AES: ECB/CBC/CFB/OFB/CTS/CTR/XTS
SM4: ECB/CBC/CFB/OFB/CTS/CTR/XTS
HASH: SM3
HMAC:

drivers: crypto: add des/aes/sm4/hmac support

Crypto V2 implements the following interfaces:
DES: ECB/CBC/CFB/OFB
AES: ECB/CBC/CFB/OFB/CTS/CTR/XTS
SM4: ECB/CBC/CFB/OFB/CTS/CTR/XTS
HASH: SM3
HMAC: MD5/SHA1/SHA256/SHA512/SM3

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

show more ...


# c48f1acf 17-Aug-2020 Lin Jinhan <troy.lin@rock-chips.com>

crypto: rockchip: modify crypto hash cache support for crypto v1&v2

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


# 864e581c 21-Jul-2020 Lin Jinhan <troy.lin@rock-chips.com>

crypto: rockchip: add ROCKCHIP_RSA and SPL_ROCKCHIP_RSA config

use ROCKCHIP_RSA to enable RSA in uboot.
use SPL_ROCKCHIP_RSA to enable RSA in spl.

Change-Id: I1c3ae3754e9dbdfe39c81b554387fe78451a9f

crypto: rockchip: add ROCKCHIP_RSA and SPL_ROCKCHIP_RSA config

use ROCKCHIP_RSA to enable RSA in uboot.
use SPL_ROCKCHIP_RSA to enable RSA in spl.

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

show more ...


# 1a4f6af8 02-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 978c3957 17-Dec-2019 Joseph Chen <chenjh@rock-chips.com>

crypto: rockchip: v1: add address print for aligned failed message

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


# fb5bc6bb 09-Dec-2019 Joseph Chen <chenjh@rock-chips.com>

crypto: rockchip: v1: require update data length 4-byte aligned

Only the last update data length can be any length.

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

crypto: rockchip: v1: require update data length 4-byte aligned

Only the last update data length can be any length.

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

show more ...


# da2d9dd0 02-Dec-2019 Lin Jinhan <troy.lin@rock-chips.com>

crypto: rockchip: v1: make input buffer CONFIG_SYS_CACHELINE_SIZE aligned

Avoid warning from flush_dcache(): "CACHE: Misaligned operation at range ..."

Change-Id: I8879a3a0dc324463dc5e042bace183a6a

crypto: rockchip: v1: make input buffer CONFIG_SYS_CACHELINE_SIZE aligned

Avoid warning from flush_dcache(): "CACHE: Misaligned operation at range ..."

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

show more ...


# b5038b62 28-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

crypto: rockchip: v1: update print message

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


# f9ebf7a1 24-May-2019 Joseph Chen <chenjh@rock-chips.com>

crypto: rockchip: v1: use BITS2WORD() for sha final

Adding error message for missing total data length when sha init.

Change-Id: Ibbd266a36ba1498ab4ab5c85ecbb68c548a89a86
Signed-off-by: Joseph Chen

crypto: rockchip: v1: use BITS2WORD() for sha final

Adding error message for missing total data length when sha init.

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

show more ...


# a3d00835 13-May-2019 Joseph Chen <chenjh@rock-chips.com>

crypto: add rockchip crypto v1 driver

Crypto v1 driver implements algorithm MD5/SHA1/SHA256/RSA512/RSA1024/RSA2048
for the platforms: rk3399/rk3368/rk3328/rk3229/rk3288/rk3128.

Change-Id: Ib3e16c36

crypto: add rockchip crypto v1 driver

Crypto v1 driver implements algorithm MD5/SHA1/SHA256/RSA512/RSA1024/RSA2048
for the platforms: rk3399/rk3368/rk3328/rk3229/rk3288/rk3128.

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

show more ...