mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Enable to use system libargon2.
Rename --disable-argon2 to --disable-internal-argon2 option and add --enable-libargon2 flag to allow system libarhgon2.
This commit is contained in:
@@ -81,13 +81,11 @@ int pkcs5_pbkdf2(const char *hash,
|
||||
unsigned int hash_block_size);
|
||||
#endif
|
||||
|
||||
#if USE_INTERNAL_ARGON2
|
||||
/* internal Argon2 implementation */
|
||||
/* Argon2 implementation wrapper */
|
||||
int argon2(const char *type, const char *password, size_t password_length,
|
||||
const char *salt, size_t salt_length,
|
||||
char *key, size_t key_length,
|
||||
uint32_t iterations, uint32_t memory, uint32_t parallel);
|
||||
#endif
|
||||
|
||||
/* CRC32 */
|
||||
uint32_t crypt_crc32(uint32_t seed, const unsigned char *buf, size_t len);
|
||||
|
||||
Reference in New Issue
Block a user