xref: /openbmc/linux/drivers/crypto/ccp/Makefile (revision c04cf9e1)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2f1147660STom Lendackyobj-$(CONFIG_CRYPTO_DEV_CCP_DD) += ccp.o
3d0ebbc0cSBrijesh Singhccp-objs  := sp-dev.o sp-platform.o
4720419f0SBrijesh Singhccp-$(CONFIG_CRYPTO_DEV_SP_CCP) += ccp-dev.o \
558ea8abfSGary R Hook	    ccp-ops.o \
658ea8abfSGary R Hook	    ccp-dev-v3.o \
74b394a23SGary R Hook	    ccp-dev-v5.o \
893308bafSHook, Gary	    ccp-dmaengine.o
993308bafSHook, Garyccp-$(CONFIG_CRYPTO_DEV_CCP_DEBUGFS) += ccp-debugfs.o
10d0ebbc0cSBrijesh Singhccp-$(CONFIG_PCI) += sp-pci.o
11b93566f1SRijo Thomasccp-$(CONFIG_CRYPTO_DEV_SP_PSP) += psp-dev.o \
1233960accSRijo Thomas                                   sev-dev.o \
137ccc4f4eSMario Limonciello                                   tee-dev.o \
14*c04cf9e1SMario Limonciello                                   platform-access.o \
15*c04cf9e1SMario Limonciello                                   dbc.o
16f1147660STom Lendacky
17f1147660STom Lendackyobj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o
18f1147660STom Lendackyccp-crypto-objs := ccp-crypto-main.o \
19f1147660STom Lendacky		   ccp-crypto-aes.o \
20f1147660STom Lendacky		   ccp-crypto-aes-cmac.o \
21f1147660STom Lendacky		   ccp-crypto-aes-xts.o \
2236cf515bSGary R Hook		   ccp-crypto-aes-galois.o \
23990672d4SGary R Hook		   ccp-crypto-des3.o \
24ceeec0afSGary R Hook		   ccp-crypto-rsa.o \
25f1147660STom Lendacky		   ccp-crypto-sha.o
26