[#BN_is_bit_set] = BN_is_bit_set :mrdocs: Test whether bit `n` of a BIGNUM is set. == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BN_is_bit_set( xref:BIGNUM.adoc[BIGNUM] const* a, int n); ---- == Return Value 1 if the bit is set, or 0 otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *a* | Value to test. | *n* | Bit index (0 is the least‐significant bit). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#