mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Add phmac_s390 to initramfs and load it via modules-load.d
Add kernel module phmac_s390 to the initramfs hook and dracut config file to ensure that the PHMAC cipher is available during early boot, in case the root disk is integrity protected via PHMAC. Also load phmac_s390 via modules-load.d to ensure that the PHMAC ciphers are available. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Finn Callies <fcallies@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
97136585da
commit
cd93949d17
@@ -4,3 +4,4 @@ pkey_pckmo
|
||||
pkey_ep11
|
||||
pkey_cca
|
||||
paes_s390
|
||||
phmac_s390
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
# it under the terms of the MIT license. See LICENSE for details.
|
||||
#
|
||||
|
||||
add_drivers+=" uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv paes_s390 zcrypt zcrypt_cex4 "
|
||||
add_drivers+=" uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv paes_s390 phmac_s390 zcrypt zcrypt_cex4 "
|
||||
install_items+=" chzcrypt lszcrypt zkey zkey-cryptsetup "
|
||||
install_optional_items+=" /usr/lib64/zkey/*.so /etc/zkey/* /etc/zkey/repository/* /etc/zkey/kmip/profiles/* "
|
||||
|
||||
@@ -29,7 +29,7 @@ esac
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
|
||||
# Add zcrypt modules
|
||||
zdev_modules="uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv paes_s390 zcrypt zcrypt_cex4"
|
||||
zdev_modules="uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv paes_s390 phmac_s390 zcrypt zcrypt_cex4"
|
||||
|
||||
for x in $zdev_modules ; do
|
||||
manual_add_modules ${x}
|
||||
|
||||
Reference in New Issue
Block a user