summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-11-21 23:14:03 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-11-21 23:14:03 +0100
commit0cb031811665ba9d34d03f35e3ce2e99866ca896 (patch)
treeb5d44935264980c0fc1ec3d52ad5aa78ea5685b1
parentb97f8c6e5e8dfb2da8db5e0776f114e0a69d8081 (diff)
downloadembtoolkit-0cb031811665ba9d34d03f35e3ce2e99866ca896.tar.gz
embtoolkit-0cb031811665ba9d34d03f35e3ce2e99866ca896.tar.bz2
embtoolkit-0cb031811665ba9d34d03f35e3ce2e99866ca896.tar.xz
Toolchain: eglibc: trunk branch add OPTION_EGLIBC_CRYPT and OPTION_EGLIBC_CRYPT_UFC options group
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-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 \