summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2019-08-22 14:28:23 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2019-09-02 20:46:34 +0200
commit363e941ed43c648adf4d6d0874077ddd80041e1f (patch)
tree0c2eb8ae502830118e895b4e79a77a337b9b972f /doc
parent586dd674f57e0df08b76388f2680dc1b2c8c81f5 (diff)
Add CPU info to the speed command summary
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9669)
Diffstat (limited to 'doc')
-rw-r--r--doc/man1/openssl-info.pod5
-rw-r--r--doc/man1/openssl-version.pod15
-rw-r--r--doc/man3/OpenSSL_version.pod24
3 files changed, 43 insertions, 1 deletions
diff --git a/doc/man1/openssl-info.pod b/doc/man1/openssl-info.pod
index 2b9383fc9d..637b60b267 100644
--- a/doc/man1/openssl-info.pod
+++ b/doc/man1/openssl-info.pod
@@ -15,6 +15,7 @@ B<openssl info>
[B<-dirfilesep>]
[B<-listsep]>
[B<-seeds]>
+[B<-cpusettings]>
=head1 DESCRIPTION
@@ -67,6 +68,10 @@ style lists.
Outputs the randomness seed sources.
+=item B<-cpusettings>
+
+Outputs the OpenSSL CPU settings info.
+
=back
=head1 HISTORY
diff --git a/doc/man1/openssl-version.pod b/doc/man1/openssl-version.pod
index b2a235e0b7..278769423e 100644
--- a/doc/man1/openssl-version.pod
+++ b/doc/man1/openssl-version.pod
@@ -16,6 +16,9 @@ B<openssl version>
[B<-p>]
[B<-d>]
[B<-e>]
+[B<-m>]
+[B<-r>]
+[B<-c>]
=head1 DESCRIPTION
@@ -61,6 +64,18 @@ OPENSSLDIR setting.
ENGINESDIR settings.
+=item B<-m>
+
+MODULESDIR settings.
+
+=item B<-r>
+
+The random number generator source settings.
+
+=item B<-c>
+
+The OpenSSL CPU settings info.
+
=back
=head1 NOTES
diff --git a/doc/man3/OpenSSL_version.pod b/doc/man3/OpenSSL_version.pod
index 9b8ecd2d2c..66abd3e4b7 100644
--- a/doc/man3/OpenSSL_version.pod
+++ b/doc/man3/OpenSSL_version.pod
@@ -125,6 +125,20 @@ if available or "OPENSSLDIR: N/A" otherwise.
The "ENGINESDIR" setting of the library build in the form "ENGINESDIR: "...""
if available or "ENGINESDIR: N/A" otherwise.
+=item OPENSSL_MODULES_DIR
+
+The "MODULESDIR" setting of the library build in the form "MODULESDIR: "...""
+if available or "MODULESDIR: N/A" otherwise.
+
+=item OPENSSL_CPU_INFO
+
+The current OpenSSL cpu settings.
+This is the current setting of the cpu capability flags. It is usually
+automatically configured but may be set via an environment variable.
+The value has the same syntax as the environment variable.
+For x86 the string looks like "CPUINFO: OPENSSL_ia32cap=0x123:0x456".
+Or "CPUINFO: N/A" if not available, e.g. no-asm build.
+
=back
For an unknown B<t>, the text "not available" is returned.
@@ -166,6 +180,14 @@ value of the environment variable C<$PATH> on Unix (where the
separator is ":") or C<%PATH%> on Windows (where the separator is
";").
+=item OPENSSL_INFO_CPU_SETTINGS
+
+The current OpenSSL cpu settings.
+This is the current setting of the cpu capability flags. It is usually
+automatically configured but may be set via an environment variable.
+The value has the same syntax as the environment variable.
+For x86 the string looks like "OPENSSL_ia32cap=0x123:0x456".
+
=back
For an unknown B<t>, NULL is returned.
@@ -224,7 +246,7 @@ with the exception of the L</BACKWARD COMPATIBILITY> ones.
=head1 COPYRIGHT
-Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2018-2019 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy