Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da3bc265 authored by Sami Tolvanen's avatar Sami Tolvanen
Browse files

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: default avatarSami Tolvanen <samitolvanen@google.com>
parent a36719dd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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