diff options
Diffstat (limited to 'src/lib/libssl/src/doc/crypto/bn_internal.pod')
-rw-r--r-- | src/lib/libssl/src/doc/crypto/bn_internal.pod | 19 |
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 | |||
152 | arrays B<r>, B<a> and B<b>. It computes the B<n> low words of | 152 | arrays B<r>, B<a> and B<b>. It computes the B<n> low words of |
153 | B<a>*B<b> and places the result in B<r>. | 153 | B<a>*B<b> and places the result in B<r>. |
154 | 154 | ||
155 | bn_mul_recursive(B<r>, B<a>, B<b>, B<n2>, B<t>) operates on the B<n2> | 155 | bn_mul_recursive(B<r>, B<a>, B<b>, B<n2>, B<dna>, B<dnb>, B<t>) operates |
156 | word arrays B<a> and B<b> and the 2*B<n2> word arrays B<r> and B<t>. | 156 | on the word arrays B<a> and B<b> of length B<n2>+B<dna> and B<n2>+B<dnb> |
157 | B<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> |
158 | result in B<r>. | 158 | word arrays B<r> and B<t>. B<n2> must be a power of 2. It computes |
159 | B<a>*B<b> and places the result in B<r>. | ||
159 | 160 | ||
160 | bn_mul_part_recursive(B<r>, B<a>, B<b>, B<tn>, B<n>, B<tmp>) operates | 161 | bn_mul_part_recursive(B<r>, B<a>, B<b>, B<n>, B<tna>, B<tnb, B<tmp>) |
161 | on the B<n>+B<tn> word arrays B<a> and B<b> and the 4*B<n> word arrays | 162 | operates on the word arrays B<a> and B<b> of length B<n>+B<tna> and |
162 | B<r> and B<tmp>. | 163 | B<n>+B<tnb> and the 4*B<n> word arrays B<r> and B<tmp>. |
163 | 164 | ||
164 | bn_mul_low_recursive(B<r>, B<a>, B<b>, B<n2>, B<tmp>) operates on the | 165 | bn_mul_low_recursive(B<r>, B<a>, B<b>, B<n2>, B<tmp>) operates on the |
165 | B<n2> word arrays B<r> and B<tmp> and the B<n2>/2 word arrays B<a> | 166 | B<n2> word arrays B<r> and B<tmp> and the B<n2>/2 word arrays B<a> |