mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 16:43:08 +00:00
e80d4af0a3
This patch introcudes a new kernel module pkey which is providing protected key handling and management functions. The pkey API is available within the kernel for other s390 specific code to create and manage protected keys. Additionally the functions are exported to user space via IOCTL calls. The implementation makes extensive use of functions provided by the zcrypt device driver. For generating protected keys from secure keys there is also a CEX coprocessor card needed. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
17 lines
495 B
Makefile
17 lines
495 B
Makefile
#
|
|
# S/390 crypto devices
|
|
#
|
|
|
|
ap-objs := ap_bus.o ap_card.o ap_queue.o
|
|
obj-$(subst m,y,$(CONFIG_ZCRYPT)) += ap.o
|
|
# zcrypt_api.o and zcrypt_msgtype*.o depend on ap.o
|
|
zcrypt-objs := zcrypt_api.o zcrypt_card.o zcrypt_queue.o
|
|
zcrypt-objs += zcrypt_msgtype6.o zcrypt_msgtype50.o
|
|
obj-$(CONFIG_ZCRYPT) += zcrypt.o
|
|
# adapter drivers depend on ap.o and zcrypt.o
|
|
obj-$(CONFIG_ZCRYPT) += zcrypt_pcixcc.o zcrypt_cex2a.o zcrypt_cex4.o
|
|
|
|
# pkey kernel module
|
|
pkey-objs := pkey_api.o
|
|
obj-$(CONFIG_PKEY) += pkey.o
|