Initial checking of what was revision 56 on http://luks.endorphin.org/svn/cryptsetup

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@3 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Clemens Fruhwirth
2008-03-22 08:23:35 +00:00
parent 3115b3c073
commit 7dc7b90a9b
112 changed files with 25933 additions and 0 deletions

35
src/cryptsetup.h Normal file
View File

@@ -0,0 +1,35 @@
#ifndef CRYPTSETUP_H
#define CRYPTSETUP_H
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#if HAVE_LOCALE_H
# include <locale.h>
#endif
#if !HAVE_SETLOCALE
# define setlocale(Category, Locale) do { } while (0)
#endif
#ifdef ENABLE_NLS
# include <libintl.h>
# define _(Text) gettext (Text)
#else
# undef bindtextdomain
# define bindtextdomain(Domain, Directory) do { } while (0)
# undef textdomain
# define textdomain(Domain) do { } while (0)
# undef dcgettext
# define dcgettext(Domainname, Text, Category) Text
# define _(Text) Text
#endif
#define N_(Text) (Text)
#define DEFAULT_CIPHER "aes"
#define DEFAULT_LUKS_CIPHER "aes-cbc-essiv:sha256"
#define DEFAULT_HASH "ripemd160"
#define DEFAULT_KEY_SIZE 256
#define DEFAULT_LUKS_KEY_SIZE 128
#endif /* CRYPTSETUP_H */