Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 09:21:58 -0700
From:      David King <dking@ketralnis.com>
To:        freebsd-hardware@freebsd.org
Subject:   Re: Quiet computer
Message-ID:  <36E6E927-AA04-43ED-928E-D06ABCE414CA@ketralnis.com>
In-Reply-To: <78ED28FACE63744386D68D8A9D1CF5D4209C5C@MAIL.corp.lumeta.com>
References:  <78ED28FACE63744386D68D8A9D1CF5D4209C5C@MAIL.corp.lumeta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hmm.. that's odd, the Woodcrest still stomps those numbers- I  
> wonder if
> it's just a matter of difference in CPU speed, or intel has started
> adding some sort of hw crypto? Also, I'm running a stock 6.1-RELEASE
> amd64 kernel.

It might also be that OpenSSL isn't actually using the /dev/crypto  
device; I see from some postings that in order to get OpenSSL to use  
it, you have to give a command line switch like -engine. I played  
around with it a little, and while I don't know much about how  
OpenSSL defines engines, I did get this:

~% openssl speed -engine /dev/crypto
invalid engine "/dev/crypto"
53289:error:25066067:DSO support routines:DLFCN_LOAD:could not load  
the shared library:dso_dlfcn.c:162:filename(/dev/crypto): /dev/ 
crypto: read error: Input/output error
53289:error:25070067:DSO support routines:DSO_load:could not load the  
shared library:dso_lib.c:244:
53289:error:260B6084:engine routines:DYNAMIC_LOAD:dso not  
found:eng_dyn.c:450:
53289:error:2606A074:engine routines:ENGINE_by_id:no such  
engine:eng_list.c:415:id=/dev/crypto
53289:error:25066067:DSO support routines:DLFCN_LOAD:could not load  
the shared library:dso_dlfcn.c:162:filename(/dev/crypto): /dev/ 
crypto: read error: Input/output error
53289:error:25070067:DSO support routines:DSO_load:could not load the  
shared library:dso_lib.c:244:
53289:error:260B6084:engine routines:DYNAMIC_LOAD:dso not  
found:eng_dyn.c:450:
To get the most accurate results, try to run this
program when this computer is idle.
[...]

Does anyone with cryptographic hardware have experience with getting  
OpenSSL to use it?

