block-sha1: macroize the rounds a bit further
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Aug 2009 14:20:54 +0000 (07:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Aug 2009 20:56:45 +0000 (13:56 -0700)
commitab14c823dfbf1245712c8179952b51822135d8a8
tree8d9f1688ab959395f9c39edd1c3f2175308e2154
parent7b5075fcfb069fc36ba4cfe5567234974793ab58
block-sha1: macroize the rounds a bit further

Avoid repeating the shared parts of the different rounds by adding a
macro layer or two. It was already more cpp than C.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
block-sha1/sha1.c