Standardize apps use of -rand, etc.
[openssl.git] / doc / man1 / speed.pod
1 =pod
2
3 =head1 NAME
4
5 speed - test library performance
6
7 =head1 SYNOPSIS
8
9 B<openssl speed>
10 [B<-help>]
11 [B<-engine id>]
12 [B<-elapsed>]
13 [B<-evp algo>]
14 [B<-decrypt>]
15 [B<-rand file...>]
16 [B<-writerand file>]
17 [B<algorithm...>]
18
19 =head1 DESCRIPTION
20
21 This command is used to test the performance of cryptographic algorithms.
22 To see the list of supported algorithms, use the I<list --digest-commands>
23 or I<list --cipher-commands> command.
24
25 =head1 OPTIONS
26
27 =over 4
28
29 =item B<-help>
30
31 Print out a usage message.
32
33 =item B<-engine id>
34
35 Specifying an engine (by its unique B<id> string) will cause B<speed>
36 to attempt to obtain a functional reference to the specified engine,
37 thus initialising it if needed. The engine will then be set as the default
38 for all available algorithms.
39
40 =item B<-elapsed>
41
42 Measure time in real time instead of CPU time. It can be useful when testing
43 speed of hardware engines.
44
45 =item B<-evp algo>
46
47 Use the specified cipher or message digest algorithm via the EVP interface.
48
49 =item B<-decrypt>
50
51 Time the decryption instead of encryption. Affects only the EVP testing.
52
53 =item B<-rand file...>
54
55 A file or files containing random data used to seed the random number
56 generator.
57 Multiple files can be specified separated by an OS-dependent character.
58 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
59 all others.
60
61 =item [B<-writerand file>]
62
63 Writes random data to the specified I<file> upon exit.
64 This can be used with a subsequent B<-rand> flag.
65
66 =item B<[zero or more test algorithms]>
67
68 If any options are given, B<speed> tests those algorithms, otherwise all of
69 the above are tested.
70
71 =back
72
73 =head1 COPYRIGHT
74
75 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
76
77 Licensed under the OpenSSL license (the "License").  You may not use
78 this file except in compliance with the License.  You can obtain a copy
79 in the file LICENSE in the source distribution or at
80 L<https://www.openssl.org/source/license.html>.
81
82 =cut