29 lines
943 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
if CRYPTO_DEV_ROCKCHIP
config CRYPTO_DEV_ROCKCHIP_V1
bool "crypto v1 for RV1108 RK3288 RK3368 RK3399"
depends on CPU_RV1108 || CPU_RK3288 || CPU_RK3368 || CPU_RK3399
default y
config CRYPTO_DEV_ROCKCHIP_V2
bool "crypto v2 for RV1109/RV1126 RK1808 RK3308 PX30/RK3326 RK356X RK3588"
depends on CPU_RV1126 || CPU_RK1808 || CPU_RK3308 || CPU_PX30 || CPU_RK3568 || CPU_RK3588
default y
config CRYPTO_DEV_ROCKCHIP_V3
bool "crypto v3/v4 for RV1106/RK3506/RK3528/RK3562/RK3576"
depends on CPU_RV1106 || CPU_RK3506 || CPU_RK3528 || CPU_RK3562 || CPU_RK3576
default y
endif
config CRYPTO_DEV_ROCKCHIP_DEV
tristate "Export rockchip crypto device for user space"
depends on CRYPTO_DEV_ROCKCHIP
default n
help
This is a /dev/crypto device driver.The main idea is to
access existing ciphers in kernel space from userspace,
thus enabling the re-use of a hardware implementation of a cipher.