# # Arch-specific CryptoAPI modules. # obj-$([31mCONFIG_CRYPTO_AES_ARM[0m) += aes-arm.o obj-$([31mCONFIG_CRYPTO_AES_ARM_BS[0m) += aes-arm-bs.o obj-$([31mCONFIG_CRYPTO_SHA1_ARM[0m) += sha1-arm.o obj-$([31mCONFIG_CRYPTO_SHA1_ARM_NEON[0m) += sha1-arm-neon.o obj-$([31mCONFIG_CRYPTO_SHA256_ARM[0m) += sha256-arm.o obj-$([31mCONFIG_CRYPTO_SHA512_ARM[0m) += sha512-arm.o ce-obj-$([31mCONFIG_CRYPTO_AES_ARM_CE[0m) += aes-arm-ce.o ce-obj-$([31mCONFIG_CRYPTO_SHA1_ARM_CE[0m) += sha1-arm-ce.o ce-obj-$([31mCONFIG_CRYPTO_SHA2_ARM_CE[0m) += sha2-arm-ce.o ce-obj-$([31mCONFIG_CRYPTO_GHASH_ARM_CE[0m) += ghash-arm-ce.o ce-obj-$([31mCONFIG_CRYPTO_CRCT10DIF_ARM_CE[0m) += crct10dif-arm-ce.o ce-obj-$([31mCONFIG_CRYPTO_CRC32_ARM_CE[0m) += crc32-arm-ce.o ifneq ($(ce-obj-y)$(ce-obj-m),) ifeq ($(call as-instr,.fpu crypto-neon-fp-armv8,y,n),y) obj-y += $(ce-obj-y) obj-m += $(ce-obj-m) else $(warning These ARMv8 Crypto Extensions modules need binutils 2.23 or higher) $(warning $(ce-obj-y) $(ce-obj-m)) endif endif aes-arm-y := aes-armv4.o aes_glue.o aes-arm-bs-y := aesbs-core.o aesbs-glue.o sha1-arm-y := sha1-armv4-large.o sha1_glue.o sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o sha256-arm-neon-$([31mCONFIG_KERNEL_MODE_NEON[0m) := sha256_neon_glue.o sha256-arm-y := sha256-core.o sha256_glue.o $(sha256-arm-neon-y) sha512-arm-neon-$([31mCONFIG_KERNEL_MODE_NEON[0m) := sha512-neon-glue.o sha512-arm-y := sha512-core.o sha512-glue.o $(sha512-arm-neon-y) sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o sha2-arm-ce-y := sha2-ce-core.o sha2-ce-glue.o aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o crct10dif-arm-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o quiet_cmd_perl = PERL $@ cmd_perl = $(PERL) $(<) > $(@) $(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl $(call cmd,perl) $(src)/sha256-core.S_shipped: $(src)/sha256-armv4.pl $(call cmd,perl) $(src)/sha512-core.S_shipped: $(src)/sha512-armv4.pl $(call cmd,perl) .PRECIOUS: $(obj)/aesbs-core.S $(obj)/sha256-core.S $(obj)/sha512-core.S |