• R/O
  • HTTP
  • SSH
  • HTTPS

immortalwrt: Commit

Mirror only - Please move to https://github.com/immortalwrt/immortalwrt


Commit MetaInfo

Revisione3d47647ff07729b4f9f1d3f01dccab87822f6a2 (tree)
Zeit2022-05-17 22:59:03
AutorEneas U de Queiroz <cotequeiroz@gmai...>
CommiterTianling Shen

Log Message

rockchip/armv8: enable armv8-CE crypto algorithms

This enables armv8 crypto extensions version of AES, GHASH, and CRC T10
algorithms in the kernel.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit eef8fbec8f63ac0686f87ff5735cab21884fa273)

Ändern Zusammenfassung

Diff

--- a/target/linux/rockchip/armv8/config-5.4
+++ b/target/linux/rockchip/armv8/config-5.4
@@ -12,6 +12,7 @@ CONFIG_ARM64_CNP=y
1212 # CONFIG_ARM64_ERRATUM_1165522 is not set
1313 # CONFIG_ARM64_ERRATUM_1286807 is not set
1414 # CONFIG_ARM64_ERRATUM_1418040 is not set
15+CONFIG_ARM64_CRYPTO=y
1516 CONFIG_ARM64_ERRATUM_819472=y
1617 CONFIG_ARM64_ERRATUM_824069=y
1718 CONFIG_ARM64_ERRATUM_826319=y
@@ -115,9 +116,17 @@ CONFIG_CRC16=y
115116 CONFIG_CRC32_SLICEBY8=y
116117 CONFIG_CRC_T10DIF=y
117118 CONFIG_CROSS_MEMORY_ATTACH=y
119+CONFIG_CRYPTO_AES_ARM64=y
120+CONFIG_CRYPTO_AES_ARM64_CE=y
121+CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
122+CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
118123 CONFIG_CRYPTO_CRC32C=y
119124 CONFIG_CRYPTO_CRCT10DIF=y
125+CONFIG_CRYPTO_CRCT10DIF_ARM64_CE=y
126+CONFIG_CRYPTO_CRYPTD=y
120127 # CONFIG_CRYPTO_DEV_ROCKCHIP is not set
128+CONFIG_CRYPTO_GHASH_ARM64_CE=y
129+CONFIG_CRYPTO_SIMD=y
121130 CONFIG_DEBUG_BUGVERBOSE=y
122131 # CONFIG_DEVFREQ_GOV_PASSIVE is not set
123132 CONFIG_DEVFREQ_GOV_PERFORMANCE=y
Show on old repository browser