An UltraSPARC assembler version of Eric Youngs LibDES/SSLeay/OpenSSL
des_enc.c file is available at http://inet.uni2.dk/~svolaf/des.htm.

This brings DES on UltraSPARC from slower than Pentium at the same
clock speed to significantly faster.

On a 167 MHz UltraSPARC 1, the output from the LibDES Light 4.04b
speed program is as follows:

Doing set_key for 10 seconds
2149075 set_key's in 10.00 seconds
Doing des_encrypt's for 10 seconds
5800360 des_encrypt's in 10.00 second
Doing des_cbc_encrypt on 1024 byte blocks for 10 seconds
47154 des_cbc_encrypt's of 1024 byte blocks in 10.00 second
Doing des_ede_cbc_encrypt on 1024 byte blocks for 10 seconds
17212 des_ede_cbc_encrypt's of 1024 byte blocks in 10.00 second
Doing crypt for 10 seconds
3261 crypts in 10.00 second
set_key            per sec =    214907.50 (    4.653uS)
DES raw ecb bytes  per sec =   4640288.00 (    1.724uS)
DES cbc bytes      per sec =   4828569.60 (    1.657uS)
DES ede cbc bytes  per sec =   1762508.80 (    4.539uS)
crypt              per sec =       326.10 ( 3066.544uS)

Using cc compiled C code I got:

DES raw ecb bytes  per sec =   3620528.00 (    2.210uS)
DES cbc bytes      per sec =   3272089.60 (    2.445uS)
DES ede cbc bytes  per sec =   1204506.91 (    6.642uS)

And gcc:

DES raw ecb bytes  per sec =   3344702.40 (    2.392uS)
DES cbc bytes      per sec =   3022643.20 (    2.647uS)
DES ede cbc bytes  per sec =   1118310.40 (    7.154uS)

The enhancements compared to the cc compiled version are:

raw ecb (des_encrypt)           28 per cent
cbc (des_ncbc_encrypt)          48 per cent
ede cbc (des_ede3_cbc_encrypt)  46 per cent

And compared to the gcc compiled version:

raw ecb (des_encrypt)           39 per cent
cbc (des_ncbc_encrypt)          60 per cent
ede cbc (des_ede3_cbc_encrypt)  58 per cent

Current version is 1.0 beta 2.
-- 
Svend Olaf
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to