mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 13:20:11 +01:00
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:
35
src/cryptsetup.h
Normal file
35
src/cryptsetup.h
Normal 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 */
|
||||
Reference in New Issue
Block a user