Well thanks for your reply and thanks to tc.hago for his reply but I think there is something wrong not with useage but now perhaps the kernel which comes with rhel5 (and earlier according to google). It doesn't have the kernel modules:
see output of /sbin/lsmod |grep crypto crypto_blkcipher 17473 1 cbc crypto_algapi 22721 2 cbc,crypto_blkcipher crypto_api 12609 3 xfrm_nalgo,crypto_blkcipher,crypto_algapi Well this is going a little beyond my Knowledge of linux now so I can't say for sure but aes is not listed in the output. But I understand that encryption is also listed as a number as well as by name so .... I just don't know. Thanks anyway. Richard. On Tue, 2011-02-08 at 14:47 -0800, Ray Van Dolson wrote: > On Tue, Feb 08, 2011 at 10:13:49PM +0000, g wrote: > > On 02/08/2011 08:48 PM, g1vrg wrote: > > > Hi, I'm on SL 5.5 and have Luks encrypted partitions. Can anyone tell > > > me whether the encrytption type is aes and key size please? > > > > never used luks, but i did find this link to have some good info; > > > > https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS_for_dm-crypt > > > > > > > On another matter when trying to get losetup (cryptoloop) to work it > > > returns with the error ioctl: LOOP_SET_STATUS: invalid argument. > > > > as above, but did recheck page and there is at above link; > > > > # 7 Encrypting a loopback filesystem > > * 7.1 Preparation and mapping > > * 7.2 Encrypt using a key-file > > * 7.3 Resizing the loopback filesystem > > > > > > which may help, until someone knowledged replies. > > > > > > hth. > > > > -- > > > > peace out. > > > > tc.hago, > > > > g > > . > > FYI, the CentOS wiki has a pretty good page on dm-crypt plus LUKS: > > http://wiki.centos.org/HowTos/EncryptedFilesystem > > Ray