mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
Enable LUKS hash setting and document it.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@83 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -258,9 +258,7 @@ static int action_luksFormat(int arg)
|
||||
.key_slot = opt_key_slot,
|
||||
.device = action_argv[0],
|
||||
.cipher = opt_cipher?opt_cipher:DEFAULT_LUKS_CIPHER,
|
||||
.hash = DEFAULT_LUKS_HASH,
|
||||
// FIXME: enable other hash use here
|
||||
//.hash = opt_hash ?: DEFAULT_LUKS_HASH,
|
||||
.hash = opt_hash ?: DEFAULT_LUKS_HASH,
|
||||
.new_key_file = action_argc > 1 ? action_argv[1] : NULL,
|
||||
.flags = opt_verify_passphrase ? CRYPT_FLAG_VERIFY : (!opt_batch_mode?CRYPT_FLAG_VERIFY_IF_POSSIBLE : 0),
|
||||
.iteration_time = opt_iteration_time,
|
||||
|
||||
Reference in New Issue
Block a user