aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sha256.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-03-02Create sha256 and sha512 modules and move files into gl/.Jim Meyering1-550/+0
* bootstrap.conf (gnulib_modules): Add sha256 and sha512. * m4/prereq.m4: Don't require gl_SHA256 or gl_SHA512. * gl/modules/sha512: New file. * gl/modules/sha256: New file. * m4/sha256.m4: Move to ... * gl/m4/sha256.m4: ...here, removing use of AC_SOURCES. * m4/sha512.m4: Move to ... * gl/m4/sha512.m4: ...here, removing use of AC_SOURCES. * lib/sha256.c, lib/sha256.h: Move to ... * gl/lib/sha256.c, gl/lib/sha256.h: ...here. * lib/sha512.c, lib/sha512.h: Move to ... * gl/lib/sha512.c, gl/lib/sha512.h: ...here. * lib/u64.h: Move to ... * gl/lib/u64.h: ...here.
2008-01-31Remove alignment constraint from the sha*_read_ctx functions.Jim Meyering1-11/+16
* lib/sha256.c (set_uint32): New function. (sha256_read_ctx, sha224_read_ctx): Use it. * lib/sha512.c (set_uint64): New function. (sha512_read_ctx, sha384_read_ctx): Use it. * lib/sha256.h: Remove warning about alignment constraint. * lib/sha512.h: Likewise. Prompted by similar changes in gnulib's sha1 and md[45] modules.
2007-07-23Update all copyright notices to use the newer form.Jim Meyering1-6/+5
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering1-1/+1
2006-08-26Include <config.h> unconditionally, since we now assume config.h exists.Paul Eggert1-3/+1
2006-01-12Fix commentary to match md5 better. Adjust to .h file changes.Paul Eggert1-26/+19
2006-01-10Update copyright year.Paul Eggert1-1/+1
2006-01-10Sync from gnulib.Paul Eggert1-21/+21
2005-11-19tweak grammar in a commentJim Meyering1-2/+2
2005-10-23from David MadoreJim Meyering1-0/+555