NetBSD/lib/libcrypto
thorpej dacf9960bf Add support for building the assembly versions of Blowfish encrypt
and decrypt from OpenSSL.  Right now we only build the 586 version,
but eventually we will be able to build the 686 version based on a
CPP flag defined as a result of using `cc -mcpu=pentiumpro'.

We don't build the assembly version of BF_cbc_encrypt(), as it would
have to be rewritten to be PIC.

Performance difference is quite noticeable.

Before:
Doing blowfish cbc for 3s on 8 size blocks: 2891026 blowfish cbc's in 2.97s
Doing blowfish cbc for 3s on 64 size blocks: 411766 blowfish cbc's in 3.10s
Doing blowfish cbc for 3s on 256 size blocks: 104721 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 1024 size blocks: 26291 blowfish cbc's in 2.98s
Doing blowfish cbc for 3s on 8192 size blocks: 3290 blowfish cbc's in 3.10s
type              8 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
blowfish cbc      7787.28k     8755.16k     8936.19k     9034.22k     8954.05k

After:
Doing blowfish cbc for 3s on 8 size blocks: 4573792 blowfish cbc's in 3.10s
Doing blowfish cbc for 3s on 64 size blocks: 713440 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 256 size blocks: 183125 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 1024 size blocks: 46221 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 8192 size blocks: 5787 blowfish cbc's in 3.00s
type              8 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
blowfish cbc     12156.26k    15270.96k    15626.67k    15776.77k    15802.37k
2000-07-31 18:39:04 +00:00
..
arch/i386 Add support for building the assembly versions of Blowfish encrypt 2000-07-31 18:39:04 +00:00
asn1.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
bf.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
bio.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
bn.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
buffer.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
cast.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
comp.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
conf.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
crypto.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
des.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
dh.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
dsa.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
err.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
evp.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
hmac.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
idea.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
lhash.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
Makefile update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
md2.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
md5.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
mdc2.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
objects.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
pem.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
pkcs7.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
pkcs12.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
rand.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
rc2.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
rc4.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
rc5.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
ripemd.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
rnd_keys.c Add cleaned up versions of des_set_random_generator_seed(), 2000-06-21 19:46:16 +00:00
rsa.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
sha.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
shlib_version bump libcrypto minor 2000-07-17 02:21:18 +00:00
srcs.inc Rework this so what we can include arch-specific versions 2000-07-31 17:04:05 +00:00
stack.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
txt_db.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
x509.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00
x509v3.inc update for openssl 0.9.5a 2000-07-16 07:16:20 +00:00