~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/crypto/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 #
  3 # Arch-specific CryptoAPI modules.
  4 #
  5 
  6 obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o
  7 obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o
  8 obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o
  9 obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o
 10 obj-$(CONFIG_CRYPTO_SHA256_ARM) += sha256-arm.o
 11 obj-$(CONFIG_CRYPTO_SHA512_ARM) += sha512-arm.o
 12 obj-$(CONFIG_CRYPTO_BLAKE2S_ARM) += libblake2s-arm.o
 13 obj-$(CONFIG_CRYPTO_BLAKE2B_NEON) += blake2b-neon.o
 14 obj-$(CONFIG_CRYPTO_CHACHA20_NEON) += chacha-neon.o
 15 obj-$(CONFIG_CRYPTO_POLY1305_ARM) += poly1305-arm.o
 16 obj-$(CONFIG_CRYPTO_NHPOLY1305_NEON) += nhpoly1305-neon.o
 17 obj-$(CONFIG_CRYPTO_CURVE25519_NEON) += curve25519-neon.o
 18 
 19 obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce.o
 20 obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-ce.o
 21 obj-$(CONFIG_CRYPTO_SHA2_ARM_CE) += sha2-arm-ce.o
 22 obj-$(CONFIG_CRYPTO_GHASH_ARM_CE) += ghash-arm-ce.o
 23 obj-$(CONFIG_CRYPTO_CRCT10DIF_ARM_CE) += crct10dif-arm-ce.o
 24 obj-$(CONFIG_CRYPTO_CRC32_ARM_CE) += crc32-arm-ce.o
 25 
 26 aes-arm-y       := aes-cipher-core.o aes-cipher-glue.o
 27 aes-arm-bs-y    := aes-neonbs-core.o aes-neonbs-glue.o
 28 sha1-arm-y      := sha1-armv4-large.o sha1_glue.o
 29 sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o
 30 sha256-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha256_neon_glue.o
 31 sha256-arm-y    := sha256-core.o sha256_glue.o $(sha256-arm-neon-y)
 32 sha512-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha512-neon-glue.o
 33 sha512-arm-y    := sha512-core.o sha512-glue.o $(sha512-arm-neon-y)
 34 libblake2s-arm-y:= blake2s-core.o blake2s-glue.o
 35 blake2b-neon-y  := blake2b-neon-core.o blake2b-neon-glue.o
 36 sha1-arm-ce-y   := sha1-ce-core.o sha1-ce-glue.o
 37 sha2-arm-ce-y   := sha2-ce-core.o sha2-ce-glue.o
 38 aes-arm-ce-y    := aes-ce-core.o aes-ce-glue.o
 39 ghash-arm-ce-y  := ghash-ce-core.o ghash-ce-glue.o
 40 crct10dif-arm-ce-y      := crct10dif-ce-core.o crct10dif-ce-glue.o
 41 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o
 42 chacha-neon-y := chacha-scalar-core.o chacha-glue.o
 43 chacha-neon-$(CONFIG_KERNEL_MODE_NEON) += chacha-neon-core.o
 44 poly1305-arm-y := poly1305-core.o poly1305-glue.o
 45 nhpoly1305-neon-y := nh-neon-core.o nhpoly1305-neon-glue.o
 46 curve25519-neon-y := curve25519-core.o curve25519-glue.o
 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 sha512-core.S
 55 
 56 aflags-thumb2-$(CONFIG_THUMB2_KERNEL)  := -U__thumb2__ -D__thumb2__=1
 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 get the NEON routine if we need it
 62 poly1305-aflags-$(CONFIG_CPU_V7) := -U__LINUX_ARM_ARCH__ -D__LINUX_ARM_ARCH__=5
 63 poly1305-aflags-$(CONFIG_KERNEL_MODE_NEON) := -U__LINUX_ARM_ARCH__ -D__LINUX_ARM_ARCH__=7
 64 AFLAGS_poly1305-core.o += $(poly1305-aflags-y) $(aflags-thumb2-y)

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php