diff options
| author | tb <> | 2024-03-02 11:04:52 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 11:04:52 +0000 |
| commit | 792421b3f220abcbd1405485edc9bf6b39485769 (patch) | |
| tree | 14fe1625d8e95a578ceba0d94f1fefdd60ec9146 /src/lib/libcrypto/man | |
| parent | af88f8de5f2275485734ca59b90ee42b81b76688 (diff) | |
| download | openbsd-792421b3f220abcbd1405485edc9bf6b39485769.tar.gz openbsd-792421b3f220abcbd1405485edc9bf6b39485769.tar.bz2 openbsd-792421b3f220abcbd1405485edc9bf6b39485769.zip | |
Remove lh stats
This could have been removed in an earlier bump. Now it's time for it to
say goodbye.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/man')
| -rw-r--r-- | src/lib/libcrypto/man/Makefile | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/lh_new.3 | 5 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/lh_stats.3 | 206 |
3 files changed, 3 insertions, 211 deletions
diff --git a/src/lib/libcrypto/man/Makefile b/src/lib/libcrypto/man/Makefile index 1123f1729c..8cb8371076 100644 --- a/src/lib/libcrypto/man/Makefile +++ b/src/lib/libcrypto/man/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.281 2024/01/22 13:44:59 job Exp $ | 1 | # $OpenBSD: Makefile,v 1.282 2024/03/02 11:04:51 tb Exp $ |
| 2 | 2 | ||
| 3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
| 4 | 4 | ||
| @@ -432,7 +432,6 @@ MAN= \ | |||
| 432 | i2d_CMS_bio_stream.3 \ | 432 | i2d_CMS_bio_stream.3 \ |
| 433 | i2d_PKCS7_bio_stream.3 \ | 433 | i2d_PKCS7_bio_stream.3 \ |
| 434 | lh_new.3 \ | 434 | lh_new.3 \ |
| 435 | lh_stats.3 \ | ||
| 436 | openssl.cnf.5 \ | 435 | openssl.cnf.5 \ |
| 437 | s2i_ASN1_INTEGER.3 \ | 436 | s2i_ASN1_INTEGER.3 \ |
| 438 | x509v3.cnf.5 | 437 | x509v3.cnf.5 |
diff --git a/src/lib/libcrypto/man/lh_new.3 b/src/lib/libcrypto/man/lh_new.3 index d672b4d2d8..eea5c288a2 100644 --- a/src/lib/libcrypto/man/lh_new.3 +++ b/src/lib/libcrypto/man/lh_new.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: lh_new.3,v 1.10 2024/01/24 14:02:52 jsing Exp $ | 1 | .\" $OpenBSD: lh_new.3,v 1.11 2024/03/02 11:04:51 tb Exp $ |
| 2 | .\" full merge up to: | 2 | .\" full merge up to: |
| 3 | .\" OpenSSL doc/crypto/lhash.pod 1bc74519 May 20 08:11:46 2016 -0400 | 3 | .\" OpenSSL doc/crypto/lhash.pod 1bc74519 May 20 08:11:46 2016 -0400 |
| 4 | .\" selective merge up to: | 4 | .\" selective merge up to: |
| @@ -118,7 +118,7 @@ | |||
| 118 | .\" copied and put under another distribution licence | 118 | .\" copied and put under another distribution licence |
| 119 | .\" [including the GNU Public Licence.] | 119 | .\" [including the GNU Public Licence.] |
| 120 | .\" | 120 | .\" |
| 121 | .Dd $Mdocdate: January 24 2024 $ | 121 | .Dd $Mdocdate: March 2 2024 $ |
| 122 | .Dt LH_NEW 3 | 122 | .Dt LH_NEW 3 |
| 123 | .Os | 123 | .Os |
| 124 | .Sh NAME | 124 | .Sh NAME |
| @@ -520,7 +520,6 @@ rather it would be used in the function passed to | |||
| 520 | .Fn lh_<type>_new . | 520 | .Fn lh_<type>_new . |
| 521 | .Sh SEE ALSO | 521 | .Sh SEE ALSO |
| 522 | .Xr crypto 3 , | 522 | .Xr crypto 3 , |
| 523 | .Xr lh_stats 3 | ||
| 524 | .Sh HISTORY | 523 | .Sh HISTORY |
| 525 | .Fn lh_new , | 524 | .Fn lh_new , |
| 526 | .Fn lh_free , | 525 | .Fn lh_free , |
diff --git a/src/lib/libcrypto/man/lh_stats.3 b/src/lib/libcrypto/man/lh_stats.3 deleted file mode 100644 index 5041721fe1..0000000000 --- a/src/lib/libcrypto/man/lh_stats.3 +++ /dev/null | |||
| @@ -1,206 +0,0 @@ | |||
| 1 | .\" $OpenBSD: lh_stats.3,v 1.7 2020/03/29 17:05:02 schwarze Exp $ | ||
| 2 | .\" OpenSSL e2f92610 May 18 11:44:05 2016 -0400 | ||
| 3 | .\" | ||
| 4 | .\" -------------------------------------------------------------------------- | ||
| 5 | .\" Major patches to this file were contributed by | ||
| 6 | .\" Ulf Moeller <ulf@openssl.org>. | ||
| 7 | .\" -------------------------------------------------------------------------- | ||
| 8 | .\" Copyright (c) 2000 The OpenSSL Project. All rights reserved. | ||
| 9 | .\" | ||
| 10 | .\" Redistribution and use in source and binary forms, with or without | ||
| 11 | .\" modification, are permitted provided that the following conditions | ||
| 12 | .\" are met: | ||
| 13 | .\" | ||
| 14 | .\" 1. Redistributions of source code must retain the above copyright | ||
| 15 | .\" notice, this list of conditions and the following disclaimer. | ||
| 16 | .\" | ||
| 17 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 18 | .\" notice, this list of conditions and the following disclaimer in | ||
| 19 | .\" the documentation and/or other materials provided with the | ||
| 20 | .\" distribution. | ||
| 21 | .\" | ||
| 22 | .\" 3. All advertising materials mentioning features or use of this | ||
| 23 | .\" software must display the following acknowledgment: | ||
| 24 | .\" "This product includes software developed by the OpenSSL Project | ||
| 25 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 26 | .\" | ||
| 27 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 28 | .\" endorse or promote products derived from this software without | ||
| 29 | .\" prior written permission. For written permission, please contact | ||
| 30 | .\" openssl-core@openssl.org. | ||
| 31 | .\" | ||
| 32 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 33 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 34 | .\" permission of the OpenSSL Project. | ||
| 35 | .\" | ||
| 36 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 37 | .\" acknowledgment: | ||
| 38 | .\" "This product includes software developed by the OpenSSL Project | ||
| 39 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 40 | .\" | ||
| 41 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 42 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 43 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 44 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 45 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 46 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 47 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 48 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 49 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 50 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 51 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 52 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 53 | .\" | ||
| 54 | .\" -------------------------------------------------------------------------- | ||
| 55 | .\" Parts of this file are derived from SSLeay documentation, | ||
| 56 | .\" which is covered by the following Copyright and license: | ||
| 57 | .\" -------------------------------------------------------------------------- | ||
| 58 | .\" | ||
| 59 | .\" Copyright (C) 1995-1998 Tim Hudson (tjh@cryptsoft.com) | ||
| 60 | .\" All rights reserved. | ||
| 61 | .\" | ||
| 62 | .\" This package is an SSL implementation written | ||
| 63 | .\" by Eric Young (eay@cryptsoft.com). | ||
| 64 | .\" The implementation was written so as to conform with Netscapes SSL. | ||
| 65 | .\" | ||
| 66 | .\" This library is free for commercial and non-commercial use as long as | ||
| 67 | .\" the following conditions are aheared to. The following conditions | ||
| 68 | .\" apply to all code found in this distribution, be it the RC4, RSA, | ||
| 69 | .\" lhash, DES, etc., code; not just the SSL code. The SSL documentation | ||
| 70 | .\" included with this distribution is covered by the same copyright terms | ||
| 71 | .\" except that the holder is Tim Hudson (tjh@cryptsoft.com). | ||
| 72 | .\" | ||
| 73 | .\" Copyright remains Eric Young's, and as such any Copyright notices in | ||
| 74 | .\" the code are not to be removed. | ||
| 75 | .\" If this package is used in a product, Eric Young should be given | ||
| 76 | .\" attribution as the author of the parts of the library used. | ||
| 77 | .\" This can be in the form of a textual message at program startup or | ||
| 78 | .\" in documentation (online or textual) provided with the package. | ||
| 79 | .\" | ||
| 80 | .\" Redistribution and use in source and binary forms, with or without | ||
| 81 | .\" modification, are permitted provided that the following conditions | ||
| 82 | .\" are met: | ||
| 83 | .\" 1. Redistributions of source code must retain the copyright | ||
| 84 | .\" notice, this list of conditions and the following disclaimer. | ||
| 85 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 86 | .\" notice, this list of conditions and the following disclaimer in the | ||
| 87 | .\" documentation and/or other materials provided with the distribution. | ||
| 88 | .\" 3. All advertising materials mentioning features or use of this software | ||
| 89 | .\" must display the following acknowledgement: | ||
| 90 | .\" "This product includes cryptographic software written by | ||
| 91 | .\" Eric Young (eay@cryptsoft.com)" | ||
| 92 | .\" The word 'cryptographic' can be left out if the rouines from the | ||
| 93 | .\" library being used are not cryptographic related :-). | ||
| 94 | .\" 4. If you include any Windows specific code (or a derivative thereof) | ||
| 95 | .\" from the apps directory (application code) you must include an | ||
| 96 | .\" acknowledgement: "This product includes software written by | ||
| 97 | .\" Tim Hudson (tjh@cryptsoft.com)" | ||
| 98 | .\" | ||
| 99 | .\" THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | ||
| 100 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 101 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 102 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||
| 103 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 104 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 105 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 106 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 107 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 108 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 109 | .\" SUCH DAMAGE. | ||
| 110 | .\" | ||
| 111 | .\" The licence and distribution terms for any publically available version or | ||
| 112 | .\" derivative of this code cannot be changed. i.e. this code cannot simply be | ||
| 113 | .\" copied and put under another distribution licence | ||
| 114 | .\" [including the GNU Public Licence.] | ||
| 115 | .\" | ||
| 116 | .Dd $Mdocdate: March 29 2020 $ | ||
| 117 | .Dt LH_STATS 3 | ||
| 118 | .Os | ||
| 119 | .Sh NAME | ||
| 120 | .Nm lh_stats , | ||
| 121 | .Nm lh_node_stats , | ||
| 122 | .Nm lh_node_usage_stats , | ||
| 123 | .Nm lh_stats_bio , | ||
| 124 | .Nm lh_node_stats_bio , | ||
| 125 | .Nm lh_node_usage_stats_bio | ||
| 126 | .Nd LHASH statistics | ||
| 127 | .Sh SYNOPSIS | ||
| 128 | .In openssl/lhash.h | ||
| 129 | .Ft void | ||
| 130 | .Fo lh_stats | ||
| 131 | .Fa "LHASH *table" | ||
| 132 | .Fa "FILE *out" | ||
| 133 | .Fc | ||
| 134 | .Ft void | ||
| 135 | .Fo lh_node_stats | ||
| 136 | .Fa "LHASH *table" | ||
| 137 | .Fa "FILE *out" | ||
| 138 | .Fc | ||
| 139 | .Ft void | ||
| 140 | .Fo lh_node_usage_stats | ||
| 141 | .Fa "LHASH *table" | ||
| 142 | .Fa "FILE *out" | ||
| 143 | .Fc | ||
| 144 | .Ft void | ||
| 145 | .Fo lh_stats_bio | ||
| 146 | .Fa "LHASH *table" | ||
| 147 | .Fa "BIO *out" | ||
| 148 | .Fc | ||
| 149 | .Ft void | ||
| 150 | .Fo lh_node_stats_bio | ||
| 151 | .Fa "LHASH *table" | ||
| 152 | .Fa "BIO *out" | ||
| 153 | .Fc | ||
| 154 | .Ft void | ||
| 155 | .Fo lh_node_usage_stats_bio | ||
| 156 | .Fa "LHASH *table" | ||
| 157 | .Fa "BIO *out" | ||
| 158 | .Fc | ||
| 159 | .Sh DESCRIPTION | ||
| 160 | The | ||
| 161 | .Vt LHASH | ||
| 162 | structure records statistics about most aspects of accessing the hash | ||
| 163 | table. | ||
| 164 | .Pp | ||
| 165 | .Fn lh_stats | ||
| 166 | prints out statistics on the size of the hash table, how many entries | ||
| 167 | are in it, and the number and result of calls to the routines in this | ||
| 168 | library. | ||
| 169 | .Pp | ||
| 170 | .Fn lh_node_stats | ||
| 171 | prints the number of entries for each 'bucket' in the hash table. | ||
| 172 | .Pp | ||
| 173 | .Fn lh_node_usage_stats | ||
| 174 | prints out a short summary of the state of the hash table. | ||
| 175 | It prints the 'load' and the 'actual load'. | ||
| 176 | The load is the average number of data items per 'bucket' in the hash | ||
| 177 | table. | ||
| 178 | The 'actual load' is the average number of items per 'bucket', but only | ||
| 179 | for buckets which contain entries. | ||
| 180 | So the 'actual load' is the average number of searches that will need to | ||
| 181 | find an item in the hash table, while the 'load' is the average number | ||
| 182 | that will be done to record a miss. | ||
| 183 | .Pp | ||
| 184 | .Fn lh_stats_bio , | ||
| 185 | .Fn lh_node_stats_bio , | ||
| 186 | and | ||
| 187 | .Fn lh_node_usage_stats_bio | ||
| 188 | are the same as the above, except that the output goes to a | ||
| 189 | .Vt BIO . | ||
| 190 | .Sh SEE ALSO | ||
| 191 | .Xr BIO_new 3 , | ||
| 192 | .Xr lh_new 3 | ||
| 193 | .Sh HISTORY | ||
| 194 | .Fn lh_stats , | ||
| 195 | .Fn lh_node_stats , | ||
| 196 | .Fn lh_node_usage_stats | ||
| 197 | appeared in SSLeay 0.4. | ||
| 198 | .Fn lh_stats_bio , | ||
| 199 | .Fn lh_node_stats_bio , | ||
| 200 | and | ||
| 201 | .Fn lh_node_usage_stats_bio | ||
| 202 | first appeared in SSLeay 0.6.0. | ||
| 203 | These functions have been available since | ||
| 204 | .Ox 2.4 . | ||
| 205 | .Sh AUTHORS | ||
| 206 | .An Eric Young | ||
