1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # powerpc/crypto/Makefile << 4 # << 5 # Arch-specific CryptoAPI modules. 3 # Arch-specific CryptoAPI modules. 6 # 4 # 7 5 8 obj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-sp !! 6 obj-$(CONFIG_CRYPTO_SHA1_SPARC64) += sha1-sparc64.o 9 obj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o !! 7 obj-$(CONFIG_CRYPTO_SHA256_SPARC64) += sha256-sparc64.o 10 obj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc. !! 8 obj-$(CONFIG_CRYPTO_SHA512_SPARC64) += sha512-sparc64.o 11 obj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc- !! 9 obj-$(CONFIG_CRYPTO_MD5_SPARC64) += md5-sparc64.o 12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256- !! 10 13 obj-$(CONFIG_CRYPTO_CRC32C_VPMSUM) += crc32c-v !! 11 obj-$(CONFIG_CRYPTO_AES_SPARC64) += aes-sparc64.o 14 obj-$(CONFIG_CRYPTO_CRCT10DIF_VPMSUM) += crct1 !! 12 obj-$(CONFIG_CRYPTO_DES_SPARC64) += des-sparc64.o 15 obj-$(CONFIG_CRYPTO_VPMSUM_TESTER) += crc-vpms !! 13 obj-$(CONFIG_CRYPTO_CAMELLIA_SPARC64) += camellia-sparc64.o 16 obj-$(CONFIG_CRYPTO_AES_GCM_P10) += aes-gcm-p1 !! 14 17 obj-$(CONFIG_CRYPTO_CHACHA20_P10) += chacha-p1 !! 15 obj-$(CONFIG_CRYPTO_CRC32C_SPARC64) += crc32c-sparc64.o 18 obj-$(CONFIG_CRYPTO_POLY1305_P10) += poly1305- !! 16 19 obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-cr !! 17 sha1-sparc64-y := sha1_asm.o sha1_glue.o 20 obj-$(CONFIG_CRYPTO_CURVE25519_PPC64) += curve !! 18 sha256-sparc64-y := sha256_asm.o sha256_glue.o 21 !! 19 sha512-sparc64-y := sha512_asm.o sha512_glue.o 22 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o !! 20 md5-sparc64-y := md5_asm.o md5_glue.o 23 md5-ppc-y := md5-asm.o md5-glue.o !! 21 24 sha1-powerpc-y := sha1-powerpc-asm.o sha1.o !! 22 aes-sparc64-y := aes_asm.o aes_glue.o 25 sha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue !! 23 des-sparc64-y := des_asm.o des_glue.o 26 sha256-ppc-spe-y := sha256-spe-asm.o sha256-sp !! 24 camellia-sparc64-y := camellia_asm.o camellia_glue.o 27 crc32c-vpmsum-y := crc32c-vpmsum_asm.o crc32c- !! 25 28 crct10dif-vpmsum-y := crct10dif-vpmsum_asm.o c !! 26 crc32c-sparc64-y := crc32c_asm.o crc32c_glue.o 29 aes-gcm-p10-crypto-y := aes-gcm-p10-glue.o aes << 30 chacha-p10-crypto-y := chacha-p10-glue.o chach << 31 poly1305-p10-crypto-y := poly1305-p10-glue.o p << 32 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-p << 33 curve25519-ppc64le-y := curve25519-ppc64le-cor << 34 << 35 ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) << 36 override flavour := linux-ppc64le << 37 else << 38 ifdef CONFIG_PPC64_ELF_ABI_V2 << 39 override flavour := linux-ppc64-elfv2 << 40 else << 41 override flavour := linux-ppc64 << 42 endif << 43 endif << 44 << 45 quiet_cmd_perl = PERL $@ << 46 cmd_perl = $(PERL) $< $(flavour) > $@ << 47 << 48 targets += aesp10-ppc.S ghashp10-ppc.S aesp8-p << 49 << 50 $(obj)/aesp10-ppc.S $(obj)/ghashp10-ppc.S: $(o << 51 $(call if_changed,perl) << 52 << 53 $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S: $(obj << 54 $(call if_changed,perl) << 55 << 56 OBJECT_FILES_NON_STANDARD_aesp10-ppc.o := y << 57 OBJECT_FILES_NON_STANDARD_ghashp10-ppc.o := y << 58 OBJECT_FILES_NON_STANDARD_aesp8-ppc.o := 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.