Milan Broz
b00a87d8fa
Remove trailing EOL for verbose and error messages.
2018-04-26 10:38:17 +02:00
Milan Broz
f8a7ab1752
Add crypt_get_pbkdf_default() function to get per-type PBKDF default.
2018-04-16 15:26:43 +02:00
Milan Broz
16dc58312c
Move PBKDF limits to crypto backend (to one place).
2018-02-08 15:34:45 +01:00
Ondrej Kozina
169bd9db5e
Do not allow forced pbkdf parameters below minimal values.
2018-02-08 15:33:08 +01:00
Milan Broz
1fe014dbae
Update copyright year.
2018-01-20 17:55:21 +01:00
Milan Broz
74c914475f
Increase maximum allowed PBKDF memory limit.
...
And also fix physical memory trimming function
to really allow requested value.
2018-01-20 17:04:02 +01:00
Milan Broz
fa1f8c0d87
Limit KDF memory by available physical memory.
...
On some systems the requested amount of memory causes OOM killer
to kill the process (instead of returning ENOMEM).
For now, we never try to use more than half of available
physical memory.
2017-12-07 10:43:52 +01:00
Andrea Gelmini
a97de38b6b
Fix typos.
2017-11-08 10:22:49 +01:00
Milan Broz
9f2727bb77
Add libLUKS2.
2017-09-24 19:50:12 +02:00
Milan Broz
66db5b39bb
Change PBKDF insterface to allow forced iterations (time cost) count.
...
Also move functions to separate utils_pbkdf.c file.
PBKDF can be now set for any context.
TODO: new setting is not covered by tests.
2017-09-24 19:49:21 +02:00