NetBSD/tests
martin 120a124a0e Pull up following revision(s) (requested by riastradh in ticket #1819):
crypto/external/bsd/openssl/dist/providers/implementations/digests/sha2_prov.c: revision 1.2
	  (applied to crypto/external/bsd/openssl/dist/crypto/evp/m_sha1.c)
	tests/crypto/libcrypto/t_sha512trunc.c: revision 1.1
	tests/crypto/libcrypto/t_sha512trunc.c: revision 1.2
	tests/crypto/libcrypto/Makefile: revision 1.16
	distrib/sets/lists/tests/mi: revision 1.1311
	distrib/sets/lists/debug/mi: revision 1.430
	crypto/external/bsd/openssl/dist/include/crypto/sha.h: revision 1.2
	crypto/external/bsd/openssl/lib/libcrypto/libc-sha2xx.c: revision 1.4
	(all via patch)

libcrypto: Add some trivial tests for truncated SHA-512 variants.
These should use more of the test vectors from
https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing#Testing
but this will do for now to detect the buffer overrun rake we left
lying around for ourselves.
PR lib/58039

libcrypto: Fix buffer overrun in truncated SHA-512 functions.
Further fallout from the libc/openssl sha2 symbol collision.
PR lib/58039
2024-03-25 14:26:15 +00:00
..
bin Pull up following revision(s) (requested by kamil in ticket #65): 2019-08-16 19:18:07 +00:00
crypto Pull up following revision(s) (requested by riastradh in ticket #1819): 2024-03-25 14:26:15 +00:00
dev Gracefully skip test if not enough space in temporary directory. 2019-07-10 06:21:40 +00:00
fs Pull up following revision(s) (requested by riastradh in ticket #1083): 2020-09-13 12:25:29 +00:00
games
include Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed 2019-05-13 17:55:07 +00:00
ipf
kernel Pull up following revision(s) (requested by thorpej in ticket #1353): 2021-10-04 14:48:25 +00:00
lib Pull up following revision(s) (requested by riastradh in ticket #1801): 2024-02-23 18:13:54 +00:00
libexec Pull up the following revisions(s) (requested by riastradh in ticket #1712): 2023-08-11 12:13:09 +00:00
modules Drop no longer needed macros KCOV_STORE() KCOV_LOAD() in kcov(4) 2019-05-26 01:44:34 +00:00
net Pull up following revision(s) (requested by knakahara in ticket #1129): 2020-11-10 11:44:22 +00:00
rump Pull up following revision(s) - all via patch - 2021-07-06 04:22:34 +00:00
sbin Make most of the resize_ffs tests skip if PUFFS is not configured 2017-10-08 21:12:27 +00:00
share
sys Fixed issues with uvm_page_physunload_delete_end test case. 2019-01-16 13:54:17 +00:00
usr.bin Pull up following revision(s) (requested by kamil in ticket #120): 2019-08-29 16:45:25 +00:00
usr.sbin Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed 2019-05-13 17:55:07 +00:00
Makefile
Makefile.inc
README
h_macros.h

README

$NetBSD: README,v 1.4 2012/05/18 15:36:21 jruoho Exp $

When adding new tests, please try to follow the following conventions.

1. For library routines, including system calls, the directory structure of
   the tests should follow the directory structure of the real source tree.
   For instance, interfaces available via the C library should follow:

	src/lib/libc/gen -> src/tests/lib/libc/gen
	src/lib/libc/sys -> src/tests/lib/libc/sys
	...

2. Equivalently, all tests for userland utilities should try to follow their
   location in the source tree. If this can not be satisfied, the tests for
   a utility should be located under the directory to which the utility is
   installed. Thus, a test for env(1) should go to src/tests/usr.bin/env.
   Likewise, a test for tcpdump(8) should be in src/tests/usr.sbin/tcpdump,
   even though the source code for the program is located under src/external.

3. Otherwise use your own discretion.