VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1j/doc/man1/speed.pod@ 88461

Last change on this file since 88461 was 87984, checked in by vboxsync, 4 years ago

openssl-1.1.1j: Applied and adjusted our OpenSSL changes to 1.1.1j. bugref:9963

File size: 2.6 KB
Line 
1=pod
2
3=head1 NAME
4
5openssl-speed,
6speed - test library performance
7
8=head1 SYNOPSIS
9
10B<openssl speed>
11[B<-help>]
12[B<-engine id>]
13[B<-elapsed>]
14[B<-evp algo>]
15[B<-decrypt>]
16[B<-rand file...>]
17[B<-writerand file>]
18[B<-primes num>]
19[B<-seconds num>]
20[B<-bytes num>]
21[B<algorithm...>]
22
23=head1 DESCRIPTION
24
25This command is used to test the performance of cryptographic algorithms.
26To see the list of supported algorithms, use the I<list --digest-commands>
27or I<list --cipher-commands> command. The global CSPRNG is denoted by
28the I<rand> algorithm name.
29
30=head1 OPTIONS
31
32=over 4
33
34=item B<-help>
35
36Print out a usage message.
37
38=item B<-engine id>
39
40Specifying an engine (by its unique B<id> string) will cause B<speed>
41to attempt to obtain a functional reference to the specified engine,
42thus initialising it if needed. The engine will then be set as the default
43for all available algorithms.
44
45=item B<-elapsed>
46
47When calculating operations- or bytes-per-second, use wall-clock time
48instead of CPU user time as divisor. It can be useful when testing speed
49of hardware engines.
50
51=item B<-evp algo>
52
53Use the specified cipher or message digest algorithm via the EVP interface.
54If B<algo> is an AEAD cipher, then you can pass <-aead> to benchmark a
55TLS-like sequence. And if B<algo> is a multi-buffer capable cipher, e.g.
56aes-128-cbc-hmac-sha1, then B<-mb> will time multi-buffer operation.
57
58=item B<-decrypt>
59
60Time the decryption instead of encryption. Affects only the EVP testing.
61
62=item B<-rand file...>
63
64A file or files containing random data used to seed the random number
65generator.
66Multiple files can be specified separated by an OS-dependent character.
67The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
68all others.
69
70=item [B<-writerand file>]
71
72Writes random data to the specified I<file> upon exit.
73This can be used with a subsequent B<-rand> flag.
74
75=item B<-primes num>
76
77Generate a B<num>-prime RSA key and use it to run the benchmarks. This option
78is only effective if RSA algorithm is specified to test.
79
80=item B<-seconds num>
81
82Run benchmarks for B<num> seconds.
83
84=item B<-bytes num>
85
86Run benchmarks on B<num>-byte buffers. Affects ciphers, digests and the CSPRNG.
87
88=item B<[zero or more test algorithms]>
89
90If any options are given, B<speed> tests those algorithms, otherwise a
91pre-compiled grand selection is tested.
92
93=back
94
95=head1 COPYRIGHT
96
97Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
98
99Licensed under the OpenSSL license (the "License"). You may not use
100this file except in compliance with the License. You can obtain a copy
101in the file LICENSE in the source distribution or at
102L<https://www.openssl.org/source/license.html>.
103
104=cut
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette