sha: fix thinko in sha512; add FAST_FUNC to sha1/sha256
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Mar 2009 02:56:00 +0000 (02:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Mar 2009 02:56:00 +0000 (02:56 -0000)
commit8ec8d5e3db47398d4799f1a7c6aa0ced043c3e5f
tree3d732930b270efaa77493cafb90c1690d6e85c95
parente9afc468fac07f02c6e4ce160150e737928f8f07
sha: fix thinko in sha512; add FAST_FUNC to sha1/sha256

function                                             old     new   delta
sha512_process_block128                             1334    1336      +2
sha1_hash                                            112     111      -1
sha256_process_block64                               446     440      -6
sha1_process_block64                                 494     484     -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 2/-17)             Total: -15 bytes
include/libbb.h
libbb/sha1.c