summaryrefslogtreecommitdiff
path: root/security/integrity/Makefile
diff options
context:
space:
mode:
authorNayna Jain <nayna@linux.ibm.com>2019-11-10 21:10:35 -0600
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-13 00:33:23 +1100
commitad723674d6758478829ee766e3f1a2a24d56236f (patch)
tree2928474fa444f60fa933d1902ac3b358f4bc6f3f /security/integrity/Makefile
parentbd5d9c743d38f67d64ea1b512a461f6b5a5f6bec (diff)
downloadlinux-riscv-ad723674d6758478829ee766e3f1a2a24d56236f.tar.gz
linux-riscv-ad723674d6758478829ee766e3f1a2a24d56236f.tar.bz2
linux-riscv-ad723674d6758478829ee766e3f1a2a24d56236f.zip
x86/efi: move common keyring handler functions to new file
The handlers to add the keys to the .platform keyring and blacklisted hashes to the .blacklist keyring is common for both the uefi and powerpc mechanisms of loading the keys/hashes from the firmware. This patch moves the common code from load_uefi.c to keyring_handler.c Signed-off-by: Nayna Jain <nayna@linux.ibm.com> Acked-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Eric Richter <erichte@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1573441836-3632-4-git-send-email-nayna@linux.ibm.com
Diffstat (limited to 'security/integrity/Makefile')
-rw-r--r--security/integrity/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/integrity/Makefile b/security/integrity/Makefile
index 35e6ca773734..351c9662994b 100644
--- a/security/integrity/Makefile
+++ b/security/integrity/Makefile
@@ -11,7 +11,8 @@ integrity-$(CONFIG_INTEGRITY_SIGNATURE) += digsig.o
integrity-$(CONFIG_INTEGRITY_ASYMMETRIC_KEYS) += digsig_asymmetric.o
integrity-$(CONFIG_INTEGRITY_PLATFORM_KEYRING) += platform_certs/platform_keyring.o
integrity-$(CONFIG_LOAD_UEFI_KEYS) += platform_certs/efi_parser.o \
- platform_certs/load_uefi.o
+ platform_certs/load_uefi.o \
+ platform_certs/keyring_handler.o
integrity-$(CONFIG_LOAD_IPL_KEYS) += platform_certs/load_ipl_s390.o
obj-$(CONFIG_IMA) += ima/