hush/libbb
Rob Landley 34b5319d86 Make md5 calculation always go through an the buffer so that A) we don't
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-05-16 02:38:26 +00:00
..
ask_confirmation.c Major coreutils update. 2003-03-19 09:13:01 +00:00
bb_askpass.c - add some ATTRIBUTE_UNUSED. 2006-01-30 17:17:14 +00:00
bb_asprintf.c Portability patch from rfelker. The bb_asprintf.c thing needs an eventual 2006-03-09 22:21:20 +00:00
bb_do_delay.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
bb_echo.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
bb_pwd.c More extern removal from Robert P. Day. 2006-03-29 16:52:56 +00:00
bb_xbind.c - BusyBox is under GPL. 2006-04-18 08:24:13 +00:00
bb_xchdir.c - BusyBox is under GPL. 2006-04-18 08:24:13 +00:00
bb_xdaemon.c - BusyBox is under GPL. 2006-04-18 08:24:13 +00:00
bb_xlisten.c - BusyBox is under GPL. 2006-04-18 08:24:13 +00:00
bb_xsocket.c - BusyBox is under GPL. 2006-04-18 08:24:13 +00:00
change_identity.c more crond+crontab integrating with loginutil libbb functions and deleted 2003-09-03 12:18:42 +00:00
chomp.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
compare_string_array.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
concat_path_file.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
concat_subpath_file.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
Config.in Patch from Devin Bayer to split up hash_fd.c into md5.c and sha1.c. (I tweaked 2006-02-21 06:44:43 +00:00
copy_file.c - add and use bb_opendir(), bb_xopendir(). 2006-04-12 07:35:12 +00:00
copyfd.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
correct_password.c Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes 2006-05-07 20:20:34 +00:00
crc32.c Patch from Rob Sullivan to consolidate crc32 table generation. 2006-04-10 17:07:15 +00:00
create_icmp6_socket.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
create_icmp_socket.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
default_error_retval.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
device_open.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
dump.c use memmove() instead of bcopy() 2006-04-16 05:58:21 +00:00
error_msg_and_die.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
error_msg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
fclose_nonstdin.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
fflush_stdout_and_exit.c Major coreutils update. 2003-03-19 09:13:01 +00:00
fgets_str.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
find_mount_point.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
find_pid_by_name.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
find_root_device.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
full_read.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
full_write.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
get_console.c Patch from Denis Vlasenko turning static const int (which gets emitted into 2006-03-10 19:22:06 +00:00
get_last_path_component.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
get_line_from_file.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
get_terminal_width_height.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
getopt_ulflags.c Whitespace and documentation cleanup from Dennis Vlasenko. 2006-05-03 21:23:15 +00:00
herror_msg_and_die.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
herror_msg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
human_readable.c - Rich Felker writes: fix invalid printf format strings 2006-03-29 22:34:47 +00:00
inet_common.c just whitespace 2006-01-25 00:08:53 +00:00
inode_hash.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
isdirectory.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
kernel_version.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
last_char_is.c
llist.c Bug fix from Vladimir Oleynik, and suggestion I add my copyright notice 2006-05-11 18:25:24 +00:00
login.c sync with mainstream, but check more 2006-02-20 16:57:36 +00:00
loop.c Whitespace cleanup and minor tweak (return -ERRNO instead of ERRNO so 2006-03-18 02:38:10 +00:00
make_directory.c Make certain clients of bb_make_directory default to honoring 2004-10-13 06:25:52 +00:00
Makefile pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list 2006-05-13 02:33:09 +00:00
Makefile.in - patch from Robert P. J. Day to use filter instead of findstring. 2006-05-15 10:04:50 +00:00
md5.c Make md5 calculation always go through an the buffer so that A) we don't 2006-05-16 02:38:26 +00:00
messages.c - include proper headers. 2006-04-05 16:21:37 +00:00
mode_string.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
mtab_file.c apgo in Bug 322 writes: kill off CONFIG_FEATURE_MTAB_FILENAME 2005-07-30 08:48:10 +00:00
mtab.c Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk 2005-08-10 20:35:54 +00:00
obscure.c New version from Tito. 2006-04-02 18:57:20 +00:00
opendir.c - add and use bb_opendir(), bb_xopendir(). 2006-04-12 07:35:12 +00:00
parse_mode.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
parse_number.c More extern removal from Robert P. Day. 2006-03-29 16:52:56 +00:00
perror_msg_and_die.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
perror_msg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
perror_nomsg_and_die.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
perror_nomsg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
print_file.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
printf.c More extern removal from Robert P. Day. 2006-03-29 16:52:56 +00:00
process_escape_sequence.c just whitespace 2006-01-25 00:08:53 +00:00
procps.c Portability tweak from Shaun Jackman, don't include asm/page.h directly. 2006-04-25 18:42:23 +00:00
pw_encrypt.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
pwd2spwd.c
qmodule.c rmmod -a removed modules recursively 2002-12-14 01:58:59 +00:00
read_package_field.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
README Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
recursive_action.c - add and use bb_opendir(), bb_xopendir(). 2006-04-12 07:35:12 +00:00
remove_file.c - add and use bb_opendir(), bb_xopendir(). 2006-04-12 07:35:12 +00:00
restricted_shell.c
run_parts.c - add and use bb_opendir(), bb_xopendir(). 2006-04-12 07:35:12 +00:00
run_shell.c just whitespace 2006-01-25 00:08:53 +00:00
safe_read.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
safe_strncpy.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
safe_strtol.c More extern removal from Robert P. Day. 2006-03-29 16:52:56 +00:00
safe_write.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
setup_environment.c just whitespace 2006-01-25 00:08:53 +00:00
sha1.c Migrate endianness macros. 2006-05-05 16:54:40 +00:00
simplify_path.c Major coreutils update. 2003-03-19 09:13:01 +00:00
skip_whitespace.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
speed_table.c Patch from Denis Vlasenko turning static const int (which gets emitted into 2006-03-10 19:22:06 +00:00
trim.c According to bug #63, crond is unhappy with crontab lines that don't end in a 2005-09-01 10:23:57 +00:00
u_signal_names.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
vdprintf.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
verror_msg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
vfork_daemon_rexec.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
vherror_msg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
vperror_msg.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
warn_ignoring_args.c Robert P. Day removed 8 gazillion occurrences of "extern" on function 2006-03-06 20:47:33 +00:00
wfopen_input.c Remove some #if 0 code. 2006-04-18 20:42:39 +00:00
wfopen.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
xconnect.c - patch from Denis Vlasenko to add and use bb_xsocket() and to use 2006-04-12 17:55:51 +00:00
xfuncs.c Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes 2006-05-07 20:20:34 +00:00
xgetcwd.c Vodz, last_patch_86 2003-05-26 14:07:50 +00:00
xgethostbyname2.c Major coreutils update. 2003-03-19 09:13:01 +00:00
xgethostbyname.c Major coreutils update. 2003-03-19 09:13:01 +00:00
xgetlarg.c - move buffer allocation schemes to libbb.h 2006-04-03 16:39:31 +00:00
xgetularg.c More extern removal from Robert P. Day. 2006-03-29 16:52:56 +00:00
xreadlink.c Patch from Denis Vlasenko turning static const int (which gets emitted into 2006-03-10 19:22:06 +00:00
xregcomp.c split libbb: moved xregcomp separatelly for speed up recompile 2005-09-14 16:59:11 +00:00
xstat.c Patch from Denis Vlasenko to add xstat() and use it. 2006-03-13 15:45:16 +00:00

Please see the LICENSE file for copyright information (GPLv2)

libbb is BusyBox's utility library.  All of this stuff used to be stuffed into
a single file named utility.c.  When I split utility.c to create libbb, some of
the very oldest stuff ended up without their original copyright and licensing
information (which is now lost in the mists of time).  If you see something
that you wrote that is mis-attributed, do let me know so we can fix that up.

	Erik Andersen
	<andersen@codepoet.org>