VMS: tell the C compiler to use the ISO C94 standard
[openssl.git] / doc / apps / 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<algorithm...>]
16
17 =head1 DESCRIPTION
18
19 This command is used to test the performance of cryptographic algorithms.
20 To see the list of supported algorithms, use the I<list --digest-commands>
21 or I<list --cipher-commands> command.
22
23 =head1 OPTIONS
24
25 =over 4
26
27 =item B<-help>
28
29 Print out a usage message.
30
31 =item B<-engine id>
32
33 specifying an engine (by its unique B<id> string) will cause B<speed>
34 to attempt to obtain a functional reference to the specified engine,
35 thus initialising it if needed. The engine will then be set as the default
36 for all available algorithms.
37
38 =item B<-elapsed>
39
40 Measure time in real time instead of CPU time. It can be useful when testing
41 speed of hardware engines.
42
43 =item B<-evp algo>
44
45 Use the specified cipher or message digest algorithm via the EVP interface.
46
47 =item B<-decrypt>
48
49 Time the decryption instead of encryption. Affects only the EVP testing.
50
51 =item B<[zero or more test algorithms]>
52
53 If any options are given, B<speed> tests those algorithms, otherwise all of
54 the above are tested.
55
56 =back
57
58 =head1 COPYRIGHT
59
60 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
61
62 Licensed under the OpenSSL license (the "License").  You may not use
63 this file except in compliance with the License.  You can obtain a copy
64 in the file LICENSE in the source distribution or at
65 L<https://www.openssl.org/source/license.html>.
66
67 =cut