blob: 5f40807f05b3d1d27cc21d875302af37959ef758 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for key management
4#
5
David Howells9f7ce8e2012-05-11 10:56:56 +01006#
7# Core
8#
Linus Torvalds1da177e2005-04-16 15:20:36 -07009obj-y := \
David Howells5d135442009-09-02 09:14:00 +010010 gc.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 key.o \
12 keyring.o \
13 keyctl.o \
David Howells468ed2b2005-10-07 15:07:38 +010014 permission.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 process_keys.o \
David Howells3e301482005-06-23 22:00:56 -070016 request_key.o \
17 request_key_auth.o \
18 user_defined.o
Stephan Muellerf1c316a2016-08-19 20:39:09 +020019compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o
Eric Biggers601f0092019-10-09 16:04:43 -070020obj-$(CONFIG_COMPAT) += compat.o $(compat-obj-y)
Linus Torvalds1da177e2005-04-16 15:20:36 -070021obj-$(CONFIG_PROC_FS) += proc.o
David Howells0b77f5b2008-04-29 01:01:32 -070022obj-$(CONFIG_SYSCTL) += sysctl.o
David Howellsf36f8c72013-09-24 10:35:19 +010023obj-$(CONFIG_PERSISTENT_KEYRINGS) += persistent.o
Mat Martineauddbb4112016-04-12 19:54:58 +010024obj-$(CONFIG_KEY_DH_OPERATIONS) += dh.o
David Howells00d60fd2018-10-09 17:46:59 +010025obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += keyctl_pkey.o
David Howells9f7ce8e2012-05-11 10:56:56 +010026
27#
28# Key types
29#
David Howellsab3c3582013-09-24 10:35:18 +010030obj-$(CONFIG_BIG_KEYS) += big_key.o
Sumit Garg47f9c272019-10-16 10:44:54 +053031obj-$(CONFIG_TRUSTED_KEYS) += trusted-keys/
David Howells9f7ce8e2012-05-11 10:56:56 +010032obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/