[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: difference between AES and AESnnn
thanks !
aha, so when using just "AES", the password length itself determines the
number of key bits to encrypt
if i use "losetup -e AES -S xxxxxx<-N->xxxxxxx" (meaning N characters for
seed) and then password with M characters, will the AES crypt bit size be
determined by N, by M or somehow by their combination ? Or which ever is
greater / smaller will determine the crypt bit size ?
thanks again - rkelly
On Sun, 16 Mar 2003, Jari Ruusu wrote:
> rkelly@elbow.com wrote:
> > hi what's the difference between using AES and AESnnn (e.g. AES192)
> > algorithm ?
>
> Since you appear to be using Mandrake that includes loop-AES, AES encryption
> type is unhashed and password length determines actual number of key bits
> used to encrypt. AES128, AES192 and AES256 encryption types hash password
> with SHA-256, SHA-384 or SHA-512 and use specified number key bits to
> encrypt regardless of password length. Same AES cipher is used in all cases,
> only key is set up differently.
>
> For new setups, use AES128, AES192 or AES256, and specify password seed with
> 'mount -o pseed=xxxxxxxxxx' or 'losetup -S xxxxxxxxxx'.
>
> Regards,
> Jari Ruusu <jari.ruusu@pp.inet.fi>
>
>
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/