Fix default KDF
Inconsistency in KDF documentation fixed.
This commit is contained in:
parent
78104a8b87
commit
1469d83a96
@ -26,7 +26,7 @@ allow for easy code review. It exclusively uses fixed message lengths.
|
|||||||
|
|
||||||
The key database is encrypted itself, using AES256-GCM, a 128 bit randomized
|
The key database is encrypted itself, using AES256-GCM, a 128 bit randomized
|
||||||
initialization vector and authenticated with a 128 bit authentication tag. Key
|
initialization vector and authenticated with a 128 bit authentication tag. Key
|
||||||
derivation is done using scrypt with N = 131072 = 2^18, r = 8, p = 1.
|
derivation is done using scrypt with N = 262144 = 2^18, r = 8, p = 1.
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
OpenSSL v1.1 is required for luksrku.
|
OpenSSL v1.1 is required for luksrku.
|
||||||
|
@ -38,7 +38,7 @@ enum kdf_t {
|
|||||||
KDF_PBKDF2_MAX = KDF_PBKDF2_MIN + 0,
|
KDF_PBKDF2_MAX = KDF_PBKDF2_MIN + 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ENCRYPTED_FILE_DEFAULT_KDF KDF_SCRYPT_N17_r8_p1
|
#define ENCRYPTED_FILE_DEFAULT_KDF KDF_SCRYPT_N18_r8_p1
|
||||||
#define ENCRYPTED_FILE_SALT_SIZE 16
|
#define ENCRYPTED_FILE_SALT_SIZE 16
|
||||||
#define ENCRYPTED_FILE_KEY_SIZE 32
|
#define ENCRYPTED_FILE_KEY_SIZE 32
|
||||||
#define ENCRYPTED_FILE_AUTH_TAG_SIZE 16
|
#define ENCRYPTED_FILE_AUTH_TAG_SIZE 16
|
||||||
|
Loading…
Reference in New Issue
Block a user