libc/newlib/libc/string
Sebastian Huber 55c239d834 Add timingsafe_memcmp()
This function is used by LibreSSL and OpenSSH and is provided by the
OpenBSD libc.

	* libc/include/string.h (timingsafe_memcmp): Declare.
	* libc/string/timingsafe_memcmp.c: New file.
	* libc/string/Makefile.am: Add new file.
	* libc/string/Makefile.in: Regenerate.
2016-03-18 12:33:40 +01:00
..
Makefile.am Add timingsafe_memcmp() 2016-03-18 12:33:40 +01:00
Makefile.in Add timingsafe_memcmp() 2016-03-18 12:33:40 +01:00
bcmp.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
bcopy.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
bzero.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
explicit_bzero.c Add explicit_bzero() 2016-03-18 12:33:40 +01:00
gnu_basename.c Fix compile with GCC 5 -Werror 2016-02-12 10:16:06 -06:00
index.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
local.h * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
memccpy.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
memchr.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
memcmp.c
memcpy.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
memmem.c
memmove.c 2013-12-10 Jeff Johnston <jjohnstn@redhat.com> 2013-12-10 18:57:30 +00:00
mempcpy.c 2010-09-21 Craig Howland <howland@LGSInnovations.com> 2010-09-22 03:15:07 +00:00
memrchr.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
memset.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
rawmemchr.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
rindex.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
stpcpy.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
stpncpy.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
str-two-way.h * lib/str-two-way.h (two_way_long_needle): Avoid bug with long 2010-10-06 09:29:35 +00:00
strcasecmp.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
strcasestr.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
strcat.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
strchr.c
strchrnul.c strchrnul: avoid segv 2011-04-15 20:26:05 +00:00
strcmp.c
strcoll.c
strcpy.c
strcspn.c
strdup.c
strdup_r.c
strerror.c * libc/string/strerror.c: Fix documentation so makedoc doesn't 2014-07-30 08:02:12 +00:00
strerror_r.c strerror: allow user hook to comply with POSIX rules 2011-05-25 18:41:10 +00:00
strings.tex Use source files which have makedoc markup, but aren't processed or included. 2015-06-24 12:24:01 +01:00
strlcat.c
strlcpy.c
strlen.c
strlwr.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strncasecmp.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:01:51 +00:00
strncat.c 2013-08-08 Freddie Chopin <freddie_chopin@op.pl> 2013-08-08 15:17:09 +00:00
strncmp.c
strncpy.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
strndup.c
strndup_r.c
strnlen.c
strpbrk.c
strrchr.c
strsep.c
strsignal.c * libc/string/strsignal.c (strsignal): Avoid duplicate case statement where 2010-05-18 14:52:38 +00:00
strspn.c
strstr.c
strtok.c Add missing semicolons to prototypes. 2015-11-02 16:34:49 -05:00
strtok_r.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
strupr.c 2009-04-23 Mike Burgess <wizardsguild@earthlink.net> 2009-04-23 18:11:22 +00:00
strxfrm.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
swab.c
timingsafe_bcmp.c Add timingsafe_bcmp() 2016-03-18 12:33:40 +01:00
timingsafe_memcmp.c Add timingsafe_memcmp() 2016-03-18 12:33:40 +01:00
u_strerr.c * libc/string/memccpy.c (memccpy): Fix warning about signed-unsigned 2014-10-09 12:24:56 +00:00
wcpcpy.c Remove stray punctuation in ANSI_SYNOPSIS prototypes 2015-06-23 17:30:07 +01:00
wcpncpy.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcscasecmp.c
wcscat.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcschr.c
wcscmp.c
wcscoll.c
wcscpy.c Remove stray punctuation in ANSI_SYNOPSIS prototypes 2015-06-23 17:30:07 +01:00
wcscspn.c
wcsdup.c 2009-03-25 Jeff Johnston <jjohnstn@redhat.com> 2009-03-25 17:57:11 +00:00
wcslcat.c
wcslcpy.c
wcslen.c
wcsncasecmp.c
wcsncat.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcsncmp.c
wcsncpy.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcsnlen.c
wcspbrk.c
wcsrchr.c
wcsspn.c
wcsstr.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstok.c Add missing semicolons to prototypes. 2015-11-02 16:34:49 -05:00
wcstrings.tex
wcswidth.c * libc/string/local.h: New file. 2009-05-15 11:40:28 +00:00
wcsxfrm.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcwidth.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 11:59:56 +00:00
wmemchr.c
wmemcmp.c
wmemcpy.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wmemmove.c
wmemset.c
xpg_strerror_r.c strerror: allow user hook to comply with POSIX rules 2011-05-25 18:41:10 +00:00