1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/secure/lib
Kris Kennaway 0937df81ca Introduce support for using OpenSSL ASM optimizations. This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@silby.com>
Reviewed by:    current
2001-02-19 03:59:05 +00:00
..
libcipher Fixed missing include of <unistd.h> and wrong prototype for setkey(). 2001-02-06 01:17:59 +00:00
libcrypt Merge into a single US-exportable libcrypt, which only provides 2000-12-28 10:32:02 +00:00
libcrypto Introduce support for using OpenSSL ASM optimizations. This is done 2001-02-19 03:59:05 +00:00
librsaglue Build a shared library too - ports expect it. 2000-03-07 20:55:55 +00:00
libssh Update for OpenSSH 2.3.0. 2000-12-05 03:01:33 +00:00
libssl Update for OpenSSL 0.9.6 2000-11-13 02:21:38 +00:00
libtelnet Make telnet with SRA work. 1999-10-07 19:47:09 +00:00
Makefile Nuke RSAREF support from orbit. 2000-09-10 00:09:37 +00:00
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00