summaryrefslogtreecommitdiff
path: root/src/libbiguint/bu_invmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libbiguint/bu_invmod.c')
-rw-r--r--src/libbiguint/bu_invmod.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libbiguint/bu_invmod.c b/src/libbiguint/bu_invmod.c
deleted file mode 100644
index f9ae9e2..0000000
--- a/src/libbiguint/bu_invmod.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* ISC license. */
-
-#include <skalibs/biguint.h>
-
-/* x^-1 mod m. */
-
-int bu_invmod (uint32_t *x, unsigned int xn, uint32_t const *m, unsigned int mn)
-{
- uint32_t const one = 1 ;
- return bu_divmod(x, xn, &one, 1, x, xn, m, mn) ;
-}