[#SSL_CIPHER_get_bits]
= SSL&lowbar;CIPHER&lowbar;get&lowbar;bits
:mrdocs:

Return the number of secret bits used by a cipher suite&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CIPHER&lowbar;get&lowbar;bits(
    xref:SSL_CIPHER.adoc[SSL&lowbar;CIPHER] const* c,
    int* alg&lowbar;bits);
----

== Return Value

Number of secret bits, or 0 if `c` is NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| Cipher suite to query&semi; NULL yields 0&period;
| *alg&lowbar;bits*
| Optional&semi; when non&hyphen;NULL, receives the algorithm bit strength&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
