sha: reduce sha256/512 context size. Make sha1/sha256 code more similar
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 12 Mar 2009 19:06:18 +0000 (19:06 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 12 Mar 2009 19:06:18 +0000 (19:06 -0000)
commitc8329c956816656364e54d54932c5898a29bed70
tree82f055e1ef31d209bd5d5c16bd09be6ed6071552
parent4a43057268a29c613f5482e6795a0a8ead9974ef
sha: reduce sha256/512 context size. Make sha1/sha256 code more similar

function                                             old     new   delta
sha512_end                                           182     204     +22
sha256_end                                           137     147     +10
sha1_hash                                            113     108      -5
sha1_end                                             143     129     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 32/-19)             Total: 13 bytes
include/libbb.h
libbb/sha1.c