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>]
|
2016-07-28 21:00:05 +00:00
|
|
|
[B<algorithm...>]
|
2000-02-03 23:23:57 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
This command is used to test the performance of cryptographic algorithms.
|
2016-07-28 21:00:05 +00:00
|
|
|
To see the list of supported algorithms, use the I<list --digest-commands>
|
|
|
|
or I<list --cipher-commands> command.
|
2000-02-03 23:23:57 +00:00
|
|
|
|
|
|
|
=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
|
|
|
|
|
2016-05-18 15:44:05 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|