mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 05:10:03 +01:00
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@3 36d66b0a-2a48-0410-832c-cd162a569da5
36 lines
779 B
C
36 lines
779 B
C
#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 */
|