Better document BN_ULONG (in the DESCRIPTION near BN_num_bits_word(3))
authorschwarze <schwarze@openbsd.org>
Tue, 22 Nov 2022 18:55:04 +0000 (18:55 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 22 Nov 2022 18:55:04 +0000 (18:55 +0000)
commit3a9f61673cd8d1f849efda71dca513ff39c0523c
treef8716d8ba76f0425be3defcb44a14b9b703c2ad3
parentfb22f12801619dbe136c99bfc1a52b1c6cd0d78f
Better document BN_ULONG (in the DESCRIPTION near BN_num_bits_word(3))
and BN_BITS2 (below RETURN VALUES).

While here, perform major reordering and rewriting
for precision and readability, in particular:
- Avoid misleading wordings like "size of a BIGNUM".
- Drop the trivial example.
- Move the pointers to RSA_size(3) and friends to CAVEATS.
- Stop recommending 8*BN_num_bytes() in this context because it is wrong, too.
lib/libcrypto/man/BN_num_bytes.3