xref: /openbmc/linux/arch/arm64/crypto/Makefile (revision 317f2f75)
12c98833aSArd Biesheuvel#
22c98833aSArd Biesheuvel# linux/arch/arm64/crypto/Makefile
32c98833aSArd Biesheuvel#
42c98833aSArd Biesheuvel# Copyright (C) 2014 Linaro Ltd <ard.biesheuvel@linaro.org>
52c98833aSArd Biesheuvel#
62c98833aSArd Biesheuvel# This program is free software; you can redistribute it and/or modify
72c98833aSArd Biesheuvel# it under the terms of the GNU General Public License version 2 as
82c98833aSArd Biesheuvel# published by the Free Software Foundation.
92c98833aSArd Biesheuvel#
102c98833aSArd Biesheuvel
112c98833aSArd Biesheuvelobj-$(CONFIG_CRYPTO_SHA1_ARM64_CE) += sha1-ce.o
122c98833aSArd Biesheuvelsha1-ce-y := sha1-ce-glue.o sha1-ce-core.o
136ba6c74dSArd Biesheuvel
146ba6c74dSArd Biesheuvelobj-$(CONFIG_CRYPTO_SHA2_ARM64_CE) += sha2-ce.o
156ba6c74dSArd Biesheuvelsha2-ce-y := sha2-ce-glue.o sha2-ce-core.o
16fdd23894SArd Biesheuvel
17fdd23894SArd Biesheuvelobj-$(CONFIG_CRYPTO_GHASH_ARM64_CE) += ghash-ce.o
18fdd23894SArd Biesheuvelghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
19*317f2f75SArd Biesheuvel
20*317f2f75SArd Biesheuvelobj-$(CONFIG_CRYPTO_AES_ARM64_CE) += aes-ce-cipher.o
21*317f2f75SArd BiesheuvelCFLAGS_aes-ce-cipher.o += -march=armv8-a+crypto
22