]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - modules.d/01fips/module-setup.sh
fips: add 'ofb' and 'cts' block cipher modes
[thirdparty/dracut.git] / modules.d / 01fips / module-setup.sh
index dcceb1710ba3d457c239d95344f60a2306b8bf93..b723dc6ca4eb6a2f7054d7bb556c0a4fe1a4bec4 100755 (executable)
@@ -27,7 +27,7 @@ installkernel() {
         _fipsmodules+="cipher_null des3_ede aes cfb "
 
         # Modes/templates:
-        _fipsmodules+="ecb cbc ctr xts gcm ccm authenc hmac cmac "
+        _fipsmodules+="ecb cbc ctr xts gcm ccm authenc hmac cmac ofb cts "
 
         # Compression algs:
         _fipsmodules+="deflate lzo zlib "
@@ -64,6 +64,7 @@ install() {
     local _dir
     inst_hook pre-mount 01 "$moddir/fips-boot.sh"
     inst_hook pre-pivot 01 "$moddir/fips-noboot.sh"
+    inst_hook pre-udev 01 "$moddir/fips-load-crypto.sh"
     inst_script "$moddir/fips.sh" /sbin/fips.sh
 
     inst_multiple sha512hmac rmmod insmod mount uname umount