git/block-sha1
Nicolas Pitre 660231aa97 block-sha1: support for architectures with memory alignment restrictions
This is needed on architectures with poor or non-existent unaligned memory
support and/or no fast byte swap instruction (such as ARM) by using byte
accesses to memory and shifting the result together.

This also makes the code portable, therefore the byte access methods are
the defaults.  Any architecture that properly supports unaligned word
accesses in hardware simply has to enable the alternative methods.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-08-12 13:36:32 -07:00
..
sha1.c block-sha1: support for architectures with memory alignment restrictions 2009-08-12 13:36:32 -07:00
sha1.h block-sha1: get rid of redundant 'lenW' context 2009-08-06 13:56:45 -07:00