summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libbiguint/bu_div_internal.c1
-rw-r--r--src/libbiguint/bu_divmod_internal.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libbiguint/bu_div_internal.c b/src/libbiguint/bu_div_internal.c
index 20fb5ef..0765a99 100644
--- a/src/libbiguint/bu_div_internal.c
+++ b/src/libbiguint/bu_div_internal.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <errno.h>
#include <skalibs/biguint.h>
/*
diff --git a/src/libbiguint/bu_divmod_internal.c b/src/libbiguint/bu_divmod_internal.c
index 13d3583..afb8ccc 100644
--- a/src/libbiguint/bu_divmod_internal.c
+++ b/src/libbiguint/bu_divmod_internal.c
@@ -5,7 +5,7 @@
/*
u = u/a mod m. a and m must be relatively prime - otherwise, infinite loop.
a is not immutable.
- Original idea: see http://research.sun.com/techrep/2001/abstract-95.html
+ Original idea by Sheueling Chang Shantz of Sun Research.
*/
void bu_divmod_internal (uint32_t *u, uint32_t *a, uint32_t const *m, unsigned int n)