1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for key management
4#
5
6#
7# Core
8#
9obj-y := \
10	gc.o \
11	key.o \
12	keyring.o \
13	keyctl.o \
14	permission.o \
15	process_keys.o \
16	request_key.o \
17	request_key_auth.o \
18	user_defined.o
19compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o
20obj-$(CONFIG_COMPAT) += compat.o $(compat-obj-y)
21obj-$(CONFIG_PROC_FS) += proc.o
22obj-$(CONFIG_SYSCTL) += sysctl.o
23obj-$(CONFIG_PERSISTENT_KEYRINGS) += persistent.o
24obj-$(CONFIG_KEY_DH_OPERATIONS) += dh.o
25obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += keyctl_pkey.o
26
27#
28# Key types
29#
30obj-$(CONFIG_BIG_KEYS) += big_key.o
31obj-$(CONFIG_TRUSTED_KEYS) += trusted-keys/
32obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/
33