26 lines
829 B
Plaintext
26 lines
829 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"
|
||
|
default y if CPU_RV1108 || CPU_RK3288 || CPU_RK3368 || CPU_RK3399
|
||
|
|
||
|
config CRYPTO_DEV_ROCKCHIP_V2
|
||
|
bool "crypto v2 for RV1109/RV1126 RK1808 RK3308 PX30/RK3326 RK356X RK3588"
|
||
|
default y if CPU_RV1126 || CPU_RK1808 || CPU_RK3308 || CPU_PX30 || CPU_RK3568 || CPU_RK3588
|
||
|
|
||
|
config CRYPTO_DEV_ROCKCHIP_V3
|
||
|
bool "crypto v3 for RV1106"
|
||
|
default y if CPU_RV1106
|
||
|
|
||
|
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.
|