mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 20:00:08 +01:00
Set configured default iteration time early in crypt_init constructor.
This commit is contained in:
@@ -470,7 +470,7 @@ int crypt_init(struct crypt_device **cd, const char *device)
|
|||||||
|
|
||||||
dm_backend_init();
|
dm_backend_init();
|
||||||
|
|
||||||
h->iteration_time = 1000;
|
h->iteration_time = DEFAULT_LUKS1_ITER_TIME;
|
||||||
h->rng_type = crypt_random_default_key_rng();
|
h->rng_type = crypt_random_default_key_rng();
|
||||||
*cd = h;
|
*cd = h;
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user