aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-07-15 04:45:08 -0500
committerRob Landley <rob@landley.net>2016-07-15 04:45:08 -0500
commitadef5dcb1857f524e2a24dd0223f31db7cd7a8b9 (patch)
tree2201bf6146fdf17426e0d75d708189b42c27f485 /Config.in
parentfff20ab005ccd98373c5a0675c286e20cf84cbb7 (diff)
downloadtoybox-adef5dcb1857f524e2a24dd0223f31db7cd7a8b9.tar.gz
Add optional openssl accelerated versions of hash functions, loosely based on
a patch from Elliott Hughes, who said: [PATCH] Add support for libcrypto for MD5/SHA. Orders of magnitude faster (for architectures where OpenSSL/BoringSSL has optimized assembler). Also adds sha224sum, sha256sum, sha384sum, and sha512sum for folks building with libcrypto. The fallback portable C implementations could easily be refactored to be API-compatible, but I don't know whether they'd stay here or move to lib/ so I've left that part alone for now.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 3c560f80..76b2ef1d 100644
--- a/Config.in
+++ b/Config.in
@@ -62,6 +62,12 @@ config TOYBOX_SMACK
endchoice
+config TOYBOX_LIBCRYPTO
+ bool "Use libcrypto (OpenSSL/BoringSSL)"
+ default n
+ help
+ Use faster hash functions out of exteral -lcrypto library.
+
config TOYBOX_FLOAT
bool "Floating point support"
default y