1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for key management 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 69f7ce8e2SDavid Howells# 79f7ce8e2SDavid Howells# Core 89f7ce8e2SDavid Howells# 91da177e4SLinus Torvaldsobj-y := \ 105d135440SDavid Howells gc.o \ 111da177e4SLinus Torvalds key.o \ 121da177e4SLinus Torvalds keyring.o \ 131da177e4SLinus Torvalds keyctl.o \ 14468ed2b0SDavid Howells permission.o \ 151da177e4SLinus Torvalds process_keys.o \ 163e30148cSDavid Howells request_key.o \ 173e30148cSDavid Howells request_key_auth.o \ 183e30148cSDavid Howells user_defined.o 19f1c316a3SStephan Muellercompat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o 20601f0093SEric Biggersobj-$(CONFIG_COMPAT) += compat.o $(compat-obj-y) 211da177e4SLinus Torvaldsobj-$(CONFIG_PROC_FS) += proc.o 220b77f5bfSDavid Howellsobj-$(CONFIG_SYSCTL) += sysctl.o 23f36f8c75SDavid Howellsobj-$(CONFIG_PERSISTENT_KEYRINGS) += persistent.o 24ddbb4114SMat Martineauobj-$(CONFIG_KEY_DH_OPERATIONS) += dh.o 2500d60fd3SDavid Howellsobj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += keyctl_pkey.o 269f7ce8e2SDavid Howells 279f7ce8e2SDavid Howells# 289f7ce8e2SDavid Howells# Key types 299f7ce8e2SDavid Howells# 30ab3c3587SDavid Howellsobj-$(CONFIG_BIG_KEYS) += big_key.o 3147f9c279SSumit Gargobj-$(CONFIG_TRUSTED_KEYS) += trusted-keys/ 329f7ce8e2SDavid Howellsobj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/ 33