Move default cipher paramaters to config.h and allow change through
authorMilan Broz <gmazyland@gmail.com>
Tue, 1 Dec 2009 14:31:08 +0000 (14:31 +0000)
committerMilan Broz <gmazyland@gmail.com>
Tue, 1 Dec 2009 14:31:08 +0000 (14:31 +0000)
commit4d6dd0df961e4f71be83ae14c5c79848518f2908
tree9b05bb38c1431e81f99fe9f73dc338c116697f9e
parentc6aa3c5d21538c18d759863f2be6f626cd4f8b09
Move default cipher paramaters to config.h and allow change through
configuration script.

Change default LUKS keysize to 256.

Change default PLAIN mode to cbc-essiv:sha256.

Note that you have to specify cipher and mode in plain type,
otherwise there is backward incompatibility.

If you really need the same compatible paramaters, you can compile
cryptsetup using old defaults, e.g:

./configure --with-plain-mode=cbc-plain --with-luks1-keybits=128

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@151 36d66b0a-2a48-0410-832c-cd162a569da5
ChangeLog
configure.in
src/cryptsetup.c
src/cryptsetup.h