Clarify the documentation for |BN_is_bit_set|.
Change-Id: Ic859f19edff281334bd6975dd3c3b2931c901021 Reviewed-on: https://boringssl-review.googlesource.com/23044 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
e6f30e4ce1
commit
74b828f263
@ -487,8 +487,8 @@ OPENSSL_EXPORT int BN_set_bit(BIGNUM *a, int n);
|
||||
// zero on allocation failure.
|
||||
OPENSSL_EXPORT int BN_clear_bit(BIGNUM *a, int n);
|
||||
|
||||
// BN_is_bit_set returns the value of the |n|th, least-significant bit in |a|,
|
||||
// or zero if the bit doesn't exist.
|
||||
// BN_is_bit_set returns one if the |n|th least-significant bit in |a| exists
|
||||
// and is set. Otherwise, it returns zero.
|
||||
OPENSSL_EXPORT int BN_is_bit_set(const BIGNUM *a, int n);
|
||||
|
||||
// BN_mask_bits truncates |a| so that it is only |n| bits long. It returns one
|
||||
|
||||
Loading…
Reference in New Issue
Block a user