[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Firewalling with an embedded PC?



On Mon, Sep 02, 2002 at 12:09:15PM -0600, Chris Kuethe wrote:
> "openssl speed" on the soekris
> ...
> des ede3           341.82k      348.79k      351.17k      350.77k      348.62k

openssl speed does not use the crypto hardware on OpenBSD-current,
you have to tell OpenSSL to use the EVP interface to the crypto
algorithms:

$ openssl speed -elapsed -evp des3
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
des-ede3-cbc       335.28k      347.48k      351.60k      350.98k      348.71k

with /dev/crypto:

des-ede3-cbc        30.51k      121.53k      135.17k     1446.77k     3852.24k

without -elapsed openssl measures the user cpu time and prints:
des-ede3-cbc       792.58k     4093.00k    22773.76k    70877.18k   493889.83k

-markus