>> -----Original Message-----
>> From: owner-freebsd-hardware@freebsd.org [mailto:owner-freebsd-
>> hardware@freebsd.org] On Behalf Of David King
>> Sent: Monday, October 09, 2006 1:30 PM
>> To: freebsd-hardware@freebsd.org
>> Subject: Re: Quiet computer
>>
>> Here we are again with padlock(4) actually compiled into the  
>> kernel :)
>>
>> OpenSSL 0.9.8d 28 Sep 2006
>> built on: Thu Oct  5 14:59:49 PDT 2006
>> options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes
>> (partial) idea(int) blowfish(idx)
>> compiler: cc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread -
>> D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3 -
>> fomit-frame-pointer -Wall -O2 -fno-strict-aliasing -pipe -O -pipe -
>> mtune=i686 -march=pentiumpro -Wl,-rpath,/usr/local/lib -
>> DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM - 
>> DAES_ASM
>> available timing options: USE_TOD HZ=128 [sysconf value]
>> timing function used: getrusage
>> The 'numbers' are in 1000s of bytes per second processed.
>> type             16 bytes     64 bytes    256 bytes   1024 bytes
>> 8192 bytes
>> md2                484.96k     1028.72k     1430.85k     1586.47k
>> 1638.30k
>> mdc2                 0.00         0.00         0.00
>> 0.00         0.00
>> md4               4032.03k    13842.55k    37818.93k    67152.92k
>> 86782.76k
>> md5               3911.84k    13584.08k    38591.74k    70378.22k
>> 93060.09k
>> hmac(md5)         5111.89k    16756.66k    44186.02k    74774.38k
>> 94053.88k
>> sha1              3254.06k     9925.14k    22536.35k    33177.25k
>> 38443.33k
>> rmd160            3017.47k     8466.50k    17600.37k    24115.23k
>> 27071.74k
>> rc4              34821.22k    38830.34k    39777.78k    40220.13k
>> 40324.81k
>> des cbc          10097.19k    10562.78k    10716.04k    10753.39k
>> 10764.02k
>> des ede3          3625.92k     3686.90k     3705.11k     3709.21k
>> 3710.78k
>> idea cbc          7725.38k     8227.10k     8359.48k     8391.42k
>> 8407.62k
>> rc2 cbc           5299.41k     5529.69k     5590.01k     5604.81k
>> 5607.09k
>> rc5-32/12 cbc        0.00         0.00         0.00
>> 0.00         0.00
>> blowfish cbc     18280.56k    19490.41k    19746.85k    19893.62k
>> 19916.51k
>> cast cbc          7892.93k     8284.10k     8421.85k     8459.11k
>> 8460.19k
>> aes-128 cbc      10276.54k    13552.14k    14833.08k    15191.43k
>> 15270.86k
>> aes-192 cbc       9167.52k    11687.66k    12628.19k    12888.71k
>> 12952.68k
>> aes-256 cbc       8266.91k    10057.43k    10768.40k    10957.97k
>> 11012.94k
>> camellia-128 cbc        0.00         0.00         0.00
>> 0.00         0.00
>> camellia-192 cbc        0.00         0.00         0.00
>> 0.00         0.00
>> camellia-256 cbc        0.00         0.00         0.00
>> 0.00         0.00
>> sha256            2098.35k     4825.75k     8423.74k    10366.23k
>> 11114.17k
>> sha512             484.15k     1935.12k     2858.82k     3951.34k
>> 4447.44k
>>                    sign    verify    sign/s verify/s
>> rsa  512 bits 0.003200s 0.000246s    312.5   4058.6
>> rsa 1024 bits 0.014534s 0.000682s     68.8   1465.2
>> rsa 2048 bits 0.082113s 0.002226s     12.2    449.2
>> rsa 4096 bits 0.529857s 0.007901s      1.9    126.6
>>                    sign    verify    sign/s verify/s
>> dsa  512 bits 0.002356s 0.002792s    424.5    358.2
>> dsa 1024 bits 0.006577s 0.007967s    152.0    125.5
>> dsa 2048 bits 0.021624s 0.026237s     46.2     38.1
>>
>>
>> On 06 Oct 2006, at 22:05, David King wrote:
>>
>>>> just do `openssl speed`
>>>> if you see some damn large numbers, you know 'tis hw crypto
>>>> working :)
>>>
>>> Okay, so I did it with /usr/bin/openssl and /usr/local/bin/openssl.
>>> Tell me what you think:
>>>
>>> ----------/usr/bin/openssl----------
>>> To get the most accurate results, try to run this
>>> program when this computer is idle.
>>> Doing md2 for 3s on 16 size blocks: 95512 md2's in 2.98s
>>> Doing md2 for 3s on 64 size blocks: 50903 md2's in 2.99s
>>> Doing md2 for 3s on 256 size blocks: 17768 md2's in 2.99s
>>> Doing md2 for 3s on 1024 size blocks: 4928 md2's in 2.99s
>>> Doing md2 for 3s on 8192 size blocks: 637 md2's in 2.99s
>>> Doing mdc2 for 3s on 16 size blocks: 218133 mdc2's in 2.98s
>>> Doing mdc2 for 3s on 64 size blocks: 61692 mdc2's in 2.99s
>>> Doing mdc2 for 3s on 256 size blocks: 15949 mdc2's in 2.99s
>>> Doing mdc2 for 3s on 1024 size blocks: 4024 mdc2's in 2.99s
>>> Doing mdc2 for 3s on 8192 size blocks: 505 mdc2's in 2.99s
>>> Doing md4 for 3s on 16 size blocks: 810042 md4's in 2.99s
>>> Doing md4 for 3s on 64 size blocks: 692610 md4's in 2.99s
>>> Doing md4 for 3s on 256 size blocks: 470095 md4's in 2.99s
>>> Doing md4 for 3s on 1024 size blocks: 204791 md4's in 2.99s
>>> Doing md4 for 3s on 8192 size blocks: 32865 md4's in 2.99s
>>> Doing md5 for 3s on 16 size blocks: 677259 md5's in 2.99s
>>> Doing md5 for 3s on 64 size blocks: 558167 md5's in 2.99s
>>> Doing md5 for 3s on 256 size blocks: 356691 md5's in 2.99s
>>> Doing md5 for 3s on 1024 size blocks: 146187 md5's in 2.99s
>>> Doing md5 for 3s on 8192 size blocks: 22488 md5's in 2.99s
>>> Doing hmac(md5) for 3s on 16 size blocks: 674479 hmac(md5)'s in
> 2.99s
>>> Doing hmac(md5) for 3s on 64 size blocks: 553966 hmac(md5)'s in
> 2.99s
>>> Doing hmac(md5) for 3s on 256 size blocks: 356030 hmac(md5)'s in
> 2.99s
>>> Doing hmac(md5) for 3s on 1024 size blocks: 146028 hmac(md5)'s in
>>> 2.99s
>>> Doing hmac(md5) for 3s on 8192 size blocks: 22487 hmac(md5)'s in
> 2.98s
>>> Doing sha1 for 3s on 16 size blocks: 574104 sha1's in 2.99s
>>> Doing sha1 for 3s on 64 size blocks: 398438 sha1's in 2.99s
>>> Doing sha1 for 3s on 256 size blocks: 205800 sha1's in 2.99s
>>> Doing sha1 for 3s on 1024 size blocks: 70157 sha1's in 2.99s
>>> Doing sha1 for 3s on 8192 size blocks: 9810 sha1's in 2.99s
>>> Doing rmd160 for 3s on 16 size blocks: 469010 rmd160's in 2.98s
>>> Doing rmd160 for 3s on 64 size blocks: 311884 rmd160's in 2.99s
>>> Doing rmd160 for 3s on 256 size blocks: 153384 rmd160's in 2.99s
>>> Doing rmd160 for 3s on 1024 size blocks: 50539 rmd160's in 2.98s
>>> Doing rmd160 for 3s on 8192 size blocks: 6963 rmd160's in 2.98s
>>> Doing rc4 for 3s on 16 size blocks: 6933407 rc4's in 2.99s
>>> Doing rc4 for 3s on 64 size blocks: 1923083 rc4's in 2.98s
>>> Doing rc4 for 3s on 256 size blocks: 489508 rc4's in 2.96s
>>> Doing rc4 for 3s on 1024 size blocks: 123724 rc4's in 2.97s
>>> Doing rc4 for 3s on 8192 size blocks: 15556 rc4's in 2.97s
>>> Doing des cbc for 3s on 16 size blocks: 2105375 des cbc's in 2.98s
>>> Doing des cbc for 3s on 64 size blocks: 543605 des cbc's in 2.98s
>>> Doing des cbc for 3s on 256 size blocks: 137827 des cbc's in 2.98s
>>> Doing des cbc for 3s on 1024 size blocks: 34556 des cbc's in 2.98s
>>> Doing des cbc for 3s on 8192 size blocks: 4323 des cbc's in 2.98s
>>> Doing des ede3 for 3s on 16 size blocks: 756533 des ede3's in 2.98s
>>> Doing des ede3 for 3s on 64 size blocks: 191674 des ede3's in 2.98s
>>> Doing des ede3 for 3s on 256 size blocks: 48143 des ede3's in 2.98s
>>> Doing des ede3 for 3s on 1024 size blocks: 12056 des ede3's in 2.99s
>>> Doing des ede3 for 3s on 8192 size blocks: 1507 des ede3's in 2.99s
>>> Doing aes-128 cbc for 3s on 16 size blocks: 1683023 aes-128 cbc's
>>> in 2.98s
>>> Doing aes-128 cbc for 3s on 64 size blocks: 428016 aes-128 cbc's in
>>> 2.98s
>>> Doing aes-128 cbc for 3s on 256 size blocks: 108105 aes-128 cbc's
>>> in 2.99s
>>> Doing aes-128 cbc for 3s on 1024 size blocks: 27079 aes-128 cbc's
>>> in 2.98s
>>> Doing aes-128 cbc for 3s on 8192 size blocks: 3388 aes-128 cbc's in
>>> 2.98s
>>> Doing aes-192 cbc for 3s on 16 size blocks: 1470225 aes-192 cbc's
>>> in 2.98s
>>> Doing aes-192 cbc for 3s on 64 size blocks: 373644 aes-192 cbc's in
>>> 2.98s
>>> Doing aes-192 cbc for 3s on 256 size blocks: 94170 aes-192 cbc's in
>>> 2.98s
>>> Doing aes-192 cbc for 3s on 1024 size blocks: 23586 aes-192 cbc's
>>> in 2.98s
>>> Doing aes-192 cbc for 3s on 8192 size blocks: 2951 aes-192 cbc's in
>>> 2.98s
>>> Doing aes-256 cbc for 3s on 16 size blocks: 1305813 aes-256 cbc's
>>> in 2.98s
>>> Doing aes-256 cbc for 3s on 64 size blocks: 331577 aes-256 cbc's in
>>> 2.99s
>>> Doing aes-256 cbc for 3s on 256 size blocks: 83473 aes-256 cbc's in
>>> 2.99s
>>> Doing aes-256 cbc for 3s on 1024 size blocks: 20912 aes-256 cbc's
>>> in 2.99s
>>> Doing aes-256 cbc for 3s on 8192 size blocks: 2616 aes-256 cbc's in
>>> 2.99s
>>> Doing rc2 cbc for 3s on 16 size blocks: 1043269 rc2 cbc's in 2.99s
>>> Doing rc2 cbc for 3s on 64 size blocks: 271026 rc2 cbc's in 2.99s
>>> Doing rc2 cbc for 3s on 256 size blocks: 68365 rc2 cbc's in 2.98s
>>> Doing rc2 cbc for 3s on 1024 size blocks: 17147 rc2 cbc's in 2.99s
>>> Doing rc2 cbc for 3s on 8192 size blocks: 2145 rc2 cbc's in 2.99s
>>> Doing rc5-32/12 cbc for 3s on 16 size blocks: 6393672 rc5-32/12
>>> cbc's in 2.98s
>>> Doing rc5-32/12 cbc for 3s on 64 size blocks: 1774376 rc5-32/12
>>> cbc's in 2.98s
>>> Doing rc5-32/12 cbc for 3s on 256 size blocks: 462590 rc5-32/12
>>> cbc's in 2.99s
>>> Doing rc5-32/12 cbc for 3s on 1024 size blocks: 116817 rc5-32/12
>>> cbc's in 2.98s
>>> Doing rc5-32/12 cbc for 3s on 8192 size blocks: 14622 rc5-32/12
>>> cbc's in 2.98s
>>> Doing blowfish cbc for 3s on 16 size blocks: 3515807 blowfish cbc's
>>> in 2.99s
>>> Doing blowfish cbc for 3s on 64 size blocks: 936491 blowfish cbc's
>>> in 2.99s
>>> Doing blowfish cbc for 3s on 256 size blocks: 237486 blowfish cbc's
>>> in 2.99s
>>> Doing blowfish cbc for 3s on 1024 size blocks: 59693 blowfish cbc's
>>> in 2.99s
>>> Doing blowfish cbc for 3s on 8192 size blocks: 7472 blowfish cbc's
>>> in 2.99s
>>> Doing cast cbc for 3s on 16 size blocks: 3594419 cast cbc's in 2.99s
>>> Doing cast cbc for 3s on 64 size blocks: 950631 cast cbc's in 2.98s
>>> Doing cast cbc for 3s on 256 size blocks: 243324 cast cbc's in 2.99s
>>> Doing cast cbc for 3s on 1024 size blocks: 61170 cast cbc's in 2.99s
>>> Doing cast cbc for 3s on 8192 size blocks: 7649 cast cbc's in 2.99s
>>> Doing 512 bit private rsa's for 10s: 3567 512 bit private RSA's in
>>> 9.95s
>>> Doing 512 bit public rsa's for 10s: 31284 512 bit public RSA's in
>>> 9.94s
>>> Doing 1024 bit private rsa's for 10s: 786 1024 bit private RSA's in
>>> 9.94s
>>> Doing 1024 bit public rsa's for 10s: 12643 1024 bit public RSA's in
>>> 9.94s
>>> Doing 2048 bit private rsa's for 10s: 137 2048 bit private RSA's in
>>> 10.02s
>>> Doing 2048 bit public rsa's for 10s: 4089 2048 bit public RSA's in
>>> 9.95s
>>> Doing 4096 bit private rsa's for 10s: 21 4096 bit private RSA's in
>>> 10.05s
>>> Doing 4096 bit public rsa's for 10s: 1174 4096 bit public RSA's in
>>> 9.95s
>>> Doing 512 bit sign dsa's for 10s: 4423 512 bit DSA signs in 9.56s
>>> Doing 512 bit verify dsa's for 10s: 3685 512 bit DSA verify in
> 10.00s
>>> Doing 1024 bit sign dsa's for 10s: 1557 1024 bit DSA signs in 10.00s
>>> Doing 1024 bit verify dsa's for 10s: 1301 1024 bit DSA verify in
>>> 10.00s
>>> Doing 2048 bit sign dsa's for 10s: 474 2048 bit DSA signs in 9.99s
>>> Doing 2048 bit verify dsa's for 10s: 384 2048 bit DSA verify in
> 10.02s
>>> OpenSSL 0.9.7e-p1 25 Oct 2004
>>> built on: Fri Sep 22 23:34:15 PDT 2006
>>> options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes
>>> (partial) blowfish(idx)
>>> compiler: cc
>>> available timing options: USE_TOD HZ=128 [sysconf value]
>>> timing function used: getrusage
>>> The 'numbers' are in 1000s of bytes per second processed.
>>> type             16 bytes     64 bytes    256 bytes   1024 bytes
>>> 8192 bytes
>>> md2                512.69k     1091.17k     1522.88k
>>> 1689.62k     1745.43k
>>> mdc2              1169.74k     1322.64k     1367.51k
>>> 1379.38k     1383.02k
>>> md4               4339.88k    14841.95k    40292.45k
>>> 70247.92k    90135.45k
>>> md5               3627.96k    11962.71k    30571.03k
>>> 50116.72k    61675.11k
>>> hmac(md5)         3613.31k    11871.78k    30517.83k
>>> 50067.31k    61713.54k
>>> sha1              3075.34k     8538.22k    17643.58k
>>> 24059.81k    26914.86k
>>> rmd160            2516.37k     6686.89k    13151.09k
>>> 17339.59k    19132.95k
>>> rc4              37157.99k    41299.57k    42307.37k
>>> 42724.09k    42851.07k
>>> des cbc          11291.64k    11682.42k    11826.20k
>>> 11862.20k    11870.63k
>>> des ede3          4055.37k     4110.76k     4129.60k
>>> 4134.81k     4134.77k
>>> idea cbc             0.00         0.00         0.00
>>> 0.00         0.00
>>> rc2 cbc           5588.96k     5808.52k     5865.79k
>>> 5880.90k     5884.61k
>>> rc5-32/12 cbc    34280.23k    38109.91k    39666.58k
>>> 40080.87k    40200.80k
>>> blowfish cbc     18839.66k    20068.64k    20363.22k
>>> 20468.75k    20500.88k
>>> cast cbc         19266.28k    20417.46k    20859.22k
>>> 20972.79k    20977.22k
>>> aes-128 cbc       9039.90k     9186.16k     9270.87k
>>> 9292.88k     9298.58k
>>> aes-192 cbc       7884.05k     8013.09k     8078.25k
>>> 8093.83k     8099.55k
>>> aes-256 cbc       7005.10k     7106.64k     7157.91k
>>> 7170.89k     7173.38k
>>>                   sign    verify    sign/s verify/s
>>> rsa  512 bits   0.0028s   0.0003s    358.5   3147.9
>>> rsa 1024 bits   0.0126s   0.0008s     79.1   1272.5
>>> rsa 2048 bits   0.0732s   0.0024s     13.7    411.0
>>> rsa 4096 bits   0.4788s   0.0085s      2.1    117.9
>>>                   sign    verify    sign/s verify/s
>>> dsa  512 bits   0.0022s   0.0027s    462.6    368.4
>>> dsa 1024 bits   0.0064s   0.0077s    155.6    130.1
>>> dsa 2048 bits   0.0211s   0.0261s     47.4     38.3
>>>
>>> ----------/usr/local/bin/opensl----------
>>>
>>> To get the most accurate results, try to run this
>>> program when this computer is idle.
>>> Doing md2 for 3s on 16 size blocks: 91481 md2's in 3.00s
>>> Doing md2 for 3s on 64 size blocks: 48533 md2's in 3.00s
>>> Doing md2 for 3s on 256 size blocks: 16878 md2's in 3.00s
>>> Doing md2 for 3s on 1024 size blocks: 4678 md2's in 3.00s
>>> Doing md2 for 3s on 8192 size blocks: 604 md2's in 3.00s
>>> Doing md4 for 3s on 16 size blocks: 765870 md4's in 3.00s
>>> Doing md4 for 3s on 64 size blocks: 650603 md4's in 3.00s
>>> Doing md4 for 3s on 256 size blocks: 445118 md4's in 3.00s
>>> Doing md4 for 3s on 1024 size blocks: 197393 md4's in 3.00s
>>> Doing md4 for 3s on 8192 size blocks: 32000 md4's in 3.00s
>>> Doing md5 for 3s on 16 size blocks: 740691 md5's in 3.00s
>>> Doing md5 for 3s on 64 size blocks: 645494 md5's in 3.00s
>>> Doing md5 for 3s on 256 size blocks: 454959 md5's in 3.00s
>>> Doing md5 for 3s on 1024 size blocks: 207958 md5's in 3.00s
>>> Doing md5 for 3s on 8192 size blocks: 34331 md5's in 3.00s
>>> Doing hmac(md5) for 3s on 16 size blocks: 965270 hmac(md5)'s in
> 3.00s
>>> Doing hmac(md5) for 3s on 64 size blocks: 791215 hmac(md5)'s in
> 3.00s
>>> Doing hmac(md5) for 3s on 256 size blocks: 521572 hmac(md5)'s in
> 3.00s
>>> Doing hmac(md5) for 3s on 1024 size blocks: 220635 hmac(md5)'s in
>>> 3.00s
>>> Doing hmac(md5) for 3s on 8192 size blocks: 34675 hmac(md5)'s in
> 3.00s
>>> Doing sha1 for 3s on 16 size blocks: 617279 sha1's in 3.00s
>>> Doing sha1 for 3s on 64 size blocks: 468049 sha1's in 3.00s
>>> Doing sha1 for 3s on 256 size blocks: 266386 sha1's in 3.00s
>>> Doing sha1 for 3s on 1024 size blocks: 97818 sha1's in 3.00s
>>> Doing sha1 for 3s on 8192 size blocks: 14182 sha1's in 3.00s
>>> Doing sha256 for 3s on 16 size blocks: 396047 sha256's in 3.00s
>>> Doing sha256 for 3s on 64 size blocks: 227772 sha256's in 3.00s
>>> Doing sha256 for 3s on 256 size blocks: 99380 sha256's in 3.00s
>>> Doing sha256 for 3s on 1024 size blocks: 30573 sha256's in 3.00s
>>> Doing sha256 for 3s on 8192 size blocks: 4098 sha256's in 3.00s
>>> Doing sha512 for 3s on 16 size blocks: 91452 sha512's in 3.00s
>>> Doing sha512 for 3s on 64 size blocks: 91440 sha512's in 3.00s
>>> Doing sha512 for 3s on 256 size blocks: 33728 sha512's in 3.00s
>>> Doing sha512 for 3s on 1024 size blocks: 11654 sha512's in 3.00s
>>> Doing sha512 for 3s on 8192 size blocks: 1640 sha512's in 3.00s
>>> Doing rmd160 for 3s on 16 size blocks: 567819 rmd160's in 3.00s
>>> Doing rmd160 for 3s on 64 size blocks: 399514 rmd160's in 3.00s
>>> Doing rmd160 for 3s on 256 size blocks: 207789 rmd160's in 3.00s
>>> Doing rmd160 for 3s on 1024 size blocks: 71158 rmd160's in 3.00s
>>> Doing rmd160 for 3s on 8192 size blocks: 9981 rmd160's in 3.00s
>>> Doing rc4 for 3s on 16 size blocks: 6568769 rc4's in 3.00s
>>> Doing rc4 for 3s on 64 size blocks: 1831119 rc4's in 3.00s
>>> Doing rc4 for 3s on 256 size blocks: 469013 rc4's in 3.00s
>>> Doing rc4 for 3s on 1024 size blocks: 118548 rc4's in 3.00s
>>> Doing rc4 for 3s on 8192 size blocks: 14866 rc4's in 3.00s
>>> Doing des cbc for 3s on 16 size blocks: 1904652 des cbc's in 3.00s
>>> Doing des cbc for 3s on 64 size blocks: 498596 des cbc's in 3.00s
>>> Doing des cbc for 3s on 256 size blocks: 126362 des cbc's in 3.00s
>>> Doing des cbc for 3s on 1024 size blocks: 31699 des cbc's in 3.00s
>>> Doing des cbc for 3s on 8192 size blocks: 3967 des cbc's in 3.00s
>>> Doing des ede3 for 3s on 16 size blocks: 683496 des ede3's in 3.00s
>>> Doing des ede3 for 3s on 64 size blocks: 173872 des ede3's in 3.00s
>>> Doing des ede3 for 3s on 256 size blocks: 43687 des ede3's in 3.00s
>>> Doing des ede3 for 3s on 1024 size blocks: 10935 des ede3's in 3.00s
>>> Doing des ede3 for 3s on 8192 size blocks: 1368 des ede3's in 3.00s
>>> Doing aes-128 cbc for 3s on 16 size blocks: 1938588 aes-128 cbc's
>>> in 3.00s
>>> Doing aes-128 cbc for 3s on 64 size blocks: 639237 aes-128 cbc's in
>>> 3.00s
>>> Doing aes-128 cbc for 3s on 256 size blocks: 174908 aes-128 cbc's
>>> in 3.00s
>>> Doing aes-128 cbc for 3s on 1024 size blocks: 44788 aes-128 cbc's
>>> in 3.00s
>>> Doing aes-128 cbc for 3s on 8192 size blocks: 5634 aes-128 cbc's in
>>> 3.00s
>>> Doing aes-192 cbc for 3s on 16 size blocks: 1729724 aes-192 cbc's
>>> in 2.99s
>>> Doing aes-192 cbc for 3s on 64 size blocks: 551407 aes-192 cbc's in
>>> 3.00s
>>> Doing aes-192 cbc for 3s on 256 size blocks: 148931 aes-192 cbc's
>>> in 3.00s
>>> Doing aes-192 cbc for 3s on 1024 size blocks: 37997 aes-192 cbc's
>>> in 3.00s
>>> Doing aes-192 cbc for 3s on 8192 size blocks: 4776 aes-192 cbc's in
>>> 3.00s
>>> Doing aes-256 cbc for 3s on 16 size blocks: 1559511 aes-256 cbc's
>>> in 3.00s
>>> Doing aes-256 cbc for 3s on 64 size blocks: 475710 aes-256 cbc's in
>>> 3.00s
>>> Doing aes-256 cbc for 3s on 256 size blocks: 127127 aes-256 cbc's
>>> in 3.00s
>>> Doing aes-256 cbc for 3s on 1024 size blocks: 32337 aes-256 cbc's
>>> in 3.00s
>>> Doing aes-256 cbc for 3s on 8192 size blocks: 4062 aes-256 cbc's in
>>> 3.00s
>>> Doing idea cbc for 3s on 16 size blocks: 1457450 idea cbc's in 3.00s
>>> Doing idea cbc for 3s on 64 size blocks: 388023 idea cbc's in 3.00s
>>> Doing idea cbc for 3s on 256 size blocks: 98607 idea cbc's in 3.00s
>>> Doing idea cbc for 3s on 1024 size blocks: 24751 idea cbc's in 3.00s
>>> Doing idea cbc for 3s on 8192 size blocks: 3098 idea cbc's in 3.00s
>>> Doing rc2 cbc for 3s on 16 size blocks: 999725 rc2 cbc's in 3.00s
>>> Doing rc2 cbc for 3s on 64 size blocks: 260808 rc2 cbc's in 3.00s
>>> Doing rc2 cbc for 3s on 256 size blocks: 65924 rc2 cbc's in 3.00s
>>> Doing rc2 cbc for 3s on 1024 size blocks: 16527 rc2 cbc's in 3.00s
>>> Doing rc2 cbc for 3s on 8192 size blocks: 2068 rc2 cbc's in 3.00s
>>> Doing blowfish cbc for 3s on 16 size blocks: 3453174 blowfish cbc's
>>> in 3.00s
>>> Doing blowfish cbc for 3s on 64 size blocks: 919800 blowfish cbc's
>>> in 3.00s
>>> Doing blowfish cbc for 3s on 256 size blocks: 233331 blowfish cbc's
>>> in 3.00s
>>> Doing blowfish cbc for 3s on 1024 size blocks: 58648 blowfish cbc's
>>> in 3.00s
>>> Doing blowfish cbc for 3s on 8192 size blocks: 7342 blowfish cbc's
>>> in 3.00s
>>> Doing cast cbc for 3s on 16 size blocks: 1489211 cast cbc's in 3.00s
>>> Doing cast cbc for 3s on 64 size blocks: 390739 cast cbc's in 3.00s
>>> Doing cast cbc for 3s on 256 size blocks: 99321 cast cbc's in 3.00s
>>> Doing cast cbc for 3s on 1024 size blocks: 24935 cast cbc's in 3.00s
>>> Doing cast cbc for 3s on 8192 size blocks: 3117 cast cbc's in 3.00s
>>> Doing 512 bit private rsa's for 10s: 3144 512 bit private RSA's in
>>> 10.00s
>>> Doing 512 bit public rsa's for 10s: 40906 512 bit public RSA's in
>>> 10.00s
>>> Doing 1024 bit private rsa's for 10s: 693 1024 bit private RSA's in
>>> 10.00s
>>> Doing 1024 bit public rsa's for 10s: 14711 1024 bit public RSA's in
>>> 10.00s
>>> Doing 2048 bit private rsa's for 10s: 123 2048 bit private RSA's in
>>> 10.04s
>>> Doing 2048 bit public rsa's for 10s: 4521 2048 bit public RSA's in
>>> 10.00s
>>> Doing 4096 bit private rsa's for 10s: 19 4096 bit private RSA's in
>>> 9.99s
>>> Doing 4096 bit public rsa's for 10s: 1276 4096 bit public RSA's in
>>> 10.00s
>>> Doing 512 bit sign dsa's for 10s: 4276 512 bit DSA signs in 10.00s
>>> Doing 512 bit verify dsa's for 10s: 3565 512 bit DSA verify in
> 10.00s
>>> Doing 1024 bit sign dsa's for 10s: 1524 1024 bit DSA signs in 9.94s
>>> Doing 1024 bit verify dsa's for 10s: 1210 1024 bit DSA verify in
> 9.61s
>>> Doing 2048 bit sign dsa's for 10s: 466 2048 bit DSA signs in 10.00s
>>> Doing 2048 bit verify dsa's for 10s: 385 2048 bit DSA verify in
> 10.01s
>>> OpenSSL 0.9.8d 28 Sep 2006
>>> built on: Thu Oct  5 14:59:49 PDT 2006
>>> options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes
>>> (partial) idea(int) blowfish(idx)
>>> compiler: cc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread -
>>> D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3 -
>>> fomit-frame-pointer -Wall -O2 -fno-strict-aliasing -pipe -O -pipe -
>>> mtune=i686 -march=pentiumpro -Wl,-rpath,/usr/local/lib -
>>> DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
> -DAES_ASM
>>> available timing options: USE_TOD HZ=128 [sysconf value]
>>> timing function used: getrusage
>>> The 'numbers' are in 1000s of bytes per second processed.
>>> type             16 bytes     64 bytes    256 bytes   1024 bytes
>>> 8192 bytes
>>> md2                487.74k     1035.01k     1439.70k
>>> 1595.96k     1648.09k
>>> mdc2                 0.00         0.00         0.00
>>> 0.00         0.00
>>> md4               4084.48k    13874.63k    37969.97k
>>> 67352.86k    87350.70k
>>> md5               3949.20k    13765.67k    38809.49k
>>> 70958.11k    93711.88k
>>> hmac(md5)         5146.75k    16873.33k    44491.70k
>>> 75283.53k    94651.38k
>>> sha1              3291.04k     9982.17k    22723.55k
>>> 33376.76k    38713.82k
>>> rmd160            3027.84k     8519.94k    17725.07k
>>> 24281.34k    27244.85k
>>> rc4              35021.81k    39051.53k    40008.97k
>>> 40450.15k    40579.31k
>>> des cbc          10155.41k    10633.02k    10779.02k
>>> 10815.92k    10827.19k
>>> des ede3          3644.70k     3708.02k     3726.63k
>>> 3731.14k     3732.61k
>>> idea cbc          7772.10k     8274.88k     8411.48k
>>> 8445.84k     8456.41k
>>> rc2 cbc           5330.19k     5561.94k     5623.46k
>>> 5638.97k     5643.18k
>>> rc5-32/12 cbc        0.00         0.00         0.00
>>> 0.00         0.00
>>> blowfish cbc     18412.46k    19615.50k    19903.76k
>>> 20011.27k    20042.36k
>>> cast cbc          7939.92k     8332.80k     8472.38k
>>> 8507.91k     8509.17k
>>> aes-128 cbc      10336.74k    13632.21k    14921.12k
>>> 15282.22k    15378.05k
>>> aes-192 cbc       9243.95k    11759.17k    12704.51k
>>> 12965.83k    13035.18k
>>> aes-256 cbc       8315.79k    10144.85k    10844.33k
>>> 11034.36k    11085.73k
>>> camellia-128 cbc        0.00         0.00         0.00
>>> 0.00         0.00
>>> camellia-192 cbc        0.00         0.00         0.00
>>> 0.00         0.00
>>> camellia-256 cbc        0.00         0.00         0.00
>>> 0.00         0.00
>>> sha256            2111.53k     4857.49k     8477.58k
>>> 10431.66k    11184.11k
>>> sha512             487.68k     1950.02k     2877.14k
>>> 3976.70k     4476.19k
>>>                   sign    verify    sign/s verify/s
>>> rsa  512 bits 0.003179s 0.000244s    314.5   4090.4
>>> rsa 1024 bits 0.014434s 0.000680s     69.3   1470.9
>>> rsa 2048 bits 0.081587s 0.002212s     12.3    452.0
>>> rsa 4096 bits 0.525871s 0.007841s      1.9    127.5
>>>                   sign    verify    sign/s verify/s
>>> dsa  512 bits 0.002338s 0.002806s    427.8    356.4
>>> dsa 1024 bits 0.006522s 0.007944s    153.3    125.9
>>> dsa 2048 bits 0.021468s 0.026010s     46.6     38.4
>>>
>>> _______________________________________________
>>> freebsd-hardware@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
>>> To unsubscribe, send any mail to "freebsd-hardware-
>>> unsubscribe@freebsd.org"
>>
>> --
>> David King
>> Computer Programmer
>> Ketralnis Systems
>>
>>
>> _______________________________________________
>> freebsd-hardware@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
>> To unsubscribe, send any mail to "freebsd-hardware-
>> unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-hardware@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
> To unsubscribe, send any mail to "freebsd-hardware- 
> unsubscribe@freebsd.org"

--
David King
Computer Programmer
Ketralnis Systems





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36E6E927-AA04-43ED-928E-D06ABCE414CA>