summaryrefslogtreecommitdiff
path: root/libbb/md5.c
AgeCommit message (Collapse)Author
2006-05-16Make md5 calculation always go through an the buffer so that A) we don'tRob Landley
handle packets out of sequence if some data goes through the buffer and some doesn't, B) it works on systems that can't handle aligned access, C) we just have one code path to worry about. While we're at it, sizeof() and RESERVE_CONFIG_BUFFER() really don't combine well, which is why md5sum has been reading and processing data 4 bytes at a time. I suspect that the existence of CONFIG_MD5_SIZE_VS_SPEED to do loop unrolling and such in the algorithm was an attempt to work around that bug.
2006-04-03- move buffer allocation schemes to libbb.hBernhard Reutner-Fischer
- include the correct headers: applets need busybox.h while lib* need libbb.h
2006-02-21Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweakedRob Landley
md5_sha1_sum.c to convert some #ifdef CONFIG to if(ENABLE).)