sha512: use larger constant table only if sha512 is in fact selected

function                                             old     new   delta
sha_K                                                640     256    -384

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-01-15 20:16:27 +01:00
parent 3f8ecd933a
commit b8935d00b0
2 changed files with 70 additions and 47 deletions

View File

@ -30,9 +30,12 @@ done
trap 'test -f .config.SV && mv .config.SV .config && touch .config' EXIT
# Turn on each applet individually and build single-applet executable
# (give config names on command line to build only those)
test $# = 0 && set -- $apps
fail=0
for app in $apps; do
for app; do
# Only if it was indeed originally enabled...
{ echo "$cfg" | grep -q "^CONFIG_${app}=y\$"; } || continue