David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 1 | # |
| 2 | # Arch-specific CryptoAPI modules. |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame] | 6 | obj-$(CONFIG_CRYPTO_AES_ARM_BS) += aes-arm-bs.o |
David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 7 | obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o |
Jussi Kivilinna | 6046825 | 2014-07-29 17:14:14 +0100 | [diff] [blame] | 8 | obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o |
Jussi Kivilinna | c8611d7 | 2014-07-29 17:15:24 +0100 | [diff] [blame^] | 9 | obj-$(CONFIG_CRYPTO_SHA512_ARM_NEON) += sha512-arm-neon.o |
David McCullough | f0be44f | 2012-09-07 04:17:02 +0800 | [diff] [blame] | 10 | |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame] | 11 | aes-arm-y := aes-armv4.o aes_glue.o |
| 12 | aes-arm-bs-y := aesbs-core.o aesbs-glue.o |
| 13 | sha1-arm-y := sha1-armv4-large.o sha1_glue.o |
Jussi Kivilinna | 6046825 | 2014-07-29 17:14:14 +0100 | [diff] [blame] | 14 | sha1-arm-neon-y := sha1-armv7-neon.o sha1_neon_glue.o |
Jussi Kivilinna | c8611d7 | 2014-07-29 17:15:24 +0100 | [diff] [blame^] | 15 | sha512-arm-neon-y := sha512-armv7-neon.o sha512_neon_glue.o |
Ard Biesheuvel | e4e7f10 | 2013-09-16 18:31:38 +0200 | [diff] [blame] | 16 | |
| 17 | quiet_cmd_perl = PERL $@ |
| 18 | cmd_perl = $(PERL) $(<) > $(@) |
| 19 | |
| 20 | $(src)/aesbs-core.S_shipped: $(src)/bsaes-armv7.pl |
| 21 | $(call cmd,perl) |
| 22 | |
| 23 | .PRECIOUS: $(obj)/aesbs-core.S |