X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2Fbn_internal.pod;h=8da244aed47ce3ba08cb4814b9e1b7c93213cafb;hb=37fc8c3747b01bc13592de5ec1f2ff3399f52b42;hp=139bff7a1a6ed3b6b9cb2019952380cbbd1c87db;hpb=47f87f536a1b290429c900b711b5423facdd8d62;p=oweals%2Fopenssl.git diff --git a/doc/crypto/bn_internal.pod b/doc/crypto/bn_internal.pod index 139bff7a1a..8da244aed4 100644 --- a/doc/crypto/bn_internal.pod +++ b/doc/crypto/bn_internal.pod @@ -149,7 +149,7 @@ word array B, the B word array B and the B+B word array B. It computes B*B and places the result in B. bn_mul_low_normal(B, B, B, B) operates on the B word -arrays B, B und B. It computes the B low words of +arrays B, B and B. It computes the B low words of B*B and places the result in B. bn_mul_recursive(B, B, B, B, B) operates on the B @@ -200,12 +200,12 @@ B word number. If the number has to be expanded, both macros call bn_expand2(), which allocates a new B array and copies the data. They return B on error, B otherwise. -The bn_fix_top() macro reduces Btop> to most significant -non-zero word when B has shrunk. +The bn_fix_top() macro reduces Btop> to point to the most +significant non-zero word when B has shrunk. =head2 Debugging -bn_check_top() verifies that C<((a)->top E= 0 && (a)-Etop +bn_check_top() verifies that C<((a)-Etop E= 0 && (a)-Etop E= (a)-Emax)>. A violation will cause the program to abort. bn_print() prints B to stderr. bn_dump() prints B words at B @@ -213,7 +213,7 @@ bn_print() prints B to stderr. bn_dump() prints B words at B bn_set_max() makes B a static number with a B of its current size. This is used by bn_set_low() and bn_set_high() to make B a read-only -B that contains the B lower or higher words of B. +B that contains the B low or high words of B. If B is not defined, bn_check_top(), bn_print(), bn_dump() and bn_set_max() are defined as empty macros.