lib/md4.c


Log

Author Commit Date CI Message
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Jim Meyering 3030c5b5 2009-12-28T10:50:36 update nearly all FSF copyright year lists to include 2009 The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Pádraig Brady c910e6ce 2009-10-22T17:36:28 digests, copy-file: increase the IO buffer size from 4KiB to 32KiB This results in a significant decrease in syscall overhead giving a 3% speedup to the digest utilities for example (when processing large files from cache). Storage is moved from the stack to the heap as some threaded environments for example can have small stacks. * lib/copy-file.c (copy_file_preserving): Use a 32KiB malloced buffer * modules/copy-file: Depend on xalloc * lib/md2.c: Likewise * lib/md4.c: Likewise * lib/md5.c: Likewise * lib/sha1.c: Likewise * lib/sha256.c: Likewise * lib/sha512.c: Likewise
Bruno Haible ca89940f 2008-01-31T23:37:55 Mark set_uint32 function as 'inline'.
Jim Meyering 17bdb83a 2008-01-31T14:32:19 Use "sizeof VAR", rather than a literal "4". * lib/md5.c (md5_read_ctx): Use sizeof ctx->A, not 4. * lib/md4.c (md4_read_ctx): Likewise. * lib/sha1.c (sha1_read_ctx): Likewise.
Jim Meyering 1ad22580 2008-01-31T13:04:07 Prefer "sizeof v" over the equivalent "4". * lib/md4.c (set_uint32): Use "sizeof v" as memcpy length, not 4. * lib/md5.c (set_uint32): Likewise. * lib/sha1.c (set_uint32): Likewise.
Simon Josefsson b618722d 2008-01-31T11:08:05 md4: adapt alignment constraint fix from sha1. * lib/md4.c (set_uint32): New function, from sha1.c (md4_read_ctx): Use it. (md4_finish_ctx): Doc fix. * lib/md4.h: Doc fix.
Eric Blake a42e0dae 2006-10-29T21:52:55 * lib/arcfour.c: Assume config.h. * lib/arctwo.c: Likewise. * lib/base64.c: Likewise. * lib/check-version.c: Likewise. * lib/crc.c: Likewise. * lib/des.c: Likewise. * lib/gc-gnulib.c: Likewise. * lib/gc-libgcrypt.c: Likewise. * lib/gc-pbkdf2-sha1.c: Likewise. * lib/getaddrinfo.c: Likewise. * lib/getdelim.c: Likewise. * lib/getline.c: Likewise. * lib/hmac-md5.c: Likewise. * lib/hmac-sha1.c: Likewise. * lib/iconvme.c: Likewise. * lib/md2.c: Likewise. * lib/md4.c: Likewise. * lib/memxor.c: Likewise. * lib/read-file.c: Likewise. * lib/readline.c: Likewise. * lib/rijndael-alg-fst.c: Likewise. * lib/rijndael-api-fst.c: Likewise. * lib/xgetdomainname.c: Likewise.
Ralf Wildenhues 8b50a885 2006-09-22T16:54:11 * gc-gnulib.c [GC_USE_HMAC_SHA1]: include hmac.h for hmac_sha1. * md4.c (md4_process_block): Remove unused variable. * rijndael-api-fst.c (rijndaelBlockDecrypt): GCC suggests parentheses for clarity.
Simon Josefsson 11fdc4d4 2006-05-11T07:33:27 2006-05-10 Paul Eggert <eggert@cs.ucla.edu> * md4.c (rol): Cast right-shift arg to uint32_t to prevent unwanted sign propagation, e.g., on hosts with 64-bit int. There still are some problems with reeelly weird theoretical hosts (e.g., 33-bit int) but it's not worth worrying about now. * sha1.c (rol): Likewise. (K1, K2, K3, K4): Remove unnecessary L suffix.
Simon Josefsson 726347d0 2006-05-10T13:37:20 * md4.c: Typo fix, update copyright years. (K1, K2): Don't use L because it turn computations into 64-bit on 64-bit platforms.
Simon Josefsson 208fac9f 2005-10-22T16:32:14 * md4.c, md4.c: Simplify buffer handling visavi alignment, suggested by Bruno Haible <bruno@clisp.org>.
Simon Josefsson 4fbdc31e 2005-10-21T12:46:48 Fix GNU indent bugs, suggested by Bruno.
Simon Josefsson d114b0a2 2005-10-21T12:45:42 Whitespace fix, from Bruno.
Simon Josefsson 82c1692f 2005-10-18T22:59:17 Add md4 module.