I am following this method to encrypt external hard-drive but there is a problem with aes algorithm alias
sudo modprobe dm-crypt sudo modprobe sha256 sudo modprobe aes
I get following error after aes command
modprobe: ERROR: could not insert 'padlock_aes': No such device
I tried the workaround mentioned in the link, but there is no aliases file in my /etc/modprobe.d/ directory
user@user:/home/$ cd /etc/modprobe.d/ user@user:/etc/modprobe.d$ ls | grep aliases user@user:/etc/modprobe.d$ [no output]
I don't know how to handle this, but afterwards when I tried encrypting drive it was successfully encrypted by following command
sudo cryptsetup --verify-passphrase luksFormat /dev/sdb1 -c aes -s 256 -h sha256
I don't know how did it find aes256 algorithm,or just ignored aes256 or did a some magical stuff.
So I want an answer to following questions
- How was crypt-setup able to encrypt my drive successfully?
How to confirm that aes256 is also implemented in that encryption performed by crypt-setup?
Why don't I have a
/etc/modprobe.d/alaisesfile? Is it due to newer version? since the solution was last tested on version 10.04.