aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-10 18:52:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-10 18:52:35 +0000
commit2211d5268cc6fc5575f758a9835070fae5ffc405 (patch)
tree46b23253b2be2c2c5bcdb6909a740e894a93ae07 /include
parent56dceb9b7722193ef53fb1afb981f1289eecb0b0 (diff)
downloadbusybox-w32-2211d5268cc6fc5575f758a9835070fae5ffc405.tar.gz
busybox-w32-2211d5268cc6fc5575f758a9835070fae5ffc405.tar.bz2
busybox-w32-2211d5268cc6fc5575f758a9835070fae5ffc405.zip
libbb: add optionl support for SHA256/512 encrypted passwords
function old new delta sha_crypt - 2423 +2423 cryptpw_main 128 183 +55 to64 - 29 +29 pw_encrypt 974 1000 +26 str_rounds - 11 +11 login_main 1532 1541 +9 packed_usage 25215 25200 -15 __md5_to64 29 - -29 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 3/1 up/down: 2553/-44) Total: 2509 bytes
Diffstat (limited to 'include')
-rw-r--r--include/usage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 75b44a25b..71f221828 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -557,8 +557,13 @@
557 "\n -r Delete crontab" \ 557 "\n -r Delete crontab" \
558 "\n FILE Replace crontab by FILE ('-': stdin)" \ 558 "\n FILE Replace crontab by FILE ('-': stdin)" \
559 559
560#if !ENABLE_USE_BB_CRYPT || ENABLE_USE_BB_CRYPT_SHA
561#define cryptpw_trivial_usage \
562 "[-a des|md5|sha256/512] [string]"
563#else
560#define cryptpw_trivial_usage \ 564#define cryptpw_trivial_usage \
561 "[-a des|md5] [string]" 565 "[-a des|md5] [string]"
566#endif
562#define cryptpw_full_usage "\n\n" \ 567#define cryptpw_full_usage "\n\n" \
563 "Output crypted string.\n" \ 568 "Output crypted string.\n" \
564 "If string isn't supplied on cmdline, read it from stdin.\n" \ 569 "If string isn't supplied on cmdline, read it from stdin.\n" \