Merge branch 'lt/block-sha1' into next
commitebfc121998858e406a04653719d7531136a7ab49
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2009 04:16:49 +0000 (6 21:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2009 04:16:49 +0000 (6 21:16 -0700)
tree0bd99a43c8905bbc0d4bf09144381bf525ff28dd
parent75b7e33bcc12ab055c833f6df3f01daa0c8152db
parent5d5210c35aa83342163ab0ab80b8e6d6fa3ce931
Merge branch 'lt/block-sha1' into next

* lt/block-sha1:
  block-sha1: get rid of redundant 'lenW' context
  block-sha1: Use '(B&C)+(D&(B^C))' instead of '(B&C)|(D&(B|C))' in round 3
  block-sha1: macroize the rounds a bit further
  block-sha1: re-use the temporary array as we calculate the SHA1
  block-sha1: make the 'ntohl()' part of the first SHA1 loop
  block-sha1: minor fixups
  block-sha1: try to use rol/ror appropriately
  block-sha1: undo ctx->size change