diff options
Diffstat (limited to 'src/lib/libssl/man')
| -rw-r--r-- | src/lib/libssl/man/SSL_CIPHER_get_name.3 | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/src/lib/libssl/man/SSL_CIPHER_get_name.3 b/src/lib/libssl/man/SSL_CIPHER_get_name.3 index 697b1bd394..d67337295b 100644 --- a/src/lib/libssl/man/SSL_CIPHER_get_name.3 +++ b/src/lib/libssl/man/SSL_CIPHER_get_name.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: SSL_CIPHER_get_name.3,v 1.11 2020/04/14 15:27:35 schwarze Exp $ | 1 | .\" $OpenBSD: SSL_CIPHER_get_name.3,v 1.12 2021/05/12 15:12:35 tb Exp $ |
| 2 | .\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
| 3 | .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 | 3 | .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 |
| 4 | .\" | 4 | .\" |
| @@ -52,7 +52,7 @@ | |||
| 52 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 52 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 53 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 53 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
| 54 | .\" | 54 | .\" |
| 55 | .Dd $Mdocdate: April 14 2020 $ | 55 | .Dd $Mdocdate: May 12 2021 $ |
| 56 | .Dt SSL_CIPHER_GET_NAME 3 | 56 | .Dt SSL_CIPHER_GET_NAME 3 |
| 57 | .Os | 57 | .Os |
| 58 | .Sh NAME | 58 | .Sh NAME |
| @@ -64,6 +64,7 @@ | |||
| 64 | .Nm SSL_CIPHER_get_kx_nid , | 64 | .Nm SSL_CIPHER_get_kx_nid , |
| 65 | .Nm SSL_CIPHER_get_auth_nid , | 65 | .Nm SSL_CIPHER_get_auth_nid , |
| 66 | .Nm SSL_CIPHER_is_aead , | 66 | .Nm SSL_CIPHER_is_aead , |
| 67 | .Nm SSL_CIPHER_find , | ||
| 67 | .Nm SSL_CIPHER_get_id , | 68 | .Nm SSL_CIPHER_get_id , |
| 68 | .Nm SSL_CIPHER_description | 69 | .Nm SSL_CIPHER_description |
| 69 | .Nd get SSL_CIPHER properties | 70 | .Nd get SSL_CIPHER properties |
| @@ -85,6 +86,8 @@ | |||
| 85 | .Fn SSL_CIPHER_get_auth_nid "const SSL_CIPHER *cipher" | 86 | .Fn SSL_CIPHER_get_auth_nid "const SSL_CIPHER *cipher" |
| 86 | .Ft int | 87 | .Ft int |
| 87 | .Fn SSL_CIPHER_is_aead "const SSL_CIPHER *cipher" | 88 | .Fn SSL_CIPHER_is_aead "const SSL_CIPHER *cipher" |
| 89 | .Ft const SSL_CIPHER * | ||
| 90 | .Fn SSL_CIPHER_find "SSL *ssl" "const unsigned char *ptr" | ||
| 88 | .Ft unsigned long | 91 | .Ft unsigned long |
| 89 | .Fn SSL_CIPHER_get_id "const SSL_CIPHER *cipher" | 92 | .Fn SSL_CIPHER_get_id "const SSL_CIPHER *cipher" |
| 90 | .Ft char * | 93 | .Ft char * |
| @@ -157,6 +160,20 @@ returns 1 if the | |||
| 157 | .Fa cipher | 160 | .Fa cipher |
| 158 | is AEAD (e.g. GCM or ChaCha20/Poly1305), or 0 if it is not AEAD. | 161 | is AEAD (e.g. GCM or ChaCha20/Poly1305), or 0 if it is not AEAD. |
| 159 | .Pp | 162 | .Pp |
| 163 | .Fn SSL_CIPHER_find | ||
| 164 | returns a pointer to a | ||
| 165 | .Vt SSL_CIPHER | ||
| 166 | structure which has the cipher ID specified in | ||
| 167 | .Fa ptr . | ||
| 168 | The | ||
| 169 | .Fa ptr | ||
| 170 | parameter is an array of length two which stores the two-byte | ||
| 171 | TLS cipher ID (as allocated by IANA) in network byte order. | ||
| 172 | .Fa SSL_CIPHER_find | ||
| 173 | returns | ||
| 174 | .Dv NULL | ||
| 175 | if an error occurs or the indicated cipher is not found. | ||
| 176 | .Pp | ||
| 160 | .Fn SSL_CIPHER_get_id | 177 | .Fn SSL_CIPHER_get_id |
| 161 | returns the ID of the given | 178 | returns the ID of the given |
| 162 | .Fa cipher , | 179 | .Fa cipher , |
| @@ -296,6 +313,13 @@ returns 1 if the | |||
| 296 | .Fa cipher | 313 | .Fa cipher |
| 297 | is AEAD or 0 otherwise. | 314 | is AEAD or 0 otherwise. |
| 298 | .Pp | 315 | .Pp |
| 316 | .Fn SSL_CIPHER_find | ||
| 317 | returns a pointer to a valid | ||
| 318 | .Vt SSL_CIPHER | ||
| 319 | structure or | ||
| 320 | .Dv NULL | ||
| 321 | if an error occurred. | ||
| 322 | .Pp | ||
| 299 | .Fn SSL_CIPHER_get_id | 323 | .Fn SSL_CIPHER_get_id |
| 300 | returns a 32-bit unsigned integer. | 324 | returns a 32-bit unsigned integer. |
| 301 | .Pp | 325 | .Pp |
| @@ -342,6 +366,9 @@ and | |||
| 342 | .Fn SSL_CIPHER_is_aead | 366 | .Fn SSL_CIPHER_is_aead |
| 343 | first appeared in OpenSSL 1.1.0 and have been available since | 367 | first appeared in OpenSSL 1.1.0 and have been available since |
| 344 | .Ox 6.3 . | 368 | .Ox 6.3 . |
| 369 | .Fn SSL_CIPHER_find | ||
| 370 | first appeared in OpenSSL 1.1.0 and has been available since | ||
| 371 | .Ox 7.0 . | ||
| 345 | .Sh BUGS | 372 | .Sh BUGS |
| 346 | If | 373 | If |
| 347 | .Fn SSL_CIPHER_description | 374 | .Fn SSL_CIPHER_description |
