summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/doc/crypto/bn_internal.pod
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/doc/crypto/bn_internal.pod')
-rw-r--r--src/lib/libssl/src/doc/crypto/bn_internal.pod19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/lib/libssl/src/doc/crypto/bn_internal.pod b/src/lib/libssl/src/doc/crypto/bn_internal.pod
index 8da244aed4..d6f3cfe2ee 100644
--- a/src/lib/libssl/src/doc/crypto/bn_internal.pod
+++ b/src/lib/libssl/src/doc/crypto/bn_internal.pod
@@ -34,9 +34,9 @@ library internal functions
34 int nb); 34 int nb);
35 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n); 35 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n);
36 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, 36 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2,
37 BN_ULONG *tmp); 37 int dna,int dnb,BN_ULONG *tmp);
38 void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, 38 void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b,
39 int tn, int n, BN_ULONG *tmp); 39 int n, int tna,int tnb, BN_ULONG *tmp);
40 void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, 40 void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b,
41 int n2, BN_ULONG *tmp); 41 int n2, BN_ULONG *tmp);
42 void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l, 42 void bn_mul_high(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, BN_ULONG *l,
@@ -152,14 +152,15 @@ bn_mul_low_normal(B<r>, B<a>, B<b>, B<n>) operates on the B<n> word
152arrays B<r>, B<a> and B<b>. It computes the B<n> low words of 152arrays B<r>, B<a> and B<b>. It computes the B<n> low words of
153B<a>*B<b> and places the result in B<r>. 153B<a>*B<b> and places the result in B<r>.
154 154
155bn_mul_recursive(B<r>, B<a>, B<b>, B<n2>, B<t>) operates on the B<n2> 155bn_mul_recursive(B<r>, B<a>, B<b>, B<n2>, B<dna>, B<dnb>, B<t>) operates
156word arrays B<a> and B<b> and the 2*B<n2> word arrays B<r> and B<t>. 156on the word arrays B<a> and B<b> of length B<n2>+B<dna> and B<n2>+B<dnb>
157B<n2> must be a power of 2. It computes B<a>*B<b> and places the 157(B<dna> and B<dnb> are currently allowed to be 0 or negative) and the 2*B<n2>
158result in B<r>. 158word arrays B<r> and B<t>. B<n2> must be a power of 2. It computes
159B<a>*B<b> and places the result in B<r>.
159 160
160bn_mul_part_recursive(B<r>, B<a>, B<b>, B<tn>, B<n>, B<tmp>) operates 161bn_mul_part_recursive(B<r>, B<a>, B<b>, B<n>, B<tna>, B<tnb, B<tmp>)
161on the B<n>+B<tn> word arrays B<a> and B<b> and the 4*B<n> word arrays 162operates on the word arrays B<a> and B<b> of length B<n>+B<tna> and
162B<r> and B<tmp>. 163B<n>+B<tnb> and the 4*B<n> word arrays B<r> and B<tmp>.
163 164
164bn_mul_low_recursive(B<r>, B<a>, B<b>, B<n2>, B<tmp>) operates on the 165bn_mul_low_recursive(B<r>, B<a>, B<b>, B<n2>, B<tmp>) operates on the
165B<n2> word arrays B<r> and B<tmp> and the B<n2>/2 word arrays B<a> 166B<n2> word arrays B<r> and B<tmp> and the B<n2>/2 word arrays B<a>