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.
  Fossies Dox: cryptsetup-2.4.3.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

argon2_generic.c File Reference
#include <errno.h>
#include "crypto_backend_internal.h"
#include "argon2/argon2.h"
Include dependency graph for argon2_generic.c:

Go to the source code of this file.


#define CONST_CAST(x)   (x)(uintptr_t)


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)

Macro Definition Documentation


#define CONST_CAST (   x)    (x)(uintptr_t)

Definition at line 30 of file argon2_generic.c.

Function Documentation

◆ argon2()

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