From 9a59d14474b61dbb4c08582ba73758df9c858d42 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Thu, 8 Sep 2022 16:10:57 +0300 Subject: [PATCH] Add `openssl_cipher_key_length` description --- .../functions/openssl-cipher-key-length.xml | 90 +++++++++++++++++++ reference/openssl/versions.xml | 1 + 2 files changed, 91 insertions(+) create mode 100644 reference/openssl/functions/openssl-cipher-key-length.xml diff --git a/reference/openssl/functions/openssl-cipher-key-length.xml b/reference/openssl/functions/openssl-cipher-key-length.xml new file mode 100644 index 000000000000..c1719f1cf89c --- /dev/null +++ b/reference/openssl/functions/openssl-cipher-key-length.xml @@ -0,0 +1,90 @@ + + + + v + Gets the cipher key length + + + + &reftitle.description; + + intfalseopenssl_cipher_key_length + stringcipher_algo + + + Gets the cipher key length. + + + + + &reftitle.parameters; + + + cipher_algo + + + The cipher method, see openssl_get_cipher_methods for a list of potential values. + + + + + + + + &reftitle.returnvalues; + + Returns the cipher length on success, &return.falseforfailure;. + + + + + &reftitle.errors; + + Emits an E_WARNING level error when the cipher algorithm + is unknown. + + + + + &reftitle.examples; + + <function>openssl_cipher_key_length</function> example + + +]]> + + &example.outputs.similar; + + + + + + + + diff --git a/reference/openssl/versions.xml b/reference/openssl/versions.xml index 38b18dbb0a1a..451175272097 100644 --- a/reference/openssl/versions.xml +++ b/reference/openssl/versions.xml @@ -5,6 +5,7 @@ --> +