mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
tcrypt: Support new Blake2 hash.
VeraCrypt 1.26.2 introduces support for Blake2 PRF for PBKDF2. This patch adds support for cryptsetup.
This commit is contained in:
@@ -47,6 +47,8 @@ static const struct {
|
|||||||
{ 0, 1, "pbkdf2", "whirlpool", 500000, 15000, 1000 },
|
{ 0, 1, "pbkdf2", "whirlpool", 500000, 15000, 1000 },
|
||||||
{ 0, 1, "pbkdf2", "sha256", 500000, 15000, 1000 }, // VeraCrypt 1.0f
|
{ 0, 1, "pbkdf2", "sha256", 500000, 15000, 1000 }, // VeraCrypt 1.0f
|
||||||
{ 0, 1, "pbkdf2", "sha256", 200000, 0, 2048 }, // boot only
|
{ 0, 1, "pbkdf2", "sha256", 200000, 0, 2048 }, // boot only
|
||||||
|
{ 0, 1, "pbkdf2", "blake2s-256", 500000, 15000, 1000 }, // VeraCrypt 1.26.2
|
||||||
|
{ 0, 1, "pbkdf2", "blake2s-256", 200000, 0, 2048 }, // boot only
|
||||||
{ 0, 1, "pbkdf2", "ripemd160", 655331, 15000, 1000 },
|
{ 0, 1, "pbkdf2", "ripemd160", 655331, 15000, 1000 },
|
||||||
{ 0, 1, "pbkdf2", "ripemd160", 327661, 0, 2048 }, // boot only
|
{ 0, 1, "pbkdf2", "ripemd160", 327661, 0, 2048 }, // boot only
|
||||||
{ 0, 1, "pbkdf2", "stribog512",500000, 15000, 1000 },
|
{ 0, 1, "pbkdf2", "stribog512",500000, 15000, 1000 },
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ function test_required()
|
|||||||
echo "REQUIRED KDF TEST"
|
echo "REQUIRED KDF TEST"
|
||||||
test_kdf sha256
|
test_kdf sha256
|
||||||
test_kdf sha512
|
test_kdf sha512
|
||||||
|
test_kdf blake2s-256
|
||||||
test_kdf ripemd160
|
test_kdf ripemd160
|
||||||
test_kdf whirlpool
|
test_kdf whirlpool
|
||||||
test_kdf stribog512
|
test_kdf stribog512
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user