opnsense-src/lib/libc/tests/string
Robert Clausecker c6cc06d465 lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp
The four functions more or less perform the same operation.
Reuse the same unit test with slight changes so we can cover
them all.  Constant-time operation is not verified for the
timingsafe_* functions.

Sponsored by:	The FreeBSD Foundation
Approved by:	ngie
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D41528
2023-10-02 15:25:31 -04:00
..
bcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-10-02 15:25:31 -04:00
ffs_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
ffsl_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
ffsll_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
fls_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
flsl_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
flsll_test.c lib/libc/tests/string: add unit tests for ffs, ffsl, ffsll, fls, flsl, and flsll 2023-07-03 22:18:27 +02:00
Makefile lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-10-02 15:25:31 -04:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
memcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-10-02 15:25:31 -04:00
memset_s_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
stpncpy_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
strcspn_test.c lib/libc/tests/string/strcspn_test.c: extend tests to catch previous bug 2023-09-16 20:40:13 -04:00
strerror_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
strspn_test.c lib/libc/tests/string: derive strspn(3) tests from strcspn(3) tests 2023-09-08 17:21:59 -04:00
strverscmp_test.c libc: Add strverscmp(3) and versionsort(3) 2022-08-25 03:29:03 +03:00
strxfrm_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
timingsafe_bcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-10-02 15:25:31 -04:00
timingsafe_memcmp_test.c lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp 2023-10-02 15:25:31 -04:00
wcscasecmp_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
wcscoll_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
wcsnlen_test.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00