summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfig/option-groups.def-trunk19
-rw-r--r--mk/eglibc-trunk-options.mk2
2 files changed, 21 insertions, 0 deletions
diff --git a/kconfig/option-groups.def-trunk b/kconfig/option-groups.def-trunk
index acfb4f8..a80e273 100644
--- a/kconfig/option-groups.def-trunk
+++ b/kconfig/option-groups.def-trunk
@@ -157,6 +157,25 @@ config OPTION_EGLIBC_CHARSETS
WCHAR_T - EGLIBC's internal form (target-endian,
32-bit ISO 10646)
+config OPTION_EGLIBC_CRYPT
+ bool "Encryption library"
+ default y
+ help
+ This option group includes the `libcrypt' library which
+ provides functions for one-way encryption. Supported
+ encryption algorithms include MD5, SHA-256, SHA-512 and DES.
+
+config OPTION_EGLIBC_CRYPT_UFC
+ bool "Ultra fast `crypt' implementation"
+ depends on OPTION_EGLIBC_CRYPT
+ help
+ This option group provides ultra fast DES-based implementation
+ of the `crypt' function. When this option group is disabled,
+ (a) the library will not provide the setkey[_r] and encrypt[_r]
+ functions and (b) the crypt[_r] function will return NULL and
+ set the errno to ENOSYS if /salt/ passed does not correspond to
+ either MD5, SHA-256 or SHA-512 algorithm.
+
config OPTION_EGLIBC_DB_ALIASES
bool "Functions for accessing the mail aliases database"
help
diff --git a/mk/eglibc-trunk-options.mk b/mk/eglibc-trunk-options.mk
index 8538046..434a190 100644
--- a/mk/eglibc-trunk-options.mk
+++ b/mk/eglibc-trunk-options.mk
@@ -30,6 +30,8 @@ EGLIBC_OPTIONS := OPTION_EGLIBC_ADVANCED_INET6 \
OPTION_EGLIBC_CXX_TESTS \
OPTION_EGLIBC_CATGETS \
OPTION_EGLIBC_CHARSETS \
+ OPTION_EGLIBC_CRYPT \
+ OPTION_EGLIBC_CRYPT_UFC \
OPTION_EGLIBC_DB_ALIASES \
OPTION_EGLIBC_ENVZ \
OPTION_EGLIBC_FCVT \