mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-20 05:19:40 +00:00
RT1556: doc/crypto/threads.pod RT2024: Missing pages mentioned in crypto.pod RT2890: Wrong size in ERR_string_error description. RT3461: Better description of PEM Encryption (Jeffrey Walton <noloader@gmail.com>) Also, fix up formatting and removed some code examples that encourage unsafe patterns, like unencrypted private keys (Rich Salz) RT4240: Document some speed flags (Tomas Mraz <tmraz@redhat.com>) RT4260: Fix return value doc for X509_REQ_sign and X509_sign (Laetitia Baudoin <lbaudoin@google.com>) Reviewed-by: Emilia Käsper <emilia@openssl.org>
76 lines
1.3 KiB
Plaintext
76 lines
1.3 KiB
Plaintext
=pod
|
|
|
|
=head1 NAME
|
|
|
|
speed - test library performance
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
B<openssl speed>
|
|
[B<-engine id>]
|
|
[B<-elapsed>]
|
|
[B<-evp algo>]
|
|
[B<-decrypt>]
|
|
[B<md2>]
|
|
[B<mdc2>]
|
|
[B<md5>]
|
|
[B<hmac>]
|
|
[B<sha1>]
|
|
[B<rmd160>]
|
|
[B<idea-cbc>]
|
|
[B<rc2-cbc>]
|
|
[B<rc5-cbc>]
|
|
[B<bf-cbc>]
|
|
[B<des-cbc>]
|
|
[B<des-ede3>]
|
|
[B<rc4>]
|
|
[B<rsa512>]
|
|
[B<rsa1024>]
|
|
[B<rsa2048>]
|
|
[B<rsa4096>]
|
|
[B<dsa512>]
|
|
[B<dsa1024>]
|
|
[B<dsa2048>]
|
|
[B<idea>]
|
|
[B<rc2>]
|
|
[B<des>]
|
|
[B<rsa>]
|
|
[B<blowfish>]
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
This command is used to test the performance of cryptographic algorithms.
|
|
|
|
=head1 OPTIONS
|
|
|
|
=over 4
|
|
|
|
=item B<-engine id>
|
|
|
|
specifying an engine (by its unique B<id> string) will cause B<speed>
|
|
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.
|
|
|
|
=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.
|
|
|
|
=item B<[zero or more test algorithms]>
|
|
|
|
If any options are given, B<speed> tests those algorithms, otherwise all of
|
|
the above are tested.
|
|
|
|
=back
|
|
|
|
=cut
|