forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
u-boot/arch/arm/cpu/armv8/Kconfig
....@@ -143,4 +143,19 @@
143143
144144 endif
145145
146
+menuconfig ARMV8_CRYPTO
147
+ bool "ARM64 Accelerated Cryptographic Algorithms"
148
+
149
+if ARMV8_CRYPTO
150
+
151
+config ARMV8_CE_SHA1
152
+ bool "SHA-1 digest algorithm (ARMv8 Crypto Extensions)"
153
+ default y if SHA1
154
+
155
+config ARMV8_CE_SHA256
156
+ bool "SHA-256 digest algorithm (ARMv8 Crypto Extensions)"
157
+ default y if SHA256
158
+
159
+endif
160
+
146161 endif