[#SSL_CIPHER_get_bits] = SSL_CIPHER_get_bits :mrdocs: Return the number of secret bits used by a cipher suite. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CIPHER_get_bits( xref:SSL_CIPHER.adoc[SSL_CIPHER] const* c, int* alg_bits); ---- == Return Value Number of secret bits, or 0 if `c` is NULL. == Parameters [cols="1,4"] |=== | Name| Description | *c* | Cipher suite to query; NULL yields 0. | *alg_bits* | Optional; when non‐NULL, receives the algorithm bit strength. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#