1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Arch-specific CryptoAPI modules. 3 # Arch-specific CryptoAPI modules. 4 # 4 # 5 5 6 obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o !! 6 obj-$(CONFIG_CRYPTO_SHA1_SPARC64) += sha1-sparc64.o 7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs. !! 7 obj-$(CONFIG_CRYPTO_SHA256_SPARC64) += sha256-sparc64.o 8 obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o !! 8 obj-$(CONFIG_CRYPTO_SHA512_SPARC64) += sha512-sparc64.o 9 obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm !! 9 obj-$(CONFIG_CRYPTO_MD5_SPARC64) += md5-sparc64.o 10 obj-$(CONFIG_CRYPTO_SHA256_ARM) += sha256-arm. !! 10 11 obj-$(CONFIG_CRYPTO_SHA512_ARM) += sha512-arm. !! 11 obj-$(CONFIG_CRYPTO_AES_SPARC64) += aes-sparc64.o 12 obj-$(CONFIG_CRYPTO_BLAKE2S_ARM) += libblake2s !! 12 obj-$(CONFIG_CRYPTO_DES_SPARC64) += des-sparc64.o 13 obj-$(CONFIG_CRYPTO_BLAKE2B_NEON) += blake2b-n !! 13 obj-$(CONFIG_CRYPTO_CAMELLIA_SPARC64) += camellia-sparc64.o 14 obj-$(CONFIG_CRYPTO_CHACHA20_NEON) += chacha-n !! 14 15 obj-$(CONFIG_CRYPTO_POLY1305_ARM) += poly1305- !! 15 obj-$(CONFIG_CRYPTO_CRC32C_SPARC64) += crc32c-sparc64.o 16 obj-$(CONFIG_CRYPTO_NHPOLY1305_NEON) += nhpoly !! 16 17 obj-$(CONFIG_CRYPTO_CURVE25519_NEON) += curve2 !! 17 sha1-sparc64-y := sha1_asm.o sha1_glue.o >> 18 sha256-sparc64-y := sha256_asm.o sha256_glue.o >> 19 sha512-sparc64-y := sha512_asm.o sha512_glue.o >> 20 md5-sparc64-y := md5_asm.o md5_glue.o >> 21 >> 22 aes-sparc64-y := aes_asm.o aes_glue.o >> 23 des-sparc64-y := des_asm.o des_glue.o >> 24 camellia-sparc64-y := camellia_asm.o camellia_glue.o 18 25 19 obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce. !! 26 crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o 20 obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-c << 21 obj-$(CONFIG_CRYPTO_SHA2_ARM_CE) += sha2-arm-c << 22 obj-$(CONFIG_CRYPTO_GHASH_ARM_CE) += ghash-arm << 23 obj-$(CONFIG_CRYPTO_CRCT10DIF_ARM_CE) += crct1 << 24 obj-$(CONFIG_CRYPTO_CRC32_ARM_CE) += crc32-arm << 25 << 26 aes-arm-y := aes-cipher-core.o aes-ciphe << 27 aes-arm-bs-y := aes-neonbs-core.o aes-neonb << 28 sha1-arm-y := sha1-armv4-large.o sha1_glu << 29 sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon << 30 sha256-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := << 31 sha256-arm-y := sha256-core.o sha256_glue.o << 32 sha512-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := << 33 sha512-arm-y := sha512-core.o sha512-glue.o << 34 libblake2s-arm-y:= blake2s-core.o blake2s-glue << 35 blake2b-neon-y := blake2b-neon-core.o blake2b << 36 sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue << 37 sha2-arm-ce-y := sha2-ce-core.o sha2-ce-glue << 38 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o << 39 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-gl << 40 crct10dif-arm-ce-y := crct10dif-ce-core.o << 41 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue << 42 chacha-neon-y := chacha-scalar-core.o chacha-g << 43 chacha-neon-$(CONFIG_KERNEL_MODE_NEON) += chac << 44 poly1305-arm-y := poly1305-core.o poly1305-glu << 45 nhpoly1305-neon-y := nh-neon-core.o nhpoly1305 << 46 curve25519-neon-y := curve25519-core.o curve25 << 47 << 48 quiet_cmd_perl = PERL $@ << 49 cmd_perl = $(PERL) $(<) > $(@) << 50 << 51 $(obj)/%-core.S: $(src)/%-armv4.pl << 52 $(call cmd,perl) << 53 << 54 clean-files += poly1305-core.S sha256-core.S s << 55 << 56 aflags-thumb2-$(CONFIG_THUMB2_KERNEL) := -U__ << 57 << 58 AFLAGS_sha256-core.o += $(aflags-thumb2-y) << 59 AFLAGS_sha512-core.o += $(aflags-thumb2-y) << 60 << 61 # massage the perlasm code a bit so we only ge << 62 poly1305-aflags-$(CONFIG_CPU_V7) := -U__LINUX_ << 63 poly1305-aflags-$(CONFIG_KERNEL_MODE_NEON) := << 64 AFLAGS_poly1305-core.o += $(poly1305-aflags-y) <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.