X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=f69c01167d4731a4e0df0ae566461806ec00ff65;hb=87f1017f807e09a965bcfe368482d5ed52d57560;hp=f2f86e6398688b9bb3c824a4cff766dbea40dc18;hpb=37ec687237fcbd77b1026a083dd8d105a4e0285a;p=platform%2Fupstream%2Fcryptsetup.git diff --git a/configure.ac b/configure.ac index f2f86e6..f69c011 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.67]) -AC_INIT([cryptsetup],[1.6.0-rc1]) +AC_INIT([cryptsetup],[1.6.0]) dnl library version from ..[-] LIBCRYPTSETUP_VERSION=$(echo $PACKAGE_VERSION | cut -f1 -d-) @@ -117,7 +117,9 @@ AC_DEFUN([CONFIGURE_GCRYPT], [ GCRYPT_REQ_VERSION=1.1.42 fi dnl Check if we can use gcrypt PBKDF2 (1.6.0 supports empty password) - AM_PATH_LIBGCRYPT([1.6.0], [use_internal_pbkdf2=0], [use_internal_pbkdf2=1]) + AC_ARG_ENABLE([gcrypt-pbkdf2], AS_HELP_STRING([--enable-gcrypt-pbkdf2],[force enable internal gcrypt PBKDF2]), + [use_internal_pbkdf2=0], + [AM_PATH_LIBGCRYPT([1.6.0], [use_internal_pbkdf2=0], [use_internal_pbkdf2=1])]) AM_PATH_LIBGCRYPT($GCRYPT_REQ_VERSION,,[AC_MSG_ERROR([You need the gcrypt library.])]) if test x$enable_static_cryptsetup = xyes; then @@ -385,7 +387,7 @@ CS_NUM_WITH([plain-keybits],[key length in bits for plain mode], [256]) CS_STR_WITH([luks1-hash], [hash function for LUKS1 header], [sha1]) CS_STR_WITH([luks1-cipher], [cipher for LUKS1], [aes]) -CS_STR_WITH([luks1-mode], [cipher mode for LUKS1], [cbc-essiv:sha256]) +CS_STR_WITH([luks1-mode], [cipher mode for LUKS1], [xts-plain64]) CS_NUM_WITH([luks1-keybits],[key length in bits for LUKS1], [256]) CS_NUM_WITH([luks1-iter-time],[PBKDF2 iteration time for LUKS1 (in ms)], [1000])