sha1: remove the result buffer alignment constraint
authorPeter Palfrader <weasel@debian.org>
Wed, 30 Jan 2008 12:36:13 +0000 (13:36 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 31 Jan 2008 09:12:44 +0000 (10:12 +0100)
commit5065830c9b51989d4e0d5b6a5c941fb6cda837ff
tree0fff5eed2c256b27a7d6115d7e83dd68baa66add
parent5ac7a821bd96ca5e531d5127f66ab6a258cd7fcb
sha1: remove the result buffer alignment constraint

* lib/sha1.c (set_uint32): New function.
(sha1_read_ctx): Rewrite to remove the result buffer alignment
constraint.
(sha1_finish_ctx): Remove comment warning about alignment constraint.
* lib/sha1.h: Likewise.
ChangeLog
lib/sha1.c
lib/sha1.h