zuluCrypt  5.7.1
About: zuluCrypt is a simple but feature rich solution for hard drives encryption. It can manage PLAIN dm-crypt, LUKS, TrueCrypt and VeraCrypt encrypted volumes.
  Fossies Dox: zuluCrypt-5.7.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

add_key.c File Reference
#include "includes.h"
#include "../lib/includes.h"
#include <locale.h>
#include <stdio.h>
#include <libintl.h>
#include <sys/stat.h>
Include dependency graph for add_key.c:

Go to the source code of this file.

Classes

struct  tcrypt_opts
 

Functions

static int _zuluCryptCheckEmptySlots (const char *device)
 
static int _replace_truecrypt_key (const tcrypt_opts *opts)
 
static int zuluExit (int st, stringList_t stl)
 
static int zuluGetKeys (string_t *key1, string_t *key2, string_t *key3)
 
int zuluCryptEXEAddKey (const struct_opts *opts, uid_t uid)
 

Function Documentation

◆ _replace_truecrypt_key()

◆ _zuluCryptCheckEmptySlots()

static int _zuluCryptCheckEmptySlots ( const char *  device)
static

◆ zuluCryptEXEAddKey()

◆ zuluExit()

static int zuluExit ( int  st,
stringList_t  stl 
)
static

Definition at line 167 of file add_key.c.

References StringListClearDelete(), and zuluCryptSecurityUnlockMemory().

Referenced by zuluCryptEXEAddKey().

◆ zuluGetKeys()

static int zuluGetKeys ( string_t key1,
string_t key2,
string_t key3 
)
static