d1: enable crypto offload engine
Enable the sun8i_ce engine that's included on the D1 SoC, along with the respective hash/prng/trng options. The sun8i_ce driver also requires PM and PPU to be enabled. [ 1.368345] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz) [ 1.378592] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 1.386894] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 1.395114] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 1.403197] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 1.411110] sun8i-ce 3040000.crypto: Register cbc(aes) [ 1.416235] sun8i-ce 3040000.crypto: Register ecb(aes) [ 1.421347] sun8i-ce 3040000.crypto: Register cbc(des3_ede) [ 1.426898] sun8i-ce 3040000.cryxto: Register ecb(des3_ede) [ 1.432366] sun8i-ce 3040000.crypto: Register md5 [ 1.437112] sun8i-ce 3040000.crypto: Register sha1 [ 1.441816] sun8i-ce 3040000.crypto: Register sha224 [ 1.446821] sun8i-ce 3040000.crypto: Register sha256 [ 1.451697] sun8i-ce 3040000.crypto: Register sha384 [ 1.456733] sun8i-ce 3040000.crypto: Register sha512 [ 1.461673] sun8i-ce 3040000.crypto: Register stdrng [ 1.467096] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0 root@OpenWrt:~# cat /proc/crypto |grep sun8i driver : sun8i-ce-prng driver : sha512-sun8i-ce driver : sha384-sun8i-ce driver : sha256-sun8i-ce driver : sha224-sun8i-ce driver : sha1-sun8i-ce driver : md5-sun8i-ce driver : ecb-des3-sun8i-ce driver : cbc-des3-sun8i-ce driver : ecb-aes-sun8i-ce driver : cbc-aes-sun8i-ce Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
This commit is contained in:
parent
fb2c59b942
commit
de2d34cf7a
1 changed files with 31 additions and 3 deletions
|
@ -46,7 +46,35 @@ CONFIG_CRC16=y
|
|||
CONFIG_CRC32_SLICEBY8=y
|
||||
CONFIG_CRC7=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
CONFIG_CRYPTO_CBC=y
|
||||
CONFIG_CRYPTO_CRC32C=y
|
||||
CONFIG_CRYPTO_DES=y
|
||||
CONFIG_CRYPTO_DEV_ALLWINNER=y
|
||||
# CONFIG_CRYPTO_DEV_SUN4I_SS is not set
|
||||
CONFIG_CRYPTO_DEV_SUN8I_CE=y
|
||||
# CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG is not set
|
||||
CONFIG_CRYPTO_DEV_SUN8I_CE_HASH=y
|
||||
CONFIG_CRYPTO_DEV_SUN8I_CE_PRNG=y
|
||||
CONFIG_CRYPTO_DEV_SUN8I_CE_TRNG=y
|
||||
# CONFIG_CRYPTO_DEV_SUN8I_SS is not set
|
||||
CONFIG_CRYPTO_ECB=y
|
||||
CONFIG_CRYPTO_ENGINE=y
|
||||
CONFIG_CRYPTO_HW=y
|
||||
CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y
|
||||
CONFIG_CRYPTO_LIB_DES=y
|
||||
CONFIG_CRYPTO_LIB_GF128MUL=y
|
||||
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=1
|
||||
CONFIG_CRYPTO_LIB_SHA1=y
|
||||
CONFIG_CRYPTO_LIB_SHA256=y
|
||||
CONFIG_CRYPTO_LIB_UTILS=y
|
||||
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
|
||||
# CONFIG_CRYPTO_MANAGER_EXTRA_TESTS is not set
|
||||
CONFIG_CRYPTO_MD5=y
|
||||
CONFIG_CRYPTO_RNG=y
|
||||
CONFIG_CRYPTO_RNG2=y
|
||||
CONFIG_CRYPTO_SHA1=y
|
||||
CONFIG_CRYPTO_SHA256=y
|
||||
CONFIG_CRYPTO_SHA512=y
|
||||
CONFIG_DECOMPRESS_GZIP=y
|
||||
CONFIG_DMADEVICES=y
|
||||
CONFIG_DMA_DIRECT_REMAP=y
|
||||
|
@ -168,8 +196,6 @@ CONFIG_JBD2=y
|
|||
CONFIG_KALLSYMS=y
|
||||
# CONFIG_KERNEL_UNCOMPRESSED is not set
|
||||
# CONFIG_KEYBOARD_SUN4I_LRADC is not set
|
||||
# CONFIG_LEDS_PWM_MULTICOLOR is not set
|
||||
# CONFIG_LEDS_SUN50I_A100 is not set
|
||||
CONFIG_LEGACY_PTYS=y
|
||||
CONFIG_LEGACY_PTY_COUNT=256
|
||||
CONFIG_LIBFDT=y
|
||||
|
@ -262,6 +288,8 @@ CONFIG_PINCTRL_SUN20I_D1=y
|
|||
# CONFIG_PINCTRL_SUN9I_A80 is not set
|
||||
# CONFIG_PINCTRL_SUN9I_A80_R is not set
|
||||
CONFIG_PINCTRL_SUNXI=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_PM_CLK=y
|
||||
CONFIG_PORTABLE=y
|
||||
CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
|
||||
CONFIG_POWER_RESET=y
|
||||
|
@ -279,7 +307,6 @@ CONFIG_PWM=y
|
|||
# CONFIG_PWM_SUN4I is not set
|
||||
# CONFIG_PWM_SUN8I_V536 is not set
|
||||
CONFIG_PWM_SYSFS=y
|
||||
# CONFIG_PWM_XILINX is not set
|
||||
CONFIG_RATIONAL=y
|
||||
CONFIG_RCU_TRACE=y
|
||||
CONFIG_REALTEK_PHY=y
|
||||
|
@ -366,6 +393,7 @@ CONFIG_STMMAC_PLATFORM=y
|
|||
CONFIG_SUN20I_D1_CCU=y
|
||||
CONFIG_SUN20I_D1_R_CCU=y
|
||||
CONFIG_SUN20I_GPADC=y
|
||||
CONFIG_SUN20I_PPU=y
|
||||
# CONFIG_SUN4I_EMAC is not set
|
||||
CONFIG_SUN4I_TIMER=y
|
||||
CONFIG_SUN50I_IOMMU=y
|
||||
|
|
Loading…
Reference in a new issue