forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/arch/arm64/crypto/Makefile
....@@ -1,11 +1,8 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # linux/arch/arm64/crypto/Makefile
34 #
45 # Copyright (C) 2014 Linaro Ltd <ard.biesheuvel@linaro.org>
5
-#
6
-# This program is free software; you can redistribute it and/or modify
7
-# it under the terms of the GNU General Public License version 2 as
8
-# published by the Free Software Foundation.
96 #
107
118 obj-$(CONFIG_CRYPTO_SHA1_ARM64_CE) += sha1-ce.o
....@@ -32,9 +29,6 @@
3229 obj-$(CONFIG_CRYPTO_CRCT10DIF_ARM64_CE) += crct10dif-ce.o
3330 crct10dif-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o
3431
35
-obj-$(CONFIG_CRYPTO_CRC32_ARM64_CE) += crc32-ce.o
36
-crc32-ce-y:= crc32-ce-core.o crc32-ce-glue.o
37
-
3832 obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
3933 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
4034
....@@ -60,6 +54,9 @@
6054 poly1305-neon-y := poly1305-core.o poly1305-glue.o
6155 AFLAGS_poly1305-core.o += -Dpoly1305_init=poly1305_init_arm64
6256
57
+obj-$(CONFIG_CRYPTO_NHPOLY1305_NEON) += nhpoly1305-neon.o
58
+nhpoly1305-neon-y := nh-neon-core.o nhpoly1305-neon-glue.o
59
+
6360 obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o
6461 aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
6562
....@@ -83,6 +80,7 @@
8380
8481 $(src)/sha512-core.S_shipped: $(src)/sha512-armv8.pl
8582 $(call cmd,perlasm)
83
+
8684 endif
8785
88
-targets += poly1305-core.S sha256-core.S sha512-core.S
86
+clean-files += poly1305-core.S sha256-core.S sha512-core.S