diff options
Diffstat (limited to 'lib/crypto/arm64/Makefile')
-rw-r--r-- | lib/crypto/arm64/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/crypto/arm64/Makefile b/lib/crypto/arm64/Makefile new file mode 100644 index 000000000000..6207088397a7 --- /dev/null +++ b/lib/crypto/arm64/Makefile @@ -0,0 +1,17 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_CRYPTO_CHACHA20_NEON) += chacha-neon.o +chacha-neon-y := chacha-neon-core.o chacha-neon-glue.o + +obj-$(CONFIG_CRYPTO_POLY1305_NEON) += poly1305-neon.o +poly1305-neon-y := poly1305-core.o poly1305-glue.o +AFLAGS_poly1305-core.o += -Dpoly1305_init=poly1305_block_init_arch +AFLAGS_poly1305-core.o += -Dpoly1305_emit=poly1305_emit_arch + +quiet_cmd_perlasm = PERLASM $@ + cmd_perlasm = $(PERL) $(<) void $(@) + +$(obj)/%-core.S: $(src)/%-armv8.pl + $(call cmd,perlasm) + +clean-files += poly1305-core.S |