ANDROID: arm64: crypto: fix AES CE when built as a module

Rename aes-cipher.c to aes-cipher-glue.c according to existing
naming convention, and make sure aes-cipher-core.c is linked into
the module.

Bug: 67506682
Change-Id: I63671937207cc192d8f9cbef3232841d9e30022b
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
Sami Tolvanen
2018-03-02 13:20:40 -08:00
parent a36719dd88
commit da3bc26599
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,8 @@ sha2-ce-y := sha2-ce-glue.o sha2-ce-core.o
obj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o
ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o aes-ce-cipher-core.o
obj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
aes-ce-cipher-y := aes-ce-cipher-glue.o aes-ce-cipher-core.o
CFLAGS_aes-ce-cipher-core.o += -march=armv8-a+crypto -Wa,-march=armv8-a+crypto $(DISABLE_LTO)
obj-$(CONFIG_CRYPTO_AES_ARM64_CE_CCM) += aes-ce-ccm.o