X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2FBN_set_bit.pod;h=b7c47b9b01583e2fd33a4a2e503c6e9f8e1d4cba;hb=bace21247493eb38870d2585f0e643bdc550f60a;hp=fd887ecd899c3f15176f91ee46bd30d7f96be7f6;hpb=e93f9a3284c799bb851afaeddd56ed502ba189b6;p=oweals%2Fopenssl.git diff --git a/doc/crypto/BN_set_bit.pod b/doc/crypto/BN_set_bit.pod index fd887ecd89..b7c47b9b01 100644 --- a/doc/crypto/BN_set_bit.pod +++ b/doc/crypto/BN_set_bit.pod @@ -3,7 +3,7 @@ =head1 NAME BN_set_bit, BN_clear_bit, BN_is_bit_set, BN_mask_bits, BN_lshift, -BN_lshift1, BN_rshift, BN_rshift1 - Bit operations on BIGNUMs +BN_lshift1, BN_rshift, BN_rshift1 - bit operations on BIGNUMs =head1 SYNOPSIS @@ -28,12 +28,12 @@ BN_set_bit() sets bit B in B to 1 (CEn)>). The number is expanded if necessary. BN_clear_bit() sets bit B in B to 0 (CEn)>). An -error occurs it B is shorter than B bits. +error occurs if B is shorter than B bits. BN_is_bit_set() tests if bit B in B is set. BN_mask_bits() truncates B to an B bit number -(CEn)>). An error occurs it B already is +(CEn)>). An error occurs if B already is shorter than B bits. BN_lshift() shifts B left by B bits and places the result in @@ -44,6 +44,8 @@ BN_rshift() shifts B right by B bits and places the result in B (C). BN_rshift1() shifts B right by one and places the result in B (C). +For the shift functions, B and B may be the same variable. + =head1 RETURN VALUES BN_is_bit_set() returns 1 if the bit is set, 0 otherwise.