All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Argon2 limits choice
@ 2021-10-03 22:30 Dmitry Dmitry
  2021-10-04  0:28 ` [dm-crypt] " Arno Wagner
  2021-10-04  6:25 ` Milan Broz
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Dmitry @ 2021-10-03 22:30 UTC (permalink / raw)
  To: dm-crypt


[-- Attachment #1.1: Type: text/plain, Size: 686 bytes --]

Hi,

I am wondering if there are objective reasons for such conservative ***upper**
**hard** limits* for Argon?

} else if (!strcmp(kdf, "argon2i") || !strcmp(kdf, "argon2id")) {
   limits->max_iterations = UINT32_MAX;
   limits->max_memory     = 4*1024*1024; /* 4GiB */
   limits->max_parallel   = 4;
}

(well, apart from UINT32_MAX, which makes sense, kind of)

Just to reiterate, I am not talking about minimum values, or default
values. The question is about *upper limits*.

P.S.
I was personally thinking about using ~32 threads and ~128GiB of RAM as KDF
parameters...


-- 
Dmitry
*Sent from my gmail*
GPG/PGP Key fingerprint = 1670 0E8A 4AEC 179D 326F  BECE 8B33 360D 8717 9711

[-- Attachment #1.2: Type: text/html, Size: 1336 bytes --]

[-- Attachment #2: Type: text/plain, Size: 147 bytes --]

_______________________________________________
dm-crypt mailing list -- dm-crypt@saout.de
To unsubscribe send an email to dm-crypt-leave@saout.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-04  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-03 22:30 [dm-crypt] Argon2 limits choice Dmitry Dmitry
2021-10-04  0:28 ` [dm-crypt] " Arno Wagner
2021-10-04  6:25 ` Milan Broz
2021-10-04  6:29   ` Dmitry Dmitry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.