Home | History | Annotate | only in /src/tests/lib/libc/hash
History log of /src/tests/lib/libc/hash
RevisionDateAuthorComments
 1.2 13-Jul-2010  jmmv Get rid of static Atffiles and let bsd.test.mk generate them on the fly.
 1.1 24-Jan-2010  joerg Add a regression test for the SHA2 family that also checks for unaligned
accesses.
 1.6 19-Oct-2025  riastradh openssl: Stop dragging libpthread into every libcrypto user.

With the new _NETBSD_PTHREAD_CREATE_WEAK, libcrypto can have a call
to pthread_create without linking against libpthread, so it is not
necessary to link all libcrypto users against libpthread too.

Applications that link against libcrypto but not libpthread can't use
threaded OpenSSL functionality, of course -- OSSL_set_max_threads
will always fail in such applications.

This reverts all the makefile churn that I found for unnecessary
libpthread linkage since the openssl 3.5 import.

PR lib/59685: libcrypto should not depend on libpthread
 1.5 19-Jul-2025  christos crypto needs threads
 1.4 21-May-2017  riastradh branches: 1.4.22;
Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.
 1.3 02-Jul-2016  christos Add an hmac test.
 1.2 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.1 24-Jan-2010  joerg Add a regression test for the SHA2 family that also checks for unaligned
accesses.
 1.4.22.1 02-Aug-2025  perseant Sync with HEAD
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.3 24-May-2023  christos no more md5 for you.
 1.2 07-Feb-2018  christos branches: 1.2.14;
md2 has been deprecated in OpenSSL-1.1
 1.1 02-Jul-2016  christos Add an hmac test.
 1.2.14.1 11-Sep-2023  martin Pull up following revision(s) (requested by riastradh in ticket #370):

tests/lib/libc/hash/t_hmac.c: revision 1.3

no more md4 for you.
 1.3 26-Sep-2012  joerg Fix year.
 1.2 03-Nov-2010  christos branches: 1.2.6; 1.2.12;
add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
 1.1 24-Jan-2010  joerg Add a regression test for the SHA2 family that also checks for unaligned
accesses.
 1.2.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.6.1 30-Oct-2012  yamt sync with head
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.
 1.1 02-Jan-2011  pgoyette Atf-ify servent and protoent tests, and the remaining hash test.

RSS XML Feed