projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo.
[oweals/openssl.git]
/
doc
/
crypto
/
BN_set_bit.pod
diff --git
a/doc/crypto/BN_set_bit.pod
b/doc/crypto/BN_set_bit.pod
index fd887ecd899c3f15176f91ee46bd30d7f96be7f6..b7c47b9b01583e2fd33a4a2e503c6e9f8e1d4cba 100644
(file)
--- 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,
=head1 NAME
BN_set_bit, BN_clear_bit, BN_is_bit_set, BN_mask_bits, BN_lshift,
-BN_lshift1, BN_rshift, BN_rshift1 -
B
it operations on BIGNUMs
+BN_lshift1, BN_rshift, BN_rshift1 -
b
it operations on BIGNUMs
=head1 SYNOPSIS
=head1 SYNOPSIS
@@
-28,12
+28,12
@@
BN_set_bit() sets bit B<n> in B<a> to 1 (C<a|=(1E<lt>E<lt>n)>). The
number is expanded if necessary.
BN_clear_bit() sets bit B<n> in B<a> to 0 (C<a&=~(1E<lt>E<lt>n)>). An
number is expanded if necessary.
BN_clear_bit() sets bit B<n> in B<a> to 0 (C<a&=~(1E<lt>E<lt>n)>). An
-error occurs i
t
B<a> is shorter than B<n> bits.
+error occurs i
f
B<a> is shorter than B<n> bits.
BN_is_bit_set() tests if bit B<n> in B<a> is set.
BN_mask_bits() truncates B<a> to an B<n> bit number
BN_is_bit_set() tests if bit B<n> in B<a> is set.
BN_mask_bits() truncates B<a> to an B<n> bit number
-(C<a&=~((~0)E<gt>E<gt>n)>). An error occurs i
t
B<a> already is
+(C<a&=~((~0)E<gt>E<gt>n)>). An error occurs i
f
B<a> already is
shorter than B<n> bits.
BN_lshift() shifts B<a> left by B<n> bits and places the result in
shorter than B<n> bits.
BN_lshift() shifts B<a> left by B<n> bits and places the result in
@@
-44,6
+44,8
@@
BN_rshift() shifts B<a> right by B<n> bits and places the result in
B<r> (C<r=a/2^n>). BN_rshift1() shifts B<a> right by one and places
the result in B<r> (C<r=a/2>).
B<r> (C<r=a/2^n>). BN_rshift1() shifts B<a> right by one and places
the result in B<r> (C<r=a/2>).
+For the shift functions, B<r> and B<a> may be the same variable.
+
=head1 RETURN VALUES
BN_is_bit_set() returns 1 if the bit is set, 0 otherwise.
=head1 RETURN VALUES
BN_is_bit_set() returns 1 if the bit is set, 0 otherwise.