2000-02-03 23:23:57 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
speed - test library performance
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
B<openssl speed>
|
2016-02-05 16:17:00 +00:00
|
|
|
[B<-help>]
|
2000-10-26 21:07:28 +00:00
|
|
|
[B<-engine id>]
|
2016-02-01 20:15:06 +00:00
|
|
|
[B<-elapsed>]
|
|
|
|
[B<-evp algo>]
|
|
|
|
[B<-decrypt>]
|
2000-02-03 23:23:57 +00:00
|
|
|
[B<md2>]
|
|
|
|
[B<mdc2>]
|
|
|
|
[B<md5>]
|
|
|
|
[B<hmac>]
|
|
|
|
[B<sha1>]
|
|
|
|
[B<rmd160>]
|
|
|
|
[B<idea-cbc>]
|
|
|
|
[B<rc2-cbc>]
|
|
|
|
[B<rc5-cbc>]
|
|
|
|
[B<bf-cbc>]
|
|
|
|
[B<des-cbc>]
|
|
|
|
[B<des-ede3>]
|
|
|
|
[B<rc4>]
|
|
|
|
[B<rsa512>]
|
|
|
|
[B<rsa1024>]
|
|
|
|
[B<rsa2048>]
|
|
|
|
[B<rsa4096>]
|
|
|
|
[B<dsa512>]
|
|
|
|
[B<dsa1024>]
|
|
|
|
[B<dsa2048>]
|
|
|
|
[B<idea>]
|
|
|
|
[B<rc2>]
|
|
|
|
[B<des>]
|
|
|
|
[B<rsa>]
|
|
|
|
[B<blowfish>]
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
This command is used to test the performance of cryptographic algorithms.
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
2000-10-26 21:07:28 +00:00
|
|
|
=over 4
|
|
|
|
|
2016-02-05 16:17:00 +00:00
|
|
|
=item B<-help>
|
|
|
|
|
|
|
|
Print out a usage message.
|
|
|
|
|
2000-10-26 21:07:28 +00:00
|
|
|
=item B<-engine id>
|
|
|
|
|
2009-04-15 15:27:03 +00:00
|
|
|
specifying an engine (by its unique B<id> string) will cause B<speed>
|
2000-10-26 21:07:28 +00:00
|
|
|
to attempt to obtain a functional reference to the specified engine,
|
|
|
|
thus initialising it if needed. The engine will then be set as the default
|
|
|
|
for all available algorithms.
|
|
|
|
|
2016-02-01 20:15:06 +00:00
|
|
|
=item B<-elapsed>
|
|
|
|
|
|
|
|
Measure time in real time instead of CPU time. It can be useful when testing
|
|
|
|
speed of hardware engines.
|
|
|
|
|
|
|
|
=item B<-evp algo>
|
|
|
|
|
|
|
|
Use the specified cipher or message digest algorithm via the EVP interface.
|
|
|
|
|
|
|
|
=item B<-decrypt>
|
|
|
|
|
|
|
|
Time the decryption instead of encryption. Affects only the EVP testing.
|
|
|
|
|
2000-10-26 21:07:28 +00:00
|
|
|
=item B<[zero or more test algorithms]>
|
|
|
|
|
2000-05-29 15:52:21 +00:00
|
|
|
If any options are given, B<speed> tests those algorithms, otherwise all of
|
2000-02-03 23:23:57 +00:00
|
|
|
the above are tested.
|
|
|
|
|
2002-11-14 10:51:54 +00:00
|
|
|
=back
|
|
|
|
|
2000-02-03 23:23:57 +00:00
|
|
|
=cut
|