1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # SPDX-License-Identifier: GPL-2.0 >> 2 # >> 3 # Makefile for MIPS crypto files.. >> 4 # 2 5 3 obj-$(CONFIG_CRYPTO_AES_RISCV64) += aes-riscv6 !! 6 obj-$(CONFIG_CRYPTO_CRC32_MIPS) += crc32-mips.o 4 aes-riscv64-y := aes-riscv64-glue.o aes-riscv6 << 5 aes-riscv64-zvkned-zvbb-zvkg. << 6 7 7 obj-$(CONFIG_CRYPTO_CHACHA_RISCV64) += chacha- !! 8 obj-$(CONFIG_CRYPTO_CHACHA_MIPS) += chacha-mips.o 8 chacha-riscv64-y := chacha-riscv64-glue.o chac !! 9 chacha-mips-y := chacha-core.o chacha-glue.o >> 10 AFLAGS_chacha-core.o += -O2 # needed to fill branch delay slots 9 11 10 obj-$(CONFIG_CRYPTO_GHASH_RISCV64) += ghash-ri !! 12 obj-$(CONFIG_CRYPTO_POLY1305_MIPS) += poly1305-mips.o 11 ghash-riscv64-y := ghash-riscv64-glue.o ghash- !! 13 poly1305-mips-y := poly1305-core.o poly1305-glue.o 12 14 13 obj-$(CONFIG_CRYPTO_SHA256_RISCV64) += sha256- !! 15 perlasm-flavour-$(CONFIG_32BIT) := o32 14 sha256-riscv64-y := sha256-riscv64-glue.o sha2 !! 16 perlasm-flavour-$(CONFIG_64BIT) := 64 15 17 16 obj-$(CONFIG_CRYPTO_SHA512_RISCV64) += sha512- !! 18 quiet_cmd_perlasm = PERLASM $@ 17 sha512-riscv64-y := sha512-riscv64-glue.o sha5 !! 19 cmd_perlasm = $(PERL) $(<) $(perlasm-flavour-y) $(@) 18 20 19 obj-$(CONFIG_CRYPTO_SM3_RISCV64) += sm3-riscv6 !! 21 $(obj)/poly1305-core.S: $(src)/poly1305-mips.pl FORCE 20 sm3-riscv64-y := sm3-riscv64-glue.o sm3-riscv6 !! 22 $(call if_changed,perlasm) 21 23 22 obj-$(CONFIG_CRYPTO_SM4_RISCV64) += sm4-riscv6 !! 24 targets += poly1305-core.S 23 sm4-riscv64-y := sm4-riscv64-glue.o sm4-riscv6 <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.