diff options
author | Denys Vlasenko | 2013-01-15 01:12:26 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-01-15 01:12:26 +0100 |
commit | 30a8652fbf16884490cee4a624f039a9ab587269 (patch) | |
tree | cf6235392344386a06849e04fd5deb4f364f0a71 /libbb/Config.src | |
parent | 60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (diff) | |
download | busybox-30a8652fbf16884490cee4a624f039a9ab587269.zip busybox-30a8652fbf16884490cee4a624f039a9ab587269.tar.gz |
sha3: make size/speed optimization decision configurable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Config.src')
-rw-r--r-- | libbb/Config.src | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbb/Config.src b/libbb/Config.src index ee1b66a..19021fe 100644 --- a/libbb/Config.src +++ b/libbb/Config.src @@ -28,6 +28,16 @@ config MD5_SMALL 2 3.0 5088 3 (smallest) 5.1 4912 +config SHA3_SMALL + int "SHA3: Trade bytes for speed (0:fast, 1:slow)" + default 1 + range 0 1 + help + Trade binary size versus speed for the sha3sum algorithm. + SHA3_SMALL=0 compared to SHA3_SMALL=1 (approximate): + 64-bit x86: +270 bytes of code, 45% faster + 32-bit x86: +450 bytes of code, 75% faster + config FEATURE_FAST_TOP bool "Faster /proc scanning code (+100 bytes)" default y |