]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/efi: move common keyring handler functions to new file
authorNayna Jain <nayna@linux.ibm.com>
Mon, 11 Nov 2019 03:10:35 +0000 (21:10 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Nov 2019 13:33:23 +0000 (00:33 +1100)
commitad723674d6758478829ee766e3f1a2a24d56236f
tree2928474fa444f60fa933d1902ac3b358f4bc6f3f
parentbd5d9c743d38f67d64ea1b512a461f6b5a5f6bec
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
security/integrity/Makefile
security/integrity/platform_certs/keyring_handler.c [new file with mode: 0644]
security/integrity/platform_certs/keyring_handler.h [new file with mode: 0644]
security/integrity/platform_certs/load_uefi.c