1ifeq ($(CFG_CRYPTO_WITH_CE),y) 2srcs-$(CFG_ARM64_core) += ghash-ce-core_a64.S 3srcs-$(CFG_ARM32_core) += ghash-ce-core_a32.S 4srcs-y += aes-gcm-ce.c 5endif 6 7ifeq ($(CFG_CRYPTO_AES_ARM_CE),y) 8srcs-y += aes_armv8a_ce.c 9srcs-$(CFG_ARM64_core) += aes_modes_armv8a_ce_a64.S 10aflags-aes_modes_armv8a_ce_a64.S-y += -DINTERLEAVE=4 11srcs-$(CFG_ARM32_core) += aes_modes_armv8a_ce_a32.S 12endif 13 14ifeq ($(CFG_CRYPTO_SHA1_ARM_CE),y) 15srcs-y += sha1_armv8a_ce.c 16srcs-$(CFG_ARM64_core) += sha1_armv8a_ce_a64.S 17srcs-$(CFG_ARM32_core) += sha1_armv8a_ce_a32.S 18endif 19 20ifeq ($(CFG_CRYPTO_SHA256_ARM_CE),y) 21srcs-y += sha256_armv8a_ce.c 22srcs-$(CFG_ARM64_core) += sha256_armv8a_ce_a64.S 23srcs-$(CFG_ARM32_core) += sha256_armv8a_ce_a32.S 24endif 25 26ifeq ($(CFG_CRYPTO_SHA512_ARM_CE),y) 27srcs-y += sha512_armv8a_ce.c 28srcs-$(CFG_ARM64_core) += sha512_armv8a_ce_a64.S 29endif 30 31ifeq ($(CFG_CRYPTO_SHA3_ARM_CE),y) 32srcs-y += sha3_armv8a_ce.c 33srcs-$(CFG_ARM64_core) += sha3_armv8a_ce_a64.S 34endif 35 36ifeq ($(CFG_CRYPTO_SM3_ARM_CE),y) 37srcs-y += sm3_armv8a_ce.c 38srcs-$(CFG_ARM64_core) += sm3_armv8a_ce_a64.S 39endif 40 41ifeq ($(CFG_CRYPTO_SM4_ARM_CE),y) 42srcs-$(CFG_ARM64_core) += sm4_armv8a_ce.c 43srcs-$(CFG_ARM64_core) += sm4_armv8a_ce_a64.S 44else ifeq ($(CFG_CRYPTO_SM4_ARM_AESE),y) 45srcs-$(CFG_ARM64_core) += sm4_armv8a_neon.c 46srcs-$(CFG_ARM64_core) += sm4_armv8a_aese_a64.S 47endif 48