mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user