From 0cb031811665ba9d34d03f35e3ce2e99866ca896 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 21 Nov 2009 23:14:03 +0100 Subject: Toolchain: eglibc: trunk branch add OPTION_EGLIBC_CRYPT and OPTION_EGLIBC_CRYPT_UFC options group Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/option-groups.def-trunk | 19 +++++++++++++++++++ mk/eglibc-trunk-options.mk | 2 ++ 2 files changed, 21 insertions(+) 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 \ -- cgit v1.2.3