Blame doc/man1/speed.pod

Packit c4476c
=pod
Packit c4476c
Packit c4476c
=head1 NAME
Packit c4476c
Packit c4476c
openssl-speed,
Packit c4476c
speed - test library performance
Packit c4476c
Packit c4476c
=head1 SYNOPSIS
Packit c4476c
Packit c4476c
B<openssl speed>
Packit c4476c
[B<-help>]
Packit c4476c
[B<-engine id>]
Packit c4476c
[B<-elapsed>]
Packit c4476c
[B<-evp algo>]
Packit c4476c
[B<-decrypt>]
Packit c4476c
[B<-rand file...>]
Packit c4476c
[B<-writerand file>]
Packit c4476c
[B<-primes num>]
Packit c4476c
[B<-seconds num>]
Packit c4476c
[B<-bytes num>]
Packit c4476c
[B<algorithm...>]
Packit c4476c
Packit c4476c
=head1 DESCRIPTION
Packit c4476c
Packit c4476c
This command is used to test the performance of cryptographic algorithms.
Packit c4476c
To see the list of supported algorithms, use the I<list --digest-commands>
Packit c4476c
or I<list --cipher-commands> command. The global CSPRNG is denoted by
Packit c4476c
the I<rand> algorithm name.
Packit c4476c
Packit c4476c
=head1 OPTIONS
Packit c4476c
Packit c4476c
=over 4
Packit c4476c
Packit c4476c
=item B<-help>
Packit c4476c
Packit c4476c
Print out a usage message.
Packit c4476c
Packit c4476c
=item B<-engine id>
Packit c4476c
Packit c4476c
Specifying an engine (by its unique B<id> string) will cause B<speed>
Packit c4476c
to attempt to obtain a functional reference to the specified engine,
Packit c4476c
thus initialising it if needed. The engine will then be set as the default
Packit c4476c
for all available algorithms.
Packit c4476c
Packit c4476c
=item B<-elapsed>
Packit c4476c
Packit c4476c
When calculating operations- or bytes-per-second, use wall-clock time
Packit c4476c
instead of CPU user time as divisor. It can be useful when testing speed
Packit c4476c
of hardware engines.
Packit c4476c
Packit c4476c
=item B<-evp algo>
Packit c4476c
Packit c4476c
Use the specified cipher or message digest algorithm via the EVP interface.
Packit c4476c
If B<algo> is an AEAD cipher, then you can pass <-aead> to benchmark a
Packit c4476c
TLS-like sequence. And if B<algo> is a multi-buffer capable cipher, e.g.
Packit c4476c
aes-128-cbc-hmac-sha1, then B<-mb> will time multi-buffer operation.
Packit c4476c
Packit c4476c
=item B<-decrypt>
Packit c4476c
Packit c4476c
Time the decryption instead of encryption. Affects only the EVP testing.
Packit c4476c
Packit c4476c
=item B<-rand file...>
Packit c4476c
Packit c4476c
A file or files containing random data used to seed the random number
Packit c4476c
generator.
Packit c4476c
Multiple files can be specified separated by an OS-dependent character.
Packit c4476c
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
Packit c4476c
all others.
Packit c4476c
Packit c4476c
=item [B<-writerand file>]
Packit c4476c
Packit c4476c
Writes random data to the specified I<file> upon exit.
Packit c4476c
This can be used with a subsequent B<-rand> flag.
Packit c4476c
Packit c4476c
=item B<-primes num>
Packit c4476c
Packit c4476c
Generate a B<num>-prime RSA key and use it to run the benchmarks. This option
Packit c4476c
is only effective if RSA algorithm is specified to test.
Packit c4476c
Packit c4476c
=item B<-seconds num>
Packit c4476c
Packit c4476c
Run benchmarks for B<num> seconds.
Packit c4476c
Packit c4476c
=item B<-bytes num>
Packit c4476c
Packit c4476c
Run benchmarks on B<num>-byte buffers. Affects ciphers, digests and the CSPRNG.
Packit c4476c
Packit c4476c
=item B<[zero or more test algorithms]>
Packit c4476c
Packit c4476c
If any options are given, B<speed> tests those algorithms, otherwise a
Packit c4476c
pre-compiled grand selection is tested.
Packit c4476c
Packit c4476c
=back
Packit c4476c
Packit c4476c
=head1 COPYRIGHT
Packit c4476c
Packit c4476c
Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
Packit c4476c
Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
this file except in compliance with the License.  You can obtain a copy
Packit c4476c
in the file LICENSE in the source distribution or at
Packit c4476c
L<https://www.openssl.org/source/license.html>.
Packit c4476c
Packit c4476c
=cut