Skip to content

Commit

Permalink
modules_load: add ecb crypto module (#53)
Browse files Browse the repository at this point in the history
Some LUKS volumes depend on "ECB block cipher algorithm" if not included
in the bzImage or at modules in initramfs we fail to boot system.
  • Loading branch information
dguglielmi authored and mudler committed Aug 16, 2017
1 parent 55c2dee commit 944d1b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/x86/modules_load
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-pci o
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs overlay fuse"

# Crypto
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc aes_generic aes-x86_64 xts"
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc ecb aes_generic aes-x86_64 xts"
# Backward compatibility with previous releases
MODULES_CRYPT="${MODULES_CRYPTO}"

Expand Down
2 changes: 1 addition & 1 deletion arch/x86_64/modules_load
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-pci o
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs overlay fuse"

# Crypto
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc aes_generic aes-x86_64 xts"
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc ecb aes_generic aes-x86_64 xts"
# Backward compatibility with previous releases
MODULES_CRYPT="${MODULES_CRYPTO}"

Expand Down
2 changes: 1 addition & 1 deletion defaults/modules_load
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-pci ohci-hcd x
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs overlay fuse"

# Crypto
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc aes_generic aes-x86_64 xts"
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc ecb aes_generic aes-x86_64 xts"
# Backward compatibility with previous releases
MODULES_CRYPT="${MODULES_CRYPTO}"

Expand Down

0 comments on commit 944d1b5

Please sign in to comment.