cryptsetup
2.4.3
About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.
![]() ![]() |
Go to the source code of this file.
Macros | |
#define | CONST_CAST(x) (x)(uintptr_t) |
Functions | |
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) |
#define CONST_CAST | ( | x | ) | (x)(uintptr_t) |
Definition at line 30 of file argon2_generic.c.
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 | ||
) |
Definition at line 32 of file argon2_generic.c.
References ARGON2_ALLOCATE_MEMORY_CBK_NULL, argon2_ctx(), ARGON2_DEFAULT_FLAGS, ARGON2_FREE_MEMORY_CBK_NULL, Argon2_i, Argon2_id, ARGON2_MEMORY_ALLOCATION_ERROR, ARGON2_OK, ARGON2_VERSION_NUMBER, CONST_CAST, Argon2_Context::flags, and iterations.
Referenced by crypt_pbkdf(), and openssl_argon2().