Skip to content

Commit b26bd50

Browse files
nijtmanssjaeckel
authored andcommitted
Fix some comments
1 parent 5a0c39f commit b26bd50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mp_mul.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mp_err mp_mul(const mp_int *a, const mp_int *b, mp_int *c)
1717
* The bigger one needs to be at least about one MP_KARATSUBA_MUL_CUTOFF bigger
1818
* to make some sense, but it depends on architecture, OS, position of the
1919
* stars... so YMMV.
20-
* Using it to cut the input into slices small enough for fast_s_mp_mul_digs
20+
* Using it to cut the input into slices small enough for s_mp_mul_digs_fast
2121
* was actually slower on the author's machine, but YMMV.
2222
*/
2323
(min_len >= MP_KARATSUBA_MUL_CUTOFF) &&

s_mp_mul_high_digs_fast.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
44
/* SPDX-License-Identifier: Unlicense */
55

6-
/* this is a modified version of fast_s_mul_digs that only produces
7-
* output digits *above* digs. See the comments for fast_s_mul_digs
6+
/* this is a modified version of s_mp_mul_digs_fast that only produces
7+
* output digits *above* digs. See the comments for s_mp_mul_digs_fast
88
* to see how it works.
99
*
1010
* This is used in the Barrett reduction since for one of the multiplications

0 commit comments

Comments
 (0)