summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2016-02-05 19:29:55 -0800
committermischief <mischief@offblast.org>2016-02-05 19:29:55 -0800
commitad637845a8635dd0da6236575e7a31505e775b00 (patch)
tree41838482d7d487315d5446014b3a102639a2d9c0 /sys
parentf1254da64de2c728a59380644c23e9ce1a4f4351 (diff)
libmp: remove include of libsec.h
Diffstat (limited to 'sys')
-rw-r--r--sys/src/libmp/bigtest.c1
-rw-r--r--sys/src/libmp/port/crt.c1
-rw-r--r--sys/src/libmp/port/crttest.c1
-rw-r--r--sys/src/libmp/port/mpfactorial.c1
-rw-r--r--sys/src/libmp/port/mpfmt.c1
-rw-r--r--sys/src/libmp/port/mpnrand.c1
-rw-r--r--sys/src/libmp/port/mprand.c1
-rw-r--r--sys/src/libmp/port/strtomp.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/libmp/bigtest.c b/sys/src/libmp/bigtest.c
index 92806c198..3ae6668d8 100644
--- a/sys/src/libmp/bigtest.c
+++ b/sys/src/libmp/bigtest.c
@@ -1,7 +1,6 @@
#include <u.h>
#include <libc.h>
#include <mp.h>
-#include <libsec.h>
char *sfactors[] =
{ "3", "5", "17", "257", "641", "65537", "274177", "2424833", "6700417", "45592577",
diff --git a/sys/src/libmp/port/crt.c b/sys/src/libmp/port/crt.c
index ddf26ed57..a98fef53a 100644
--- a/sys/src/libmp/port/crt.c
+++ b/sys/src/libmp/port/crt.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
// chinese remainder theorem
//
diff --git a/sys/src/libmp/port/crttest.c b/sys/src/libmp/port/crttest.c
index ef3d18e1f..adf4bca33 100644
--- a/sys/src/libmp/port/crttest.c
+++ b/sys/src/libmp/port/crttest.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
void
testcrt(mpint **p)
diff --git a/sys/src/libmp/port/mpfactorial.c b/sys/src/libmp/port/mpfactorial.c
index 01079c44b..33a74592f 100644
--- a/sys/src/libmp/port/mpfactorial.c
+++ b/sys/src/libmp/port/mpfactorial.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
mpint*
diff --git a/sys/src/libmp/port/mpfmt.c b/sys/src/libmp/port/mpfmt.c
index 8f9e5502d..837f6f87a 100644
--- a/sys/src/libmp/port/mpfmt.c
+++ b/sys/src/libmp/port/mpfmt.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
static int
diff --git a/sys/src/libmp/port/mpnrand.c b/sys/src/libmp/port/mpnrand.c
index ebbed5097..aa6a1e273 100644
--- a/sys/src/libmp/port/mpnrand.c
+++ b/sys/src/libmp/port/mpnrand.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
/* return uniform random [0..n-1] */
diff --git a/sys/src/libmp/port/mprand.c b/sys/src/libmp/port/mprand.c
index 29433b669..a05586cf5 100644
--- a/sys/src/libmp/port/mprand.c
+++ b/sys/src/libmp/port/mprand.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
mpint*
diff --git a/sys/src/libmp/port/strtomp.c b/sys/src/libmp/port/strtomp.c
index 78c38fe86..255e6a583 100644
--- a/sys/src/libmp/port/strtomp.c
+++ b/sys/src/libmp/port/strtomp.c
@@ -1,6 +1,5 @@
#include "os.h"
#include <mp.h>
-#include <libsec.h>
#include "dat.h"
static struct {