162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# powerpc/crypto/Makefile 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ci# Arch-specific CryptoAPI modules. 662306a36Sopenharmony_ci# 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_AES_PPC_SPE) += aes-ppc-spe.o 962306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_MD5_PPC) += md5-ppc.o 1062306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_SHA1_PPC) += sha1-powerpc.o 1162306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_SHA1_PPC_SPE) += sha1-ppc-spe.o 1262306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o 1362306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_CRC32C_VPMSUM) += crc32c-vpmsum.o 1462306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_CRCT10DIF_VPMSUM) += crct10dif-vpmsum.o 1562306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_VPMSUM_TESTER) += crc-vpmsum_test.o 1662306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_AES_GCM_P10) += aes-gcm-p10-crypto.o 1762306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_CHACHA20_P10) += chacha-p10-crypto.o 1862306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_POLY1305_P10) += poly1305-p10-crypto.o 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciaes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o 2162306a36Sopenharmony_cimd5-ppc-y := md5-asm.o md5-glue.o 2262306a36Sopenharmony_cisha1-powerpc-y := sha1-powerpc-asm.o sha1.o 2362306a36Sopenharmony_cisha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue.o 2462306a36Sopenharmony_cisha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o 2562306a36Sopenharmony_cicrc32c-vpmsum-y := crc32c-vpmsum_asm.o crc32c-vpmsum_glue.o 2662306a36Sopenharmony_cicrct10dif-vpmsum-y := crct10dif-vpmsum_asm.o crct10dif-vpmsum_glue.o 2762306a36Sopenharmony_ciaes-gcm-p10-crypto-y := aes-gcm-p10-glue.o aes-gcm-p10.o ghashp10-ppc.o aesp10-ppc.o 2862306a36Sopenharmony_cichacha-p10-crypto-y := chacha-p10-glue.o chacha-p10le-8x.o 2962306a36Sopenharmony_cipoly1305-p10-crypto-y := poly1305-p10-glue.o poly1305-p10le_64.o 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciquiet_cmd_perl = PERL $@ 3262306a36Sopenharmony_ci cmd_perl = $(PERL) $< $(if $(CONFIG_CPU_LITTLE_ENDIAN), linux-ppc64le, linux-ppc64) > $@ 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_citargets += aesp10-ppc.S ghashp10-ppc.S 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci$(obj)/aesp10-ppc.S $(obj)/ghashp10-ppc.S: $(obj)/%.S: $(src)/%.pl FORCE 3762306a36Sopenharmony_ci $(call if_changed,perl) 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciOBJECT_FILES_NON_STANDARD_aesp10-ppc.o := y 4062306a36Sopenharmony_ciOBJECT_FILES_NON_STANDARD_ghashp10-ppc.o := y 41