Ticket #31322: patch-bn_internal.pod.diff
File patch-bn_internal.pod.diff, 1.6 KB (added by ak.ml@…, 13 years ago) |
---|
-
doc/crypto/bn_internal.pod
old new 8 8 bn_mul_low_normal, bn_mul_recursive, bn_mul_part_recursive, 9 9 bn_mul_low_recursive, bn_mul_high, bn_sqr_normal, bn_sqr_recursive, 10 10 bn_expand, bn_wexpand, bn_expand2, bn_fix_top, bn_check_top, 11 bn_ print, bn_dump, bn_set_max, bn_set_high, bn_set_low - BIGNUM11 bn_dump, bn_set_max, bn_set_high, bn_set_low - BIGNUM 12 12 library internal functions 13 13 14 14 =head1 SYNOPSIS … … 57 57 void bn_fix_top(BIGNUM *a); 58 58 59 59 void bn_check_top(BIGNUM *a); 60 void bn_print(BIGNUM *a);61 60 void bn_dump(BN_ULONG *d, int n); 62 61 void bn_set_max(BIGNUM *a); 63 62 void bn_set_high(BIGNUM *r, BIGNUM *a, int n); … … 221 220 bn_check_top() verifies that C<((a)-E<gt>top E<gt>= 0 && (a)-E<gt>top 222 221 E<lt>= (a)-E<gt>dmax)>. A violation will cause the program to abort. 223 222 224 bn_ print() prints B<a> to stderr. bn_dump() prints B<n> words at B<d>223 bn_dump() prints B<n> words at B<d> 225 224 (in reverse order, i.e. most significant word first) to stderr. 226 225 227 226 bn_set_max() makes B<a> a static number with a B<dmax> of its current size. 228 227 This is used by bn_set_low() and bn_set_high() to make B<r> a read-only 229 228 B<BIGNUM> that contains the B<n> low or high words of B<a>. 230 229 231 If B<BN_DEBUG> is not defined, bn_check_top(), bn_ print(), bn_dump()230 If B<BN_DEBUG> is not defined, bn_check_top(), bn_dump() 232 231 and bn_set_max() are defined as empty macros. 233 232 234 233 =head1 SEE ALSO