ref: f8bbb70debf4dc39855de6ed3172f3a03061caec
parent: fbc3a951e5213792e68dad25ed2f6acac8ae9b68
author: mischief <mischief@offblast.org>
date: Fri Feb 5 14:29:55 EST 2016
libmp: remove include of libsec.h
--- 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",--- 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
//
--- 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)
--- 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*
--- 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
--- 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] */
--- 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*
--- 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 {--
⑨