Test whether bit n of a BIGNUM is set.
Synopsis
Declared in <openssl/bn.h>
int
BN_is_bit_set(
BIGNUM const* a,
int n);
Return Value
1 if the bit is set, or 0 otherwise.
Parameters
Name |
Description |
a |
Value to test. |
n |
Bit index (0 is the least‐significant bit). |
Created with MrDocs