sha: merge K[] for sha256 and 512
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Mar 2009 04:56:51 +0000 (04:56 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Mar 2009 04:56:51 +0000 (04:56 -0000)
commit823f10b8f0f3ad23231ab378d68b6cc884b570ef
treea88ebcca87011522bc58723fe6226fd4e0c695f1
parent8ec8d5e3db47398d4799f1a7c6aa0ced043c3e5f
sha: merge K[] for sha256 and 512

function                                             old     new   delta
sha_K                                                  -     640    +640
sha256_process_block64                               440     425     -15
sha512_process_block128                             1336    1283     -53
K512_lo                                              320       -    -320
K256                                                 320       -    -320
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 0/2 up/down: 640/-708)          Total: -68 bytes
libbb/sha1.